unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: pent <pent@aparamon.msk.ru>
Cc: 2749@emacsbugs.donarmstrong.com
Subject: bug#2749: 23.0.91; Visual Line Mode: incorrect line wrapping in corner case
Date: Tue, 24 Mar 2009 14:04:33 -0400	[thread overview]
Message-ID: <87d4c694r2.fsf@cyd.mit.edu> (raw)

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






             reply	other threads:[~2009-03-24 18:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 18:04 Chong Yidong [this message]
2009-03-25  1:35 ` bug#2749: 23.0.91; Visual Line Mode: incorrect line wrapping in corner case 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d4c694r2.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=2749@emacsbugs.donarmstrong.com \
    --cc=pent@aparamon.msk.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).