unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to enable wrapping after C-x 3
@ 2007-07-27 19:37 ryofurue
  2007-07-27 21:20 ` Peter Dyballa
       [not found] ` <mailman.4070.1185571255.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: ryofurue @ 2007-07-27 19:37 UTC (permalink / raw)
  To: help-gnu-emacs

Hi emacs users,

I couldn't find this in the info or on the Internet.  By default,
long lines are wrapped and a tiny bent arrow is shown on
the right margin.  But, when you split the window by C-x 3
to have two windows side-by-side, long lines aren't wrapped.
Instead, tiny straight arrows are shown on the right margin,
and when you move the pointer (cursor) righward out of the
displayed region, the text scrolls horizontally.   How do you
have the original wrapping behavior in split windows?
How do you switch back and forth between the two
behaviors?  I use emacs 22.1 on the testing distribution
of Debian GNU/Linux.

Regards,
Ryo

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

* Re: How to enable wrapping after C-x 3
  2007-07-27 19:37 How to enable wrapping after C-x 3 ryofurue
@ 2007-07-27 21:20 ` Peter Dyballa
       [not found] ` <mailman.4070.1185571255.32220.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2007-07-27 21:20 UTC (permalink / raw)
  To: ryofurue; +Cc: help-gnu-emacs


Am 27.07.2007 um 21:37 schrieb ryofurue:

> Instead, tiny straight arrows are shown on the right margin,
> and when you move the pointer (cursor) righward out of the
> displayed region, the text scrolls horizontally.

Could be the variables truncate-lines and truncate-partial-width- 
windows can help.

--
Greetings

   Pete

Behold the warranty ... the bold print giveth and the fine print  
taketh away.

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

* Re: How to enable wrapping after C-x 3
       [not found] ` <mailman.4070.1185571255.32220.help-gnu-emacs@gnu.org>
@ 2007-07-30  6:46   ` furue
  2007-07-30 10:39     ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: furue @ 2007-07-30  6:46 UTC (permalink / raw)
  To: help-gnu-emacs

On Jul 27, 11:20 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
[. . .]
> Could be the variables truncate-lines and truncate-partial-width-
> windows can help.

Thank you for your help.  Indeed, truncate-partial-width-
windows did the trick.  It's t by default and that means
"truncate lines in all windows less than full frame wide"
(from the describe-variable help).  When I set it to nil,
lines are wrapped in split windows.  (The documentation
of truncate-lines says it's overriden by truncate-partial-
width-windows.  I don't know how these two variables
are meant to work together.)

Regards,
Ryo

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

* Re: How to enable wrapping after C-x 3
  2007-07-30  6:46   ` furue
@ 2007-07-30 10:39     ` Peter Dyballa
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2007-07-30 10:39 UTC (permalink / raw)
  To: furue; +Cc: help-gnu-emacs


Am 30.07.2007 um 08:46 schrieb furue@hawaii.edu:

> (The documentation
> of truncate-lines says it's overriden by truncate-partial-
> width-windows.  I don't know how these two variables
> are meant to work together.)

I think this has historical reason. In GNU Emacsen 18 and 19 truncate- 
lines worked, AFAIR. Then GNU Emacs learned to split a frame into  
windows and finally a new concept was created which also introduced  
truncate-partial-width-windows. This sets a new general clipping  
default for all buffers, as truncate-lines did before. Now it's a  
buffer local variable, i.e. it only applies when set inside a  
particular buffer *and* then only when the user is deviating from the  
clipping default. So truncate-lines now can be set to truncate lines  
in some buffers in spite of the general user setting.

--
Greetings

   Pete

A common mistake that people make when trying to design something  
completely foolproof is to underestimate the ingenuity of complete  
fools.

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

end of thread, other threads:[~2007-07-30 10:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-27 19:37 How to enable wrapping after C-x 3 ryofurue
2007-07-27 21:20 ` Peter Dyballa
     [not found] ` <mailman.4070.1185571255.32220.help-gnu-emacs@gnu.org>
2007-07-30  6:46   ` furue
2007-07-30 10:39     ` Peter Dyballa

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).