Emacs org-mode:如何默认隐藏普通列表项的细节

3
假设我们在org文件中有以下内容:
* Shopping
I'm going to buy these items in the grocery;

1. item1
    wow, fantasy
2. item2
    emmmmm

当我在标题“购物”上按<tab>键时,它会显示普通列表项的详细信息。但我想要以下内容:
* Shopping
I'm going to buy these items in the grocery;

1. item1...
2. item2...

我尝试添加#+STARTUP: overview和属性:VISIBILITY: folded,但它们都不起作用。
1个回答

4

(setq org-cycle-include-plain-lists 'integrate)可以解决你的问题。

根据文档:如果将此变量设置为'integrate',则普通列表项将被视为低级标题。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接