GNU bug report logs -
#2749
23.0.91; Visual Line Mode: incorrect line wrapping in corner case
Previous Next
Reported by: pent <pent <at> aparamon.msk.ru>
Date: Sun, 22 Mar 2009 19:20:03 UTC
Severity: minor
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 2749 <at> emacsbugs.donarmstrong.com (full text, mbox):
> 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.
This bug report was last modified 11 years and 330 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.