如何在emacs组织模式下结束TODO列表 [英] how to end TODO lists in emacs org-mode

查看:136
本文介绍了如何在emacs组织模式下结束TODO列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个TODO项目列表,我试图在同一个文件中有2个TODO列表,但似乎不能结束第一个。

I have a list of TODO items, and I'm trying to have 2 TODO lists in the same file, but can't seem to end the first one.

FIRST LIST: TODAY
* TODO Item 1
  Description
* TODO Item 2
  Description


SECOND LIST: TOMORROW
* TODO Item 3
  Description
* TODO Item 4 
  Description

不幸的是,第二列:TOMORROW 现在是 TODO Item 2 。这就是说,当我打开shift-tab时,我不再看到文本 SECOND LIST:TOMORROW ,因为它折叠在 TODO Item 2 。我看到的是..

Unfortunately, SECOND LIST: TOMORROW is now part of the description of TODO Item 2. By this, I mean that when I hit shift-tab, I no longer see the text SECOND LIST: TOMORROW because it folds under TODO Item 2. What I see is..

FIRST LIST: TODAY
* TODO Item 1
* TODO Item 2
* TODO Item 3
* TODO Item 4 

虽然我会喜欢看是...

While what I'd like to see is...

FIRST LIST: TODAY
* TODO Item 1
* TODO Item 2


SECOND LIST: TOMORROW
* TODO Item 3
* TODO Item 4 

如何摆脱描述模式并启动新的独立列表?

How can I escape out of the description mode and start a new, independent list?

编辑/更新我在列表之间添加了空格以回应评论。从这里,每个项目结束时,一个列表都会结束,这意味着在任何行比项目更少或同样缩进的行在顶层。它也在两条空白行之前结束---从此,我怀疑在.org文件中必须有一个方法可以有多个列表。但是,在我的例子中,我注意到2个空行并没有结束列表,而是继续像描述一样。

EDIT/UPDATE I added spaces in between the lists in response to comments. From here, 'A list ends whenever every item has ended, which means before any line less or equally indented than items at top level. It also ends before two blank lines'---From this, I suspect there must be a way to have more than one list in a .org file. However, in my example, I notice 2 blank lines is not ending the list, but continues on as if a description.

这是一个功能,它是某种程序而不是一个简单的列表?我知道以下枚举/执行/结束列表另一方面:

Is this a feature of it being somehow an agenda rather than a plain list? I know that the following enumerated /does/ end the list on the other hand:

FIRST LIST: TODAY
1. Item 1
   Description
2. Item 2
   Description


Second LIST: Tomorrow
1. Item 3
   Description
2. Item 4
   Description

我真的不意味着任何不尊重对于你emacs向导(谁让我惊讶),我一直坚持找到一种方法来做到这一点,我明白这个工具有很多的权力,我还不明白。但是,我想在一个.org文件中有2个独立的非枚举待办事项列表,所以我可以快速(对我来说)从今天到明天洗牌未完成的任务,而不需要深入设置依赖关系和到期日。

I really don't mean any disrespect to you emacs wizards (who amaze me) in that I keep insisting on finding a way to do this, and I understand there's a lot of power to this tool I don't understand yet. But I would like to have 2 independent non-enumerated todo lists in one .org file, so I can quickly (for me) shuffle unfinished tasks from today to tomorrow without going into depth setting dependencies and due dates.

推荐答案

您不能在单个文件中执行此操作。组织将标题下的所有内容视为属于它,直到您达到同一级别的另一个标题。没有办法结束开始一个新的标题。

You cannot do so within a single file. Org treats all content under a headline as belonging to it until you reach another headline of the same level. There is no way to end a headline short of starting a new one.

这有一些缺点,如果你想要一个子标题,然后返回到父级而没有任何新的标题,你必须使用空白的标题。这意味着唯一不属于标题的文本是第一个标题之前的文本,其本质上等同于一个摘要。

This does have a few shortcomings in that you have to use blank headlines if you want a sub-heading and then to return to the parent level without any new headline. This means the only text that does not belong to a headline is the text before the first heading, which essentially is the equivalent of an abstract.

我可以认为的两个解决方案将是

The two solutions I can think of would be


  1. 使用daramarak提供的解决方案

  1. Use a solution such as the one offered by daramarak

使用2个独立的组织文件,然后使用议程作为跟踪独立列表中多个TODO的方式,仍然可以放在一起查看概述。

Use 2 separate Org files then use the Agenda as a way of keeping track of the multiple TODOs in independent lists that can still be put together to see an overview.

这篇关于如何在emacs组织模式下结束TODO列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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