[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] Table alignment fails for long lines [9.6.12 ( @ /home/rst/.emacs.

From: Raffael Stocker
Subject: [BUG] Table alignment fails for long lines [9.6.12 ( @ /home/rst/.emacs.d/elpa/org-9.6.12/)]
Date: Sat, 02 Dec 2023 14:14:41 +0100
User-agent: mu4e 1.10.8; emacs 29.1

Hello Org-mode,

org tables with long text in a field (longer than window width) don't get
aligned correctly.  This seems to be due to the missing X-LIMIT argument to
‘window-text-pixel-size’.  That is, the current usage is something like:

(car (window-text-pixel-size
     nil (line-beginning-position) (point-max)))

If I change that to

(car (window-text-pixel-size
     nil (line-beginning-position) (point-max) t))

things work correctly as lines are not truncated to the visible portion.

This bug also exists in the 9.7-pre version if ‘buffer-text-pixel-size’ is


Emacs  : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, 
cairo version 1.17.8)
Package: Org mode version 9.6.12 ( @ /home/rst/.emacs.d/elpa/org-9.6.12/)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]