From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Breadcrumbs? Date: Tue, 25 Sep 2012 03:46:32 +0200 Message-ID: <87vcf2zxfr.fsf@bzg.ath.cx> References: <21A5E1E970CD46459ECBE86D6CC4B28C676DD94D@spexch01.WindLogics.local> <87r4pqdhjf.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGKEM-0003FJ-Gg for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 21:46:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGKEL-0002sH-J3 for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 21:46:34 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:39568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGKEL-0002s6-9b for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 21:46:33 -0400 Received: by wibhq4 with SMTP id hq4so4755519wib.12 for ; Mon, 24 Sep 2012 18:46:29 -0700 (PDT) In-Reply-To: <87r4pqdhjf.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 25 Sep 2012 09:20:52 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Eric Abrahamsen writes: > The command `org-display-outline-path' will do this -- you could just > bind it to a key in org-mode-map. 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))) -- Bastien