在文本终端中显示Emacs中的连续行 [英] Showing continuation lines in Emacs in a text terminal

查看:221
本文介绍了在文本终端中显示Emacs中的连续行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用安装X的Debian sid。作为GUI发布的Emacs显示右边缘的小弯曲箭头,表示延续行。当我在文本终端模式下使用 -nw 启动Emacs时, \ 字符不会出现在右边距表示连续线。我已经通过我的〜/ .emacs 文件搜索,看看设置是否指定了这个,但没有找到任何相关的。



如何指定文本终端模式中的Emacs应在右边距显示 \ 字符以指示连续行?

解决方案

word-wrap 设置为 nil 文本终端 -nw )Emacs中,反斜杠字符出现在右边距上。



文本终端 c c c < t Emacs,反斜杠字符显示为。设置 visual-line-mode 还将 word-wrap 设置为true。



当Emacs作为GUI窗口运行时,应用:小弯曲箭头出现在右边距上,而不管 word-wrap



通过Debian sid测试Emacs 23.4.1。


I'm using Debian sid with X installed. Emacs launched as a GUI shows the small bent arrows on the right margin indicating continuation lines. When I launch Emacs with -nw in text terminal mode, the \ character does not appear in the right margin to indicate continuation lines. I have searched through my ~/.emacs file to see if a setting is specifying this, but did not find anything relevant.

How can I specify that Emacs in text terminal mode should display the \ character in the right margin to indicate continuation lines?

解决方案

When word-wrap is set to nil in a text terminal (-nw) Emacs, the backslash character appears on the right margin.

When word-wrap is set to t in a text terminal Emacs, the backslash character is not shown. Setting visual-line-mode also sets word-wrap to true.

This does not apply when Emacs is running as a GUI window: the small bent arrow appears on the right margin regardless of the value of word-wrap.

Tested with Emacs 23.4.1 under Debian sid.

这篇关于在文本终端中显示Emacs中的连续行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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