写在前面

  • 最近准备学习 R 和 Python 语言,比较了很多编辑器,最终选择了 Emacs,看到知乎上很多大神推荐 Spacemacs,准备用 Spacemacs 编写程序, 同时建立博客,记录学习过程。
  • 首先接触了 Org-mode,用 org-mode 做时间管理,本文简述我用 org-mode 做时间管理的流程以及配置。
  • 在用 org-mode 之前,应该有一些 Spacemacs 及 Org-mode 的使用经验(参见pacemacs KeybindingOrg Mode Manual)。

我的 org-mode 工作流程

建立自己的 GTD 文件

可以参照1, 2,我自己的 org 大纲如下:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#+STARTUP: overview
#+TAGS: INFORMATICS(i) STATISTICS(s) COMPUTER(c) READING(r) PRIVATE(p) EMACS(e) MEETING(m) BLOG(g) LIFE(l)
#+STARTUP: hidestars
* TASKS
:PROPERTIES:
:CATEGORY: Tasks
:END:
# For one tasks
** Spacemacs                                                          :EMACS:
** Org-mode                                                           :EMACS:
** Python                                                       :INFORMATICS:
** R language                                                    :STATISTICS:
** Reading                                                          :READING:
* Calendar
:PROPERTIES:
:CATEGORY: Calendar
:END:
# For appointments
** Daily Tasks
** Inbox
** Quick Notes
** Blog Ideas                                                         :BLOG:
** 2016                                                            :PRIVATE:
* Projects
:PROPERTIES:
:CATEGORY: Projects
:END:
# With each project under it-each having their tasks (and subtasks) benath
* Someday/Maybe
:PROPERTIES:
:CATEGORY: Someday/Maybe
:END:
# For tasks that may be doon at some point
** Computer System                                                :COMPUTER:
*** Tiling window manager
Awesome-Lua/Qtile-Python/i3-C written
* Financial
:PROPERTIES:
:CATEGORY: Financial
:END:
# For all tasks related to money, bills, salart, band and so on.
* Habits
:PROPERTIES:
:CATEGORY: Habits
:ARCHIVE_TIME: 2016-01-06 Wed 00:11
:ARCHIVE_FILE: ~/Emacs-lengyue/GTD-lengyue/GTD-lengyue.org
:ARCHIVE_CATEGORY: Habits
:END:
# For all the recurring tasks I want to keep to doing, and track with org-habit model.
, ** Myself habits                                                   :PRIVATE:
, *** Exercise
**** TODO First for six-pack abs
** GTD refile                                                      :PRIVATE:
*** TODO The Schedule of Monthly
SCHEDULED: <2016-03-01 Tue 22:00 +1m>
:PROPERTIES:
:LAST_REPEAT: [2016-02-16 Tue 00:13]
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2016-02-16 Tue 00:13]
:END:
*** TODO Review Monthly
SCHEDULED: <2016-03-02 Wed 22:10 +1m>
:PROPERTIES:
:LAST_REPEAT: [2016-01-31 Sun 23:40]
:END:
:LOGBOOK:
- State "CANCELLED"  from "TODO"       [2016-01-31 Sun 23:40]
:END:
*** TODO Review Weekly
:LOGBOOK:
- State "DONE"       from "TODO"       [2016-02-21 Sun 21:56]
- State "CANCELLED"  from "TODO"       [2016-02-14 Sun 20:42]
- State "CANCELLED"  from "TODO"       [2016-02-11 Thu 09:59]
- State "CANCELLED"  from "TODO"       [2016-01-31 Sun 23:40]
- State "CANCELLED"  from "TODO"       [2016-01-25 Mon 22:20]
- State "CANCELLED"  from "TODO"       [2016-01-13 Wed 20:34]
- State "CANCELLED"  from "TODO"       [2016-01-13 Wed 20:34]
CLOCK: [2016-01-04 Mon 23:03]--[2016-01-05 Tue 20:34] => 21:31
- State "CANCELLED"  from "TODO"       [2016-01-04 Mon 22:41]
:END:
  • TASKS 用于记录阶段性学习计划与生活计划
  • Calendar 每天计划,博客,日常收集资料等
  • Projects 大的项目
  • Someday/Maybe 可能未来要做的事情
  • Financial 与 money 相关的东西
  • Habits 自己的习惯:如锻炼,每月的习惯,重要的节日等等

设置每个任务的状态,tags 和 priorities

设置任务状态,我用以下 todo tiems,参考3

1
2
3
4
(sequence "TODO(t)" "NEXT(n)" "|"  "DONE(d)")
(sequence "WAITING(w@/!)" "SOMEDAY(s)" "|" "HOLD(h@/!)" "CANCELLED(c@/!)")
(sequence "INBOX(i)" "|" "NOTE(e)" "PHONE(p)" "MEETING(m)")
(sequence "REPORT(r)" "BUG(b)" "KNOWNCAUSE(k)" "|" "FIXED(f)")
  • 每个 TODO 任务有 TODO 和 DONE 两种状态,NEXT 只出现在 Project 中
  • WAITING 适用于暂停一段时间的任务,SOMEDAY 是未来某一天会安排的工做
  • HOLD 定义为原来计划做的已经 SCHELUDE 的 TODO 工作,由于某种原因以后再做,防止其在 Agenda 中出现
  • CANCELLED 是取消的任务
  • INBOX 是收集的资料,待整理的东西,每周 refile,而 NOTE 是即兴想法:头脑风暴
  • PHONE 和 MEETING 是记录完成事件

设置任务时间,计划和截止时间

详情可见4

执行计划,必要时记录每个任务的时间

周回顾