emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Ihor Radchenko
Subject: Re: [BUG] Table alignment fails for long lines [9.6.12 ( @ /home/rst/.emacs.d/elpa/org-9.6.12/)]
Date: Tue, 05 Dec 2023 15:44:42 +0000

Raffael Stocker <r.stocker@mnet-mail.de> writes:

> 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
> unbound.

Thanks for reporting!
Fixed, on bugfix and on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4a7a1f2fe
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f2cb64579

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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