Marcus Kammer <[email protected]> writes:

> When using ~%^{CATEGORY}p~ in an org-capture template, the minibuffer
> completion list is empty even though ~CATEGORY_ALL~ is defined in
> ~org-global-properties~.  This works for ~EFFORT~ (~%^{EFFORT}p~) but
> not for ~CATEGORY~.
> ...
> * Root Cause
>
> In ~org-property-get-allowed-values~ (org.el, ~13688~), there is an
> explicit ~cond~ clause for the CATEGORY property:
>

So, your own analysis clearly shows that it is done on purpose.
I have looked into the commit that introduced this line:
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1de825df3
but I do not see why CATEGORY should be treated specially. The commit
does the opposite - makes CATEGORY non-special.
I also do not see any obvious downsides of allowing CATEGORY_ALL to be
honored.

Fixed on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2e8b061b6

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