简体   繁体   English

emacs 组织模式议程:在今天的视图中不显示明天有截止日期的项目

[英]emacs org mode agenda: in today's view do not show items with deadline for tomorrow

I have items that have a deadline for today and repeat daily, eg:我有今天有截止日期并每天重复的项目,例如:

  • TODO [#A] Exercise DEADLINE: <2020-09-08 Tue ++1d> TODO [#A] 练习截止日期:<2020-09-08 Tue ++1d>

If this TODO has a deadline of today, that is great, I would like to see it in the agenda for today.如果这个 TODO 有今天的截止日期,那就太好了,我希望在今天的议程中看到它。

When I mark this TODO as done, and it then gets the deadline date to be tomorrow, it still shows up in the agenda for today prefaced by:当我将此 TODO 标记为已完成,然后将截止日期设为明天时,它仍然出现在今天的议程中,开头是:

In 1 d.在 1 d。

And I dont want to see any items listed today that have a deadline for tomorrow.我不想看到今天列出的任何项目都有明天的截止日期。

Is there any way to set emacs org mode to do this?有没有办法设置 emacs 组织模式来做到这一点?

I tried我试过

(setq org-agenda-todo-ignore-scheduled 'future) (setq org-agenda-todo-ignore-scheduled '未来)

But this does not work.但这不起作用。

Thanks ahead of time....提前谢谢了....

see 8.3 Deadlines and Scheduling8.3 截止日期和日程安排

In addition, the agenda for today carries a warning about the approaching or missed deadline, starting org-deadline-warning-days before the due date此外,今天的议程带有关于即将到来或错过的截止日期的警告,在截止日期之前开始 org-deadline-warning-days

you can customize the variable org-deadline-warning-days to 0 to disable the prewarnings.您可以将变量org-deadline-warning-days自定义为0以禁用预警。

First, to answer your question.首先,回答你的问题。 It is possible to specify the lead time for warnings for each task as follows - the -0d says warnings should be zero days in advance:可以为每个任务指定警告的-0d ,如下所示 - -0d表示警告应该提前 0 天:

DEADLINE: <2020-09-22 Tue +1d -0d>

This would allow you to do what I think your asking, without the heavy hammer of setting org-deadline-warning-days to 0.这将允许您执行我认为您的要求,而无需将org-deadline-warning-days为 0。

Second, as several people mentioned, perhaps you want to schedule things for each day, not have a deadline for them each day.其次,正如一些人提到的,也许你想为每一天安排事情,而不是每天为他们设定最后期限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM