[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Breadcrumbs?

From: Memnon Anon
Subject: Re: [O] Breadcrumbs?
Date: Tue, 25 Sep 2012 15:04:41 +0000 (UTC)

Bastien <address@hidden> 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)))


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---


reply via email to

[Prev in Thread] Current Thread [Next in Thread]