GNU bug report logs - #73882
31.0.50; global-visual-wrap-prefix-mode misaligns org tables

Previous Next

Package: emacs;

Reported by: Arthur Elsenaar <arthur <at> artelse.com>

Date: Sat, 19 Oct 2024 14:26:02 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: Jim Porter <jporterbugs <at> gmail.com>
To: Arthur Elsenaar <arthur <at> artelse.com>, 73882 <at> debbugs.gnu.org
Subject: bug#73882: 31.0.50; global-visual-wrap-prefix-mode misaligns org tables
Date: Sat, 19 Oct 2024 16:14:48 -0700
[Message part 1 (text/plain, inline)]
On 10/19/2024 2:52 AM, Arthur Elsenaar wrote:
> | head  | 1 | 2 | 3 | 4 |
> |-------+---+---+---+---|
> | apple |   |   |   |   |
> | orange |   |   |   |   |
> | pear  |   |   |   |   |
> | banana |   |   |   |   |
> 
> Table cells are misaligned.
> When one hits <tab> within a cell, the cells align. However when
> global-visual-wrap-prefix-mode is enabled, the cells get
> misaligned. It appears a character in the first column gets attributes
> added that makes the character span more than one space.

Thanks for noticing. This patch should do the trick, I think.
[0001-Fix-min-width-calculation-in-visual-wrap-prefix-mode.patch (text/plain, attachment)]

This bug report was last modified 215 days ago.

Previous Next


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