【问题标题】:emacs org-agenda - missing all the daily details for tasksemacs org-agenda - 缺少任务的所有日常细节
【发布时间】:2018-03-23 05:35:08
【问题描述】:

对于 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)

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

* 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 命令?

谢谢。

【问题讨论】:

  • M-x org-agenda &lt;ret&gt; 有什么用?
  • 检查:C-h v org-agenda-files。如果您的文件不存在,请使用:M-x org-agenda-file-to-front。
  • @manandearth 给出标准消息:“按议程命令键: 删除限制 a 当前一周或一天的议程 e 导出议程视图 t 所有 TODO 条目的列表 T 具有特殊 TODO kwd 的条目 m 匹配 TAGS/PROP/TODO 查询 M 喜欢m,但只有 TODO 条目”
  • 然后按下a,我希望列表中没有条目,对吧?您可以尝试议程菜单中的不同选项吗?您是否也可以尝试使用C-c . 将日期分配给标题并查看列表中是否显示?
  • 顺便说一句,org-timeline 已过时。它已于 2016 年 12 月从 org-mode 源库中删除。它可能在您使用的版本中仍然可用,但当您升级时它将消失。

标签: emacs org-mode


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-01-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多