Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to get org-mode to show breadcrumbs in agenda todo list?

In Emacs, I have a set of TODOs in the following format

* H1
** H2
*** H3
**** TODO X

When I look at the agenda-todo view, it shows up only as TODO x. Is there any way to get the agenda view to display it as H1/H2/H3/TODO X ?

like image 381
Rahul Gopinath Avatar asked Apr 06 '14 01:04

Rahul Gopinath


2 Answers

You should be able to use %b in the format string to show the breadcrumb.

like image 127
hrehfeld Avatar answered Oct 16 '22 22:10

hrehfeld


I found this solution from here

(setq org-agenda-prefix-format '((agenda . " %i %-12:c%?-12t% s")
         (timeline . "  % s")
         (todo .
               " %i %-12:c %(concat \"[ \"(org-format-outline-path (org-get-outline-path)) \" ]\") ")
         (tags .
               " %i %-12:c %(concat \"[ \"(org-format-outline-path (org-get-outline-path)) \" ]\") ")
         (search . " %i %-12:c"))
      )

This shows the breadcrumbs in the agenda todo view.

like image 36
Rahul Gopinath Avatar answered Oct 16 '22 22:10

Rahul Gopinath