emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Breadcrumbs?


From: Bastien
Subject: Re: [O] Breadcrumbs?
Date: Tue, 25 Sep 2012 03:16:46 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Bastien <address@hidden> writes:

> What about this?

Or, inspired by Anthony's use of `org-get-outline-path':

(defun org-show-olpath ()
  "Show the outline path."
  (org-no-properties
   (mapconcat 'identity
              (append (ignore-errors (org-get-outline-path))
                      (ignore-errors (list (org-get-heading t t))))
              "/")))

(add-hook 'org-mode-hook
          (lambda() (add-to-list 'mode-line-format
                                 '(:eval (org-show-olpath)) t)))

-- 
 Bastien



reply via email to

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