如何取消组织模式下的复选框以进行下一个循环/重复任务 [英] How to untick checkboxes in org-mode for the next cyclic/repetitive task

查看:188
本文介绍了如何取消组织模式下的复选框以进行下一个循环/重复任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于组织模式中的周期性或重复性任务,在此任务内部,如果有多个复选框,并且所有复选框都标记为已打勾",那么在将常规任务屏蔽为完成"后,下一个周期周期的复选框仍会显示为打勾"它应该被取消.例如:

With cyclic or repetitive tasks in org-mode, inside this task, if there are several checkboxes and all of them marked as ticked, after the general task is masked as DONE, the checkboxes for the next cycle period stills appear as ticked and it should be unticked. e.g.:

  • TODO自行车月租房[0/5]计划为:< 2013-11-30星期六+ 1m>
    • []付费桑拿浴
    • []支付电费
    • []支付租金
    • []收费互联网
    • []薪酬联盟
  • TODO Cyclic monthly home [0/5] SCHEDULED: <2013-11-30 Sat +1m>
    • [ ] pay sauna
    • [ ] pay electricity
    • [ ] pay renting
    • [ ] pay internet
    • [ ] pay union

一旦我勾选了所有的选项并完成,就可以看到:

Once I ticked all of them and put it as done, this is what I can see:

  • WIP自行车月租房[5/5]预定:< 2014-01-30星期四+ 1m>
  • 从"WIP"状态为完成" [2013-11-06 Wed 20:49]:属性:: LAST_REPEAT:[2013-11-06 Wed 20:49]:END:
    • [X]付费桑拿< ---应该取消
    • [X]支付电费<-应该取消
    • [X]支付租金<-应该取消
    • [X]付费互联网<-应该取消
    • [X]付费工会<-应该取消选中
  • WIP Cyclic monthly home [5/5] SCHEDULED: <2014-01-30 Thu +1m>
  • State "DONE" from "WIP" [2013-11-06 Wed 20:49] :PROPERTIES: :LAST_REPEAT: [2013-11-06 Wed 20:49] :END:
    • [X] pay sauna <--- this should be unticked
    • [X] pay electricity <-- this should be unticked
    • [X] pay renting <-- this should be unticked
    • [X] pay internet <-- this should be unticked
    • [X] pay union <-- this should be unticked

经过版本测试:

  • Emacs版本: * Apocalipsis上的2013年8月30日的GNU Emacs 24.3.1(x86_64-unknown-linux-gnu,X工具包,Xaw3d滚动条)*

  • Emacs version: *GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2013-08-30 on apocalipsis*

组织模式版本: *组织模式版本7.9.3f(release_7.9.3f-17-g7524ef @/usr/local/share/emacs/24.3/lisp/org/)*

Org-mode version: *Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ /usr/local/share/emacs/24.3/lisp/org/)*

(添加到列表的加载路径(扩展文件名〜/path_to_file_org-checklist.el/")))

(add-to-list 'load-path (expand-file-name "~/path_to_file_org-checklist.el/"))

(需要'org-checklist)

(require 'org-checklist)

注意:如果没有该文件,则可以从

Note: If you do not have the file, you can download from here

:属性:

:RESET_CHECK_BOXES:t

:RESET_CHECK_BOXES: t

:END:

3.验证它是否有效

只需用C-c C-t关闭任务,您将看到未选中的复选框.

3. Verify that it works

Just close the task with C-c C-t and you will see the checkboxes unticked.

推荐答案

如果我正确理解您的情况,则情况是:您有一个重复任务,其中子项目为复选框.任务完成后,应清除子项目上的所有复选框-这样就可以在下一个循环时间完成任务.

If I understand you correctly, the situation is: you have a repeating task with subitems as checkboxes. When the task is completed, all the checkboxes on the subitems should be cleared - so the task can be done at next cyclic time.

  • 将任务的属性 RESET_CHECK_BOXES 设置为t
  • 确保 org-checklist 是已加载的模块之一(通过变量 org-modules )
  • Set property RESET_CHECK_BOXES on the task to t
  • make sure org-checklist is one of the loaded modules (via variable org-modules)

这篇关于如何取消组织模式下的复选框以进行下一个循环/重复任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆