Bastien <[email protected]> writes:
> Indeed! I've updated `org-display-outline-path' so that it can return a
> string:
>
> (org-display-outline-path nil t t)
>
> So you can now hook it like this:
>
> (add-hook 'org-mode-hook
> (lambda() (add-to-list 'mode-line-format
> '(:eval (org-display-outline-path nil t t))
> t)))
Interesting.
But my modeline is already fairly crowded and headlines can be rather long.
I am currently trying this:
--8<---------------cut here---------------start------------->8---
(add-hook 'org-mode-hook
(lambda() (setq header-line-format
'(:eval (org-display-outline-path nil t t)))))
--8<---------------cut here---------------end--------------->8---
Memnon