如何使用Emacs + org-mode + visual-line-mode进行缩进?

Lau*_*t B 27 emacs org-mode

Emacs + org-mode + visual-line-mode + window resizing产生这种视图:

* My list
  * Some thing this is longer
back to line which is really
anoying
  * Other thing which is
truncated
    * Sub items with blah
to line

我宁愿更喜欢这个:

* My list
  * Some thing this is longer
    back to line which is 
    really anoying
  * Other thing which is
    truncated
    * Sub items with blah
      to line

有关如何配置emacs或org-mode以实现这一点的任何线索真的很感激:)

(关于ubuntu karmic的emacs23.1)

seh*_*seh 30

激活org-indent-mode.一种方法是添加一个钩子

(add-hook 'org-mode-hook
          (lambda ()
            (org-indent-mode t))
          t)
Run Code Online (Sandbox Code Playgroud)

但更简单的方法是定制org-startup-indented为非零.

请注意,即使org-indent-mode是非零,头条新闻仍然不享受自动填充处理.它只是一个条目的主体,它将被填充并在其父标题的左列中左对齐.


hua*_*uan 10

对于一个足够新的org-mode版本,M-x customize-variable org-indent-mode应该这样做.有一个最近的修复 reconciliating org-indent-modevisual-line-mode.