Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2024-07-12 Thread Jakob Schöttl
Am 12.07.24 um 13:56 schrieb Ihor Radchenko: Emacs 29.4 does not include Org 9.7, where the bug has been fixed. You need either upcoming Emacs 30 or upgrade Org mode from ELPA. Thanks!

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2024-07-12 Thread Ihor Radchenko
Ihor Radchenko writes: >> I just tested with GNU Emacs 29.4 with --no-init-file and the minimal >> example still doesn't produce a correct table. > > May you please elaborate what exactly is not correct in the table? > I am not seeing any problem - no extra empty lines are added by the > second

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2024-07-12 Thread Ihor Radchenko
Jakob Schöttl writes: >> Thanks for the reproducer! >> I committed a fix onto main. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=58c5c5882 > > Hi Ihor, do you know anything on the merge progress of your fix into emacs? > > I just tested with GNU Emacs 29.4 with --no-init-fil

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2024-07-11 Thread Jakob Schöttl
Thanks for the reproducer! I committed a fix onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=58c5c5882 Hi Ihor, do you know anything on the merge progress of your fix into emacs? I just tested with GNU Emacs 29.4 with --no-init-file and the minimal example still does

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2023-08-21 Thread Jakob Schöttl
Am 20.08.23 um 10:57 schrieb Ihor Radchenko: Thanks for the reproducer! I committed a fix onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=58c5c5882 Nice, thank you very much! Now, spaces are only added to headings and the resulting table is reproducible and correct.

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2023-08-20 Thread Ihor Radchenko
Jakob Schöttl writes: > * Table > #+BEGIN: columnview :format "%a %b %c %d %e %f %g %h" > #+END: > ** foo > :PROPERTIES: > :a: a > :b: b > :c: c > :d: d > :e: e > :f: f > :g: g > :h: h > :END: > > The first call to org-dblock-update adds some spaces and only has one > empty line of data in the t

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2023-08-20 Thread Jakob Schöttl
Am 20.08.23 um 08:56 schrieb Ihor Radchenko: Jakob Schöttl 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. Got one: * Tabl

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2023-08-20 Thread Jakob Schöttl
Am 20.08.23 um 08:56 schrieb Ihor Radchenko: Jakob Schöttl 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 impl

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2023-08-19 Thread Ihor Radchenko
Jakob Schöttl 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 headi

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2023-08-19 Thread Jakob Schöttl
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. Here is a minimal example: * Table #+BEGIN: columnview :format "%a %b %c %d %e %f %g" #+END: This works as expe

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2023-08-07 Thread Jakob Schöttl
Am 01.08.23 um 13:27 Ihor Radchenko: Jakob Schöttl writes: The structure of the org file is attached. I tried for two hours to provide a minimal example org file but – like randomly – when I shorten the file radically or remove fields from the colmunview it works. I can't figure out what exa

Re: [Bug] org-update-dblock randomly broken for more than 10 columns and larger files

2023-08-01 Thread Ihor Radchenko
Jakob Schöttl writes: > The structure of the org file is attached. I tried for two hours to > provide a minimal example org file but – like randomly – when I shorten > the file radically or remove fields from the colmunview it works. I > can't figure out what exactly makes org mode struggling.