如果你大量使用 Org mode,待办事项可能会多到需要区分优先级。 设置优先级的方法是在待办事项标题的关键字后插入 优先级标记(priority cookie) ,示例:
If you use Org mode extensively, you may end up with enough TODO items that it starts to make sense to prioritize them. Prioritizing can be done by placing a priority cookie into the headline of a TODO item right after the TODO keyword, like this:
*** TODO [#A] Write letter to Sam Fortune
默认情况下,Org mode 支持三种优先级: ‘A’ 、 ‘B’ 、 ‘C’ 。
‘A’ 为最高优先级。无标记的条目按优先级 ‘B’ 处理。
优先级仅对议程中的排序生效(参见 Weekly/daily agenda),
在议程之外对 Org mode 无固有含义。
优先级标记会使用变量 org-priority-faces 定义的文本的视觉样式显示,该变量可自定义。
你也可以使用数字表示优先级,例如:
*** TODO [#1] Write letter to Sam Fortune
使用数字优先级时,需要将 org-priority-highest 、 org-priority-lowest
和 org-priority-default 设为整数,且均为 0 到 64 之间的非负整数。
优先级可附加到任意标题,不必是待办事项。
org-priority) ¶设置当前标题的优先级。命令会提示输入优先级字符 ‘A’ 、 ‘B’ 或 ‘C’ 。 若按下 SPC,则移除标题中的优先级标记(如有)。 也可在议程框架中通过 , 命令 “远程(remotely)” 修改优先级(参见 Commands in the Agenda Buffer)。
org-priority-up) ¶org-priority-down)提升/降低当前标题的优先级47。 注意这些按键也用于修改时间戳(参见 Creating Timestamps)。 关于与 Shift 选择功能的冲突说明,参见 Packages that conflict with Org mode。
你可以通过设置变量 org-priority-highest 、 org-priority-lowest
和 org-priority-default 修改允许的优先级范围。
合法的优先级值为单个大写拉丁字母 A-Z,以及 0 到 64 之间的非负整数。
对于单个缓冲区,可按如下方式设置这些值(最高、最低、默认)
(请确保最高优先级在字母顺序上早于最低优先级):
#+PRIORITIES: A C B
或使用数字:
#+PRIORITIES: 1 10 5