Emacs 组织模式议程按所有者过滤
是否可以根据所有者属性过滤 emacs 中的议程?
目前我使用标签来设置 TODO 项目的所有者。这样我就可以按这样的标签过滤议程:
(setq org-agenda-custom-commands
`(("o" "tasks for oleg"
((org-agenda-list)
(org-agenda-filter-apply ,(list "+oleg")))
((org-agenda-remove-tags t)))
("k" "tasks for karl"
((org-agenda-list)
(org-agenda-filter-apply ,(list "+karl")))
((org-agenda-remove-tags t)))
))
使用标签来标记所有者并不方便,但我看不到其他方法可以按所有者过滤 TODO 项目。
Is it possible to filter agenda in emacs based on Owner property?
Currently I use tags to set owner of TODO items. This way I can filter agenda by tags like this:
(setq org-agenda-custom-commands
`(("o" "tasks for oleg"
((org-agenda-list)
(org-agenda-filter-apply ,(list "+oleg")))
((org-agenda-remove-tags t)))
("k" "tasks for karl"
((org-agenda-list)
(org-agenda-filter-apply ,(list "+karl")))
((org-agenda-remove-tags t)))
))
It's not convenient to use tags to mark the owner but I see no other way to filter TODO items by Owner.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这在我的 .emacs 中对我有用:
我的属性是大写的,所以你需要使用
+Owner=
我认为。您还可以通过执行以下操作来调用您自己的自定义搜索:(
假设您抄送了 org-agenda 绑定。
我正在运行 org-mode 6.27a。对于它的价值,我不太了解首先确定如何执行此操作,但 有关自定义命令的 worg 页面< /a> 非常有帮助。
This worked for me in my .emacs:
My properties are upper-case though so you'd need to use
+Owner=
methinks.You could also invoke your own custom search by doing:
(assuming you have C-c a bound to
org-agenda.
I'm running org-mode 6.27a. For what it's worth, I wasn't quite sure how to do this at first but the worg page about custom commands was very helpful.