Displaying continuation lines in Emacs in a text terminal

I'm using Debian sid with X installed. Emacs, running as a GUI, shows little bent arrows at the right edge to indicate continuation lines . When I start Emacs -nw

in text terminal mode, the character \

does not appear in the right margin to indicate continuation lines. I went through the file ~/.emacs

to see if it sets the parameter but couldn't find anything that matched it.

How can I tell Emacs in text terminal mode to display a character \

in the right margin to indicate continuation lines?

0


source to share


2 answers


If word-wrap

set to a value nil

in an Emacs text terminal ( -nw

), a backslash character appears in the right margin.

If for is word-wrap

set to t

in text terminalEmacs, the backslash character is not . The installation visual-line-mode

also sets word-wrap

to true.



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

.

Tested by Emacs 23.4.1 under Debian sid.

+3


source


It looks like toggle-truncate-lines

- this is one Emacs function that causes the behavior you described: Silly shell tricks



Can you test it interactively with help M-x toggle-truncate-lines

to see if it fixes it for you?

0


source







All Articles