emacs org-agenda - 缺少任务的所有日常详细信息

时间:2018-03-23 05:35:09

标签: emacs org-mode

对于emacs25(ubuntu 17.10上的emacs 25.2.2),我无法使 org-agenda-list 正常工作。 org-timeline 每天向我显示详细信息,但 org-agenda-list 仅列出日期的名称,并且没有列出详细信息。

我有以下.emacs(简化为一行来追踪为什么org-agenda不起作用 - 我知道emacs相当不错,但我是org-mode的第一次用户)

(global-set-key "\C-ca" 'org-agenda)

以及一个空的.emacs.d目录,当我为以下示例运行 org-agenda-list 时:

* Tasks
** DONE [#A] do this y'day
SCHEDULED: <2018-03-22 Thu>
** TODO [#A] do this tomorrow
SCHEDULED: <2018-03-24 Sat>
** TODO [#A] this task is not scheduled
** TODO [#B] scheduled for today, priority B
SCHEDULED: <2018-03-23 Fri>
** IN PROGRESS [#A] scheduled today and deadline in 2 days
DEADLINE: <2018-03-25 Sun> SCHEDULED: <2018-03-23 Fri>
** TODO [#A] deadline in 2 days and not scheduled
DEADLINE: <2018-03-25 Sun>
** TODO [#A] scheduled for monday
SCHEDULED: <2018-03-29 Thu>
** TODO [#C] do this today if I get time
SCHEDULED: <2018-03-23 Fri>
** TODO [#B] neither is this one
** TODO [#C] or this one
** TODO [#A] deadline in 10 days and not scheduled
DEADLINE: <2018-03-31 Sat>

我只看到周参赛作品,但缺少日常任务的所有细节

Week-agenda (W12):
Monday     19 March 2018 W12
Tuesday    20 March 2018
Wednesday  21 March 2018
Thursday   22 March 2018
Friday     23 March 2018
Saturday   24 March 2018
Sunday     25 March 2018

org-timeline 在哪里向我显示日常任务的详细信息

Thursday   22 March 2018
  Scheduled:  DONE [#A] do this y'day
-------------------------------------------------------------------------------
Friday     23 March 2018
  Scheduled:  IN PROGRESS [#A] scheduled today and deadline in 2 days
  Scheduled:  TODO [#B] scheduled for today, priority B
  Scheduled:  TODO [#C] do this today if I get time
Saturday   24 March 2018
  Scheduled:  TODO [#A] do this tomorrow
Sunday     25 March 2018
  Deadline:   IN PROGRESS [#A] scheduled today and deadline in 2 days
  Deadline:   TODO [#A] deadline in 2 days and not scheduled

[... 4 empty days omitted]

Thursday   29 March 2018
  Scheduled:  TODO [#A] scheduled for monday
Friday     30 March 2018
Saturday   31 March 2018
  Deadline:   TODO [#A] deadline in 10 days and not scheduled

问:我如何让 org-agenda-list 为我正常工作?

此外,我安装后

M-x package-install org-edna

基于一些在线建议,我也丢失了 org-timeline 命令,我通过“apt remove emacs”和“apt install emacs”的强力应用程序恢复了该命令。

问:有人可以向我解释为什么我丢失了 org-timeline 命令吗?

感谢。

1 个答案:

答案 0 :(得分:3)

检查:align-self: center;。如果您的文件不存在,那么当您在缓冲区中打开文件时,请使用C-h v org-agenda-files。现在尝试M-x org-agenda-file-to-front。您可以再次检查M-x org-agenda,然后您就会在那里找到您的文件。