Earl Chase <[email protected]> writes: >> + (let* ((olp (org-get-outline-path)) >> + (title (cadr (assoc "TITLE" >> + (org-collect-keywords >> + '("TITLE"))))) >> + (parts (append (when title (list title)) >> + olp >> + (list heading)))) >> + (mapconcat #'identity parts " > ")) >> + heading))) > > You can simplify your code by using `org-display-outline-path'. The > equivalent to the above code would be: (org-display-outline-path > 'title t " > " t).
I suspect that the code in this area can be improved by moving the description logic into `org-id-description'. I did not look in details though. -- 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>
