如何使用 Emacs + org-mode + visual-line-mode 保持缩进? [英] How to keep indentation with Emacs + org-mode + visual-line-mode?
本文介绍了如何使用 Emacs + org-mode + visual-line-mode 保持缩进?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Emacs + org-mode + visual-line-mode + 窗口大小调整产生这种视图:
<前>* 我的清单*有些东西这是更长的回到原点,这是真的烦人的* 其他的东西被截断的* 带有 blah 的子项目到线我更喜欢这个:
<前>* 我的清单*有些东西这是更长的回到线是真烦人* 其他的东西被截断的* 带有 blah 的子项目到线任何有关如何配置 emacs 或 org-mode 以实现这一目标的线索都将非常感激:)
(ubuntu karmic 上的 emacs23.1)
解决方案
对于足够新的 org-mode 版本,M-x Customize-variable org-indent-mode
应该可以.最近有一个 fix 协调 org-indent-mode
和 visual-line-mode
.
Emacs + org-mode + visual-line-mode + window resizing produce this kind of view :
* 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
I would rather prefer this :
* 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
Any clue about how to configure emacs or org-mode to achieve that would be really really appreciated :)
(emacs23.1 on ubuntu karmic)
解决方案
For a new enough version of org-mode, M-x customize-variable org-indent-mode
should do. There's a recent fix reconciliating org-indent-mode
with visual-line-mode
.
这篇关于如何使用 Emacs + org-mode + visual-line-mode 保持缩进?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文