Emacs中org-mode的Agenda功能
Org-mode中的Agenda Views
Agenda view主要指将分布在一个或者多个文件中的下列内容收集起来,以特定的视图展示。
- TODO items
- time-stamped items
- tagged headlines
Agenda views默认提供如下其中view:
- 日历视图,收集特定时期内的内容
An agenda that is like a calendar and shows information for specific dates - 代办视图,收集所有代办事项
A TODO list that covers all unfinished action items. - 匹配视图,根据输入的匹配内容和种类展示标题
A match view, showings headlines based on the tags, properties, and TODO state associated with them. - 时间轴视图,根据时间顺序展示单个org文件中的事项
A timeline view that shows all events in a single org file, in time-sorted view. - 文本搜索视图,略
A text search view that shows all entries from multiple files that contain
specified keywords - 滞后项目视图,略
A stuck projects view showing projects that currently don’t move along. - 自定义视图,可以为上述内容的组合
Custom views are special searches and combinations of different views.
Agenda files - 被提取的文件
org-agenda-files
为被提取的文件列表
可在Emacs启动配置文件中调整该变量。 比如
;; Collect all .org from my Org directory and subdirs
(load-library "find-lisp")
(setq org-agenda-files (find-lisp-find-files "~/MyPath/" "\.org$"))
打开Agenda View (Agenda dispatcher)
C-c a '(org-agenda)
命令打开Agenda dispatcher,然后决定具体进入哪个视图。
C-c a
的快捷键非默认提供,启动配置文件中自己绑定的。
Agenda View可能用到的概念
Priorities of TODOs
*** TODO [#A] Write letter to Sam Fortun
默认支持的Priority只有 ‘A’, ‘B’ 和 ‘C’。未设置的entry默认为 ‘B’。
S-<up>
, S-<down>
可用于设置优先级。
habits (设置周期性代办事项)
为代办事项添加计划时间 SCHEDULED
可以将 property中的 STYLE
的值设置为 habit
。 也可以不设,关键是 SCHEDULED
中时间项的管理。
** TODO Shave
SCHEDULED: <2009-10-17 Sat