简体   繁体   English

Emacs组织模式:默认情况下如何隐藏普通列表项的详细信息

[英]Emacs org-mode: how to hide the details of plain list items by default

Suppose we have this in org file: 假设我们在org文件中有这个:

* Shopping
I'm going to buy these items in the grocery;

1. item1
    wow, fantasy
2. item2
    emmmmm

when i <tab> the headline Shopping , it display the details of plain list items. 当我<tab>标题Shopping ,它会显示普通列表项的详细信息。

what i want is below instead: 我想要的是下面的:

* Shopping
I'm going to buy these items in the grocery;

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

I have try add both #+STARTUP: overview and property :VISIBILITY: folded , but neither of them works for me. 我尝试添加#+STARTUP: overview和属性:VISIBILITY: folded ,但它们都不适合我。

(setq org-cycle-include-plain-lists 'integrate) should fix your issue. (setq org-cycle-include-plain-lists 'integrate)应解决您的问题。

From the docs: If this variable is set to integrate, plain list items will be treated like low-level headlines. 从文档:如果此变量设置为集成,普通列表项将被视为低级标题。

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

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