|
From: | Jakob Schöttl |
Subject: | Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files |
Date: | Sun, 20 Aug 2023 10:29:39 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 |
Am 20.08.23 um 08:56 schrieb Ihor Radchenko:
Jakob Schöttl <jschoett@gmail.com> writes:So, org-update-dblock or org-dblock-write:columnview is adding trailing spaces in the org file. These spaces change the behavior of subsequent calls which will add even more spaces.Confirmed. Unimportant. The internal implementation details of colview demand heading text to have at least the number of characters equal to the number of fields. If there are less, spaces are added. But not beyond the necessary number of spaces. This is not easy to change. And I am not sure if it is necessarily a bug, though I can see how it can be slightly annoying.
The thing is, that this is only the smallest part of the bug. Spaces are not only added to headings but also to normal text lines and to ":END:" lines.
The spaces then lead to different table data in the dynamic block. I'll see if I can provide an example where it messes up the table data.
[Prev in Thread] | Current Thread | [Next in Thread] |