search - Emacs 组织模式 : How to find all TODOs that don't have a deadline specified

标签 search emacs org-mode

在 Emacs 组织模式中,我知道我可以调用议程“匹配” View (使用 C-a m),然后使用以下搜索字符串查找截止日期设置为今天的所有 TODO 项目:

DEADLINE="<today>"

但是,我想在我的 TODO 列表中找到所有没有设置任何截止日期的项目。我已经搜索过,但似乎找不到答案;以下似乎也不起作用:
DEADLINE=""

如何搜索所有未指定 DEADLINE 的 TODO?

(这同样适用于查找尚未安排的项目,但我猜解决方案将是相同的。)

最佳答案

您可以使用

-DEADLINE={.+}





-SCHEDULED={.+}



它搜索没有包含任何内容的 DEADLINE/SCHEDULED 标签的项目——即没有设置预定日期或截止日期。 curl 用于标识正则表达式(在这种情况下匹配比空字符串更长的任何内容)。

例如,我使用以下内容:
 (setq org-agenda-custom-commands
       `(;; match those tagged with :inbox:, are not scheduled, are not DONE.
         ("ii" "[i]nbox tagged unscheduled tasks" tags "+inbox-SCHEDULED={.+}/!+TODO|+STARTED|+WAITING")))

引用:http://orgmode.org/manual/Matching-tags-and-properties.html

关于search - Emacs 组织模式 : How to find all TODOs that don't have a deadline specified,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17003338/

相关文章:

emacs - 在具有指定标签的条目上的 org-after-todo-state-change-hook 上执行代码

emacs - 组织模式下的语法高亮。语言列表?

api - YouTube API v3搜索-不返回所有视频

ruby-on-rails - Rails 中的多字段搜索

在 Zephyr 中搜索测试步骤

html - 如何对 .html 文件中链接的外部 .css 文件使用不耐烦模式?

r - 如何在不终止 R 进程的情况下终止 ESS 中的 Shiny 应用程序

ruby-on-rails - rails ActiveRecord : Multiple conditions in find

emacs:为什么我不能通过 package-install 安装自动完成?

emacs - 使用emacs org-mode,如何发布项目中未更改的文件?