Hey,

In, your my/org-cycle-status function, if you just set t as the last
argument of your org-table-put call, e.g. "(org-table-put
(org-table-current-line) (org-table-current-column) next t)", the columns
will automatically be realigned after a value is inserted. This is the
docstring for org-table-put:
"Put VALUE into line LINE, column COLUMN. When ALIGN is set, also realign
the table."

Le jeu. 8 mai 2025 à 12:47, Ihor Radchenko <yanta...@posteo.net> a écrit :

> jman <emacs-orgm...@city17.xyz> writes:
>
> > Ok, I have a partial solution:
> > ...
> >
> > Obviously the problem is that I lose the ability to shift columns.
> >
> > Is there a free keybinding in orgmode I could associate this helper? Or
> > is there any way I could have it not interfere with the column shift?
>
> You can always bind it to a free binding. For example, C-c <letter>
> bindings are all free. They are reserved for users and should not be
> used by major modes.
>
> Alternatively, you can enable/disable your hook depending on
> current-prefix-arg value.
>
> --
> Ihor Radchenko // yantar92,
> Org mode maintainer,
> 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