unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2749: 23.0.91; Visual Line Mode: incorrect line wrapping in corner case
@ 2009-03-24 18:04 Chong Yidong
  2009-03-25  1:35 ` Stefan Monnier
  0 siblings, 1 reply; 18+ messages in thread
From: Chong Yidong @ 2009-03-24 18:04 UTC (permalink / raw)
  To: pent; +Cc: 2749

> 3) Type '-' symbol. Keep typing '-' until the the line is
>    wrapped. Delete the last symbol (the one which caused
>    wrapping). The line should now be fully filled with '-'s, and there
>    should be no wrapping.

> 4) Hit Enter and repeat 3). There are now 2 fully filled lines one
>    after another, with no space between them (expected).

> 5) Select menu item Options/Line Wrapping in this Buffer/Word Wrap
>    (Visual Line Mode). An empty line between 2 lines has appeared
>    (unexpected).

This behavior is expected.  The word wrap algorithm treats lines that
are too long to wrap using the ordinary line-wrapping rules, and since
overflow-newline-into-fringe is disabled in Visual Line mode, the extra
empty line is used to show the non-overflowed newline character.

After the release, I might look into letting word wrap handle
overflow-newline-into-fringe behavior.  I suspect, however, that this
may lead to confusing results in some circumstances.






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

end of thread, other threads:[~2013-07-03  9:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-24 18:04 bug#2749: 23.0.91; Visual Line Mode: incorrect line wrapping in corner case Chong Yidong
2009-03-25  1:35 ` Stefan Monnier
2009-03-22 19:13   ` pent
2013-02-18 12:03     ` Stephen Berman
2013-05-10 14:01       ` Stephen Berman
2013-05-10 14:59         ` Eli Zaretskii
2013-05-10 15:49           ` Stephen Berman
2013-05-10 17:37             ` Eli Zaretskii
2013-05-10 19:06               ` Stephen Berman
2013-05-10 19:31                 ` Eli Zaretskii
2013-05-18 20:30                   ` Stephen Berman
2013-05-19 15:29                     ` Eli Zaretskii
2013-05-19 16:28                       ` Stephen Berman
2013-05-19 17:38                         ` Eli Zaretskii
2013-05-28 22:26                     ` Stefan Monnier
2013-07-02 15:54                       ` Eli Zaretskii
2013-07-03  9:15                         ` Stefan Monnier
2013-07-03  9:52                         ` Stephen Berman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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