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

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

Re: truncating long lines


From: Jay Cotton
Subject: Re: truncating long lines
Date: Sat, 3 Apr 2004 11:02:07 -0500

Actually, auto-fill-mode is not turned on. The 'truncation' that I'm referring to is when emacs puts a dollar sign ($) at the end of each row to signify that there is more text and you will need to scroll horizontally in order to see it. When you are programming, you can turn this on and off with the command m-x toggle-truncate-lines. However, this command does not appear to work when you are have two side-by-side windows. (I achieve this window arrangement with the command c-x 3.) Instead, the line truncation appears to be always on, and the command m-x toggle-truncate-lines executes but nothing changes.

On Apr 2, 2004, at 10:55 PM, Marcelo Toledo wrote:

This truncate you are talking about is breaking the line when it reaches
a specific column? if it is, you must try setting off the
auto-fill-mode:

M-x auto-fill-mode

,----[ C-h f get-buffer RET ]
| auto-fill-mode is an interactive compiled Lisp function in `simple'.
| (auto-fill-mode &optional ARG)
|
| Toggle Auto Fill mode.
| With arg, turn Auto Fill mode on if and only if arg is positive.
| In Auto Fill mode, inserting a space at a column beyond `current-fill-column'
| automatically breaks the line at a previous space.
|
| The value of `normal-auto-fill-function' specifies the function to use
| for `auto-fill-function' when turning Auto Fill mode on.
`----

Jay Cotton <address@hidden> writes:

I am trying to use 2 side-by-side windows in emacs, and I don't want it
to truncate long lines.  However, when I use the command m-x
toggle-truncate-lines, nothing happens. If I am just using one window,
the command works as expected, but with 2 vertical windows if seems to
have no effect.

Anybody know how to accomplish this?

--
Marcelo Toledo
address@hidden
http://www.marcelotoledo.org
Mobile: 55 71 9141-7181






reply via email to

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