GNU bug report logs - #72681
31.0.50; visual-wrap-prefix-mode interacts badly with plain lists in org-mode

Previous Next

Package: emacs;

Reported by: "Mark Hepburn" <mark <at> markhepburn.com>

Date: Sat, 17 Aug 2024 07:14:01 UTC

Severity: normal

Found in version 31.0.50

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Mark Hepburn" <mark <at> markhepburn.com>, Jim Porter <jporterbugs <at> gmail.com>
Cc: 72681 <at> debbugs.gnu.org
Subject: bug#72681: 31.0.50; visual-wrap-prefix-mode interacts badly with plain lists in org-mode
Date: Sat, 17 Aug 2024 10:19:28 +0300
> Date: Sat, 17 Aug 2024 12:21:45 +1000
> From: "Mark Hepburn" <mark <at> markhepburn.com>
> 
> The recently-merged visual-wrap-prefix-mode support for variable-pitch
> fonts seems to interact badly with plain lists in org-mode, causing
> visual artefacts.  I think it's to do with both plain lists and a
> trailing blank line.  To reproduce, from emacs -Q:
> * switch to a new buffer
> * M-x org-mode
> * Insert a couple of headings, with a plain list followed by a blank
> line afterwards:
> ====================
> * header
> 
> - item
> 
> * second header
> ====================
> * M-x visual-wrap-prefix-mode
> * This now renders for me like:
> ====================
> * header
> 
> - item
> 
>   *  second header
> ====================
> (The actual artefacts are even more pronounced for me in practice
> because I have org-adapt-indentation set, so the second header is even
> more visually indented)

Thanks.

Jim, could you please look into this?  Is visual-wrap-prefix-mode at
all supposed to be used in Org buffers?




This bug report was last modified 265 days ago.

Previous Next


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