unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* truncating long lines
@ 2004-04-02 19:31 Jay Cotton
  2004-04-03  3:55 ` Marcelo Toledo
  2004-04-03  8:17 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Jay Cotton @ 2004-04-02 19:31 UTC (permalink / raw)


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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: truncating long lines
  2004-04-02 19:31 truncating long lines Jay Cotton
@ 2004-04-03  3:55 ` Marcelo Toledo
  2004-04-03 16:02   ` Jay Cotton
  2004-04-03  8:17 ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: Marcelo Toledo @ 2004-04-03  3:55 UTC (permalink / raw)
  Cc: help-gnu-emacs

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 <jay@fleeingrabbit.com> 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
marcelo@marcelotoledo.org
http://www.marcelotoledo.org
Mobile: 55 71 9141-7181

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: truncating long lines
  2004-04-02 19:31 truncating long lines Jay Cotton
  2004-04-03  3:55 ` Marcelo Toledo
@ 2004-04-03  8:17 ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2004-04-03  8:17 UTC (permalink / raw)


> From: Jay Cotton <jay@fleeingrabbit.com>
> Date: Fri, 2 Apr 2004 14:31:59 -0500
> 
> 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?

I think you want to fiddle with the variable
truncate-partial-width-windows.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: truncating long lines
  2004-04-03  3:55 ` Marcelo Toledo
@ 2004-04-03 16:02   ` Jay Cotton
  0 siblings, 0 replies; 5+ messages in thread
From: Jay Cotton @ 2004-04-03 16:02 UTC (permalink / raw)
  Cc: help-gnu-emacs

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 <jay@fleeingrabbit.com> 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
> marcelo@marcelotoledo.org
> http://www.marcelotoledo.org
> Mobile: 55 71 9141-7181
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: truncating long lines
@ 2004-04-03 18:50 Joe Corneli
  0 siblings, 0 replies; 5+ messages in thread
From: Joe Corneli @ 2004-04-03 18:50 UTC (permalink / raw)
  Cc: help-gnu-emacs

(setq truncate-partial-width-windows nil)

then M-x toggle-truncate-lines to your heart's content

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-04-03 18:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-02 19:31 truncating long lines Jay Cotton
2004-04-03  3:55 ` Marcelo Toledo
2004-04-03 16:02   ` Jay Cotton
2004-04-03  8:17 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2004-04-03 18:50 Joe Corneli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).