Skip to main content
5 events
when toggle format what by license comment
Mar 30, 2022 at 21:19 comment added NickD Yes, I understand what you want to do. I don't see an alternative though: the org-compile-prefix-format function will have to be changed to provide an evaluator that provides the whole string of all the tags rather than the last tag. BTW, it'll probably destroy the alignment of your items completely.
Mar 30, 2022 at 20:45 comment added onlycparra My final target is to use the tags string at the left of the items in the agenda-view. Perhaps there is an alternative approach to this?
Mar 30, 2022 at 18:06 comment added NickD The line numbers are approximate of course: they are the ones in my copy of the code which is ` Org mode version 9.5.2 (release_9.5.2-409-gc1b034)`.
Mar 30, 2022 at 18:03 comment added NickD I don't see a way of doing that. This is buried in a couple of places in the code: in org-compile-prefix-fomrat which pre-cooks the org-agenda-prefix-format string into a more efficient structure that will allow quicker processing of all the agenda items, and in org-agenda-format-item which is called to process each item on the agenda. The relevant processing in the latter is in org-agenda.el:L7228ff for the first part (getting rid of the tags at the end of the item) and org-agenda.el:L7278 for adding the last tag to the item in the place you specified in org-agenda-prefix-format.
Mar 30, 2022 at 3:55 history asked onlycparra CC BY-SA 4.0