help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Why doesn't Emacs have a horizontal scroll bar?


From: brianjiang
Subject: RE: Why doesn't Emacs have a horizontal scroll bar?
Date: Wed, 4 Jul 2007 09:56:48 +0800

Thanks Amy! longlines-mode is exactly what I need. And I configure 
'longlines-wrap-follows-window-size' to 't'.

"In Long Lines mode, long lines are wrapped if they extend beyond
`fill-column'.  The soft newlines used for line wrapping will not
show up when the text is yanked or saved to disk."

Regards,
Brian

-----Original Message-----
From: help-gnu-emacs-bounces+brianjiang=gdnt.com.cn@gnu.org 
[mailto:help-gnu-emacs-bounces+brianjiang=gdnt.com.cn@gnu.org] On Behalf Of Amy 
Templeton
Sent: 2007年7月4日 0:01
To: help-gnu-emacs@gnu.org
Subject: Re: Why doesn't Emacs have a horizontal scroll bar?

<brianjiang@gdnt.com.cn> wrote:
> Also, I think "Truncate long lines in this buffer" is good enough too. 
> It is not "word wrap". It truncate the words at any position (e.g., 
> "words" can be truncate to "wo" in current line and "ords"
> in the next line.) It is really make the text difficult to read.
> Any solution for this? (auto-fill can wrap the text in a word basis, 
> but 1). It doesn't wrap the word based on the window width, 2). It 
> will modify the file while we don't want to change
> anything.)

There's a mode called longlines-mode you might like. You seem to be working 
with files that for some reason can't be wrapped, which in and of itself tends 
to make things difficult. What this mode does is to change the *appearance* of 
the buffer such that long lines are wrapped at the fill-column, but in 
actuality it takes an actual newline (<RET>) to finish a line when the actual 
file is saved. I'd suggest checking it out (M-x longlines-mode <RET>).

Amy

--
You can learn many things from children.  How much patience you have, for 
instance.
                -- Franklin P. Jones


_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]