GNU bug report logs - #46814
26.3; Visual-line-mode produces fake newline if line begins with space

Previous Next

Package: emacs;

Reported by: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>

Date: Sat, 27 Feb 2021 16:32:01 UTC

Severity: normal

Found in version 26.3

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>
Cc: 46814 <at> debbugs.gnu.org
Subject: bug#46814: 26.3; Visual-line-mode produces fake newline if line begins with space
Date: Sat, 27 Feb 2021 20:24:57 +0200
> From: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>
> Date: Sat, 27 Feb 2021 13:30:23 -0300
> 
> In visual-line-mode, if after leading whitespace it follows very long
> text without spaces, it occurs a visual line break after the leading
> whitespace, creating an false blank line, annoying users because extra
> blank lines may change the meaning of text.
> 
> It would be more sensible in visual-line-mode forbids visual line breaks
> after leading whitespace, because they always create blank lines.

Patches are welcome to implement this.  Word of warning: the current
implementation of this is in C, as part of the display engine, and
it's very complex.




This bug report was last modified 4 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.