如何使用Emacs + org-mode +视线模式保持缩进? [英] How to keep indentation with Emacs + org-mode + visual-line-mode?

查看:387
本文介绍了如何使用Emacs + org-mode +视线模式保持缩进?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Emacs +组织模式+视觉模式+窗口调整大小产生这种视图:

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

我宁愿更喜欢这个:


* 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或组织模式实现,将真的非常感谢:

Any clue about how to configure emacs or org-mode to achieve that would be really really appreciated :)

(ubuntu karmic上的emacs23.1)

(emacs23.1 on ubuntu karmic)

推荐答案

对于新版本的组织模式, Mx自定义变量org-indent-mode 应该做。最近有一个修复调节 c code $ c> visual-line-mode

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 +视线模式保持缩进?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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