emacs如何高亮80列
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 18
- 注册时间: 2016-07-02 14:32
- 系统: windows
emacs如何高亮80列
网上提供了一些办法达到80列自动换行,超过80列高亮的功能,我希望得到高亮80列的功能,类似vim中set colorcolumn=80的效果
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: emacs如何高亮80列
https://www.emacswiki.org/emacs/HighlightLongLines
If you want to highlight long lines you can use whitespace-mode:
https://www.emacswiki.org/emacs/EightyColumnRule
WhitespaceMode
whitespace mode (part of Emacs 23+) has two interesting options you can set in variable whitespace-style:
If you want to highlight long lines you can use whitespace-mode:
https://www.emacswiki.org/emacs/EightyColumnRule
WhitespaceMode
whitespace mode (part of Emacs 23+) has two interesting options you can set in variable whitespace-style: