

org module之org-id
source link: https://www.lujun9972.win/blog/2020/02/10/org-module%E4%B9%8Borg-id/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

org module之org-id
org-id为每个Org项实现了生成/获取/查找全局唯一性标识的功能,该标识通常存储在 :ID:
属性中。
标识符可以使用同一个前缀(该前缀由变量 org-id-prefix
指定,nil表示没有前缀)
后面的唯一性部分的产生方式则由变量 org-id-method
决定.
目前org-id支持的生成唯一性表示的方法有三个:
org使用内置方法,根据生成ID的当前时间(精确到毫秒)和电脑的域名(若设置了变量org-id-include-domain
的话)来生成
uuid使用外部程序(若设置了 org-id-uuid-program
的话),或内部函数创建随机UUID(Version 4)
ts以ISO8601时间戳作为ID,精确到秒
org-id提供了如下命令以供使用:
org-id-get-create为光标处的Org条目创建ID(若ID不存在),并返回其ID. 通过 prefix 参数可以强行创建ID
org-id-get获取当前Org条目的ID
org-id-goto跳转到指定ID的Org条目处
org-id-get-with-outline-path-completion以大纲路径作为补全项,让你选择要获取ID的条目,并返回ID. 该函数支持多个Org文件
org-id-get-with-outline-drilling以大纲路径作为补全项,让你选择要获取ID的条目,并返回ID. 该函数只支持当前Org文件
org-id-find找到指定ID所属条目的位置
Recommend
-
96
Introduction JAQS是一个开源量化策略研究平台,由交易专家和金融技术专家共同设计,实现了自动化信号研究、高效策略开发和多维度回测分析,支持Alpha、CTA、套利等策略的实现。JAQS从实战而来,经实盘检验,本地化开发部署,保障策略安全。
-
58
Org Edna Copying Copyright (C) 2017-2020 Free Software Foundation, Inc. This program is free software: you can redistrib...
-
119
-
631
-
113
Fundamentals of concurrent programming with examples in Go. The tutorial covers concurrency, goroutines, channels, deadlock, data race, timer, ticker, waitgroup, and efficient parallel computation.
-
3
org module之org-feed 该module能让你将RSS feed中的内容保存到Org文件指定的标题下,还是蛮好玩的。 设置 org-feed-alist 从名字上就能看出,这是一个alist,每个entry的格式为 (feed名称 URL 存储的...
-
11
org module之org-num 这个module提供了一个 org-num-mode 为Org的标题进行自动编号(只是通过Overylay显示编号,实际编号并没有写入buffer中). 进入该 mode 会对一级标题编号为 x,二级标题为 ...
-
8
org module之org-w3m 该module主要为 org 增加了 w3m: 链接, 并提供了一个命令 org-w3m-copy-for-org-mode 来将w3m buffer中的选择部分或整个buffer内容都转换成Org格式。 这个命令跟 org-eww-copy-for-o...
-
15
org module之org-eww org module之org-eww org-eww 为 EWW buffer提供了两个可用命令: org-store-link (快捷键为 C-c l)将当前EWW Buffer中的URL存储为Org link形式(title为描述). 随后在Org中使用
-
6
org module之org-toc org-toc可以为当前Org文件生成一个目录,在这个目录中导航可以跳转到相应的Org位置上。 不过鉴于org本来就是个大纲类的模式,所以我觉得这个module意义不大啊。 在带标题的Org文件(没有标题的话会提示错误)中运行
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK