You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Emacs25(25.2.2/Ubuntu17.10)下org-agenda-list不显示任务详情

Fix org-agenda-list not showing tasks in Emacs 25.2.2 (Ubuntu 17.10)

It looks like the core issue here is that Org Agenda doesn't know which files to scan for your tasks—this is a super common gotcha when getting started with Org mode!

Why this happens:

org-timeline works because it generates the timeline directly from the Org file you currently have open. But org-agenda-list relies on the org-agenda-files variable to know where to look for tasks. Since you haven't set this variable (your .emacs only has the keybinding, and .emacs.d is empty), Org Agenda can't find your test tasks at all.

How to fix it:

1. Temporary test fix:

  • Run M-x customize-variable RET org-agenda-files RET
  • Click the "INS" button to add a new entry
  • Paste the full path to your test Org file (e.g., ~/Documents/my-test-tasks.org)
  • Click "Apply and Save" to lock in the change permanently

2. Permanent fix (add to your .emacs):

Update your .emacs file to include the org-agenda-files configuration. For example, if your test file lives at ~/my-org-tasks.org, your .emacs will look like this:

(global-set-key "\C-ca" 'org-agenda)
(setq org-agenda-files '("~/my-org-tasks.org"))

If you keep multiple Org files in a dedicated directory (like ~/org/), you can point to the entire directory instead:

(setq org-agenda-files '("~/org/"))

3. Verify the fix:

  • Reload your Emacs configuration with M-x eval-buffer (if you edited .emacs directly) or restart Emacs
  • Run C-c a to open org-agenda-list—you should now see all your scheduled, deadline, and todo tasks listed under their respective dates!

Quick extra tip:

If you ever add a new Org file later, you can run M-x org-agenda-file-to-front to quickly add the currently open file to your agenda list without editing the config.

内容的提问来源于stack exchange,提问作者Ranjeet

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.21 03:46:00