Emacs 在议程列表中显示时间

Emacs 在议程列表中显示时间,emacs,org-mode,Emacs,Org Mode,在组织模式下,时间不能显示在时间议程中 它显示如下: 我希望它像这样展示: 我最近也遇到了同样的问题。虽然你的问题可能有不同的原因,我想我会分享我的解决方案,以防它对未来的读者有用 在我的情况下,我的自定义议程命令中有以下设置: (org-agenda-prefix-format "○ ") 这给了我一个简单的日程安排,任务的前缀是○,没有其他内容。但是,这会覆盖默认格式,默认格式包括许多格式字符,这些字符允许前缀显示时间,尤其是%t格式字符指定的时间,该格式字符显示“HH:MM时间规格(

在组织模式下,时间不能显示在时间议程中

它显示如下:

我希望它像这样展示:


我最近也遇到了同样的问题。虽然你的问题可能有不同的原因,我想我会分享我的解决方案,以防它对未来的读者有用

在我的情况下,我的自定义议程命令中有以下设置:

(org-agenda-prefix-format "○ ") 
这给了我一个简单的日程安排,任务的前缀是
,没有其他内容。但是,这会覆盖默认格式,默认格式包括许多格式字符,这些字符允许前缀显示时间,尤其是
%t
格式字符指定的时间,该格式字符显示“HH:MM时间规格(如果适用于条目)”

此后,我将
组织议程前缀格式更改如下:

(org-agenda-prefix-format "○  %t")
这仍然给了我一个最低限度的议程视图,但如果必要的话,还会显示时间信息。以下是使用
组织议程前缀格式的格式化字符的完整列表

  %c   the category of the item, "Diary" for entries from the diary,
       or as given by the CATEGORY keyword or derived from the file name
  %e   the effort required by the item
  %l   the level of the item (insert X space(s) if item is of level X)
  %i   the icon category of the item, see `org-agenda-category-icon-alist'
  %T   the last tag of the item (ignore inherited tags, which come first)
  %t   the HH:MM time-of-day specification if one applies to the entry
  %s   Scheduling/Deadline information, a short string
  %b   show breadcrumbs, i.e., the names of the higher levels
  %(expression) Eval EXPRESSION and replace the control string
                by the result

有关更多详细信息,请参阅
组织议程前缀格式的文档:
M-x描述变量RET org agenda prefix format RET

我最近遇到了同样的问题。虽然你的问题可能有不同的原因,我想我会分享我的解决方案,以防它对未来的读者有用

在我的情况下,我的自定义议程命令中有以下设置:

(org-agenda-prefix-format "○ ") 
这给了我一个简单的日程安排,任务的前缀是
,没有其他内容。但是,这会覆盖默认格式,默认格式包括许多格式字符,这些字符允许前缀显示时间,尤其是
%t
格式字符指定的时间,该格式字符显示“HH:MM时间规格(如果适用于条目)”

此后,我将
组织议程前缀格式更改如下:

(org-agenda-prefix-format "○  %t")
这仍然给了我一个最低限度的议程视图,但如果必要的话,还会显示时间信息。以下是使用
组织议程前缀格式的格式化字符的完整列表

  %c   the category of the item, "Diary" for entries from the diary,
       or as given by the CATEGORY keyword or derived from the file name
  %e   the effort required by the item
  %l   the level of the item (insert X space(s) if item is of level X)
  %i   the icon category of the item, see `org-agenda-category-icon-alist'
  %T   the last tag of the item (ignore inherited tags, which come first)
  %t   the HH:MM time-of-day specification if one applies to the entry
  %s   Scheduling/Deadline information, a short string
  %b   show breadcrumbs, i.e., the names of the higher levels
  %(expression) Eval EXPRESSION and replace the control string
                by the result

有关更多详细信息,请参阅
组织议程前缀格式
M-x描述变量RET org agenda prefix format RET

您尝试了哪些设置来合并
组织议程时间网格
变量?没有约会的日子不会显示时间网格。我删除了我的“init.el”文件中的一些代码,然后它工作了,也许我添加了一些无用的东西。您尝试了哪些设置来合并
org agenda time grid
变量?没有约会的日子不会显示时间网格。我删除了我的“init.el”文件中的一些代码,然后它工作了,也许我添加了一些无用的东西。