[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [POLL] Should we enable or disable automatic tag alignment by defaul
|
From: |
Ihor Radchenko |
|
Subject: |
Re: [POLL] Should we enable or disable automatic tag alignment by default everywhere |
|
Date: |
Tue, 23 Apr 2024 11:47:47 +0000 |
Max Nikulin <manikulin@gmail.com> writes:
> There should be a way to align tags for a specific heading even when
> `org-auto-align-tags' is nil.
>
>> - (org-align-tags)
>> + (when org-auto-align-tags (org-align-tags))
I can convert org-align-tags into a command.
> Instead of repetitive changes I would consider either checking
> `org-auto-align-tags' inside `org-align-tags' or introducing a macro.
It will not do much good:
1. If we check inside `org-align-tags', it will be a breaking API
change and the command name will no longer be intuitive.
2. If we introduce a macro/function, it will be something like
(org-align-tags-maybe) - not much different from
(when org-auto-align-tags (org-align-tags))
--
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>