lou <[email protected]> writes: >> So, it is more complex (as usual in agenda code). > > Yeah that seems right. I think the doc string to > `org-agenda-prefix-format` should probably be explicit about not > being able to rely on it being evaluated either in the agender or > the org buffer.
I updated the docstring. Hopefully, more accurate now. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=85ed5be60 > While looking at `org-agenda-format-item` and trying to figure out > where exactly the prefix is composed I realised that there are a > bunch of dynamically scoped variables in that function. Including > `category`. So this works, without any erros or warnings: > ... > But obv. depends on the internals of that function. Yup. It will be fragile to rely on that. -- 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>
