GNU bug report logs - #31666
Bad interaction between visual-line-mode and wrap-prefix on long lines

Previous Next

Package: emacs;

Reported by: Clément Pit-Claudel <clement.pitclaudel <at> live.com>

Date: Thu, 31 May 2018 12:29:02 UTC

Severity: minor

Merged with 11759

Found in version 24.1.50

Full log


Message #17 received at 31666 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: Clément Pit-Claudel <clement.pitclaudel <at> live.com>,
 31666 <at> debbugs.gnu.org
Subject: Re: bug#31666: Bad interaction between visual-line-mode and
 wrap-prefix on long lines
Date: Fri, 01 Jun 2018 09:02:15 +0200
On Thu, 31 May 2018 20:19:49 -0400 Noam Postavsky <npostavs <at> gmail.com> wrote:

> Clément Pit-Claudel <clement.pitclaudel <at> live.com> writes:
>
>> That's a good point, the behavior that I dislike doesn't even require
>> adaptive-wrap or a wrap-prefix property.  Just having a few spaces at
>> the beginning of a line and a very long word is enough.
>
> Is it the same as Bug#11759?

Sounds like it.  This is also an issue in todo-mode, which by default
enables visual-line-mode and indents with wrap-prefix.  For example,
here both items have no space after the date, but the second one is too
long for the window, so Visual Line mode breaks it:

1 [May 31, 2018] http://git.savannah.gnu.org/cgit/emacs.git/log/
2 [May 31, 2018] 
   http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c0a0351249c1e6a9307224d
   8337ff8916f4cf138

It would be nice if the display could be like this:

1 [May 31, 2018] http://git.savannah.gnu.org/cgit/emacs.git/log/
2 [May 31, 2018] http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c0a035124
   9c1e6a9307224d8337ff8916f4cf138

Steve Berman




This bug report was last modified 5 years and 65 days ago.

Previous Next


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