John Mathena <jmmath...@gmail.com> writes: > The category of items in an "agenda" block view as returned by > org-agenda-get-category are truncated based on the value of the prefix > format; this isn't the case for e.g. the tags-todo view. For instance, > if an item has a category "marathon training", and your agenda and > tags-todo views both have prefix formats of " %8.8:c ", calling > org-agenda-get-category on that item while it's being displayed in the > agenda will yield a category of "marathon", while calling it on the > same item in the tags-todo view will yield "marathon training".
Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=19db45f2c -- 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>