From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: viewing number of nested headlines Date: Tue, 05 Feb 2013 14:25:11 +0100 Message-ID: <861ucuriyw.fsf@somewhere.org> References: <87y5f3vycq.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Bastien, Bastien wrote: > 42 147 writes: > >> Is there a way to see how many nested headlines there are within a >> higher-level headline (not necessarily top-level)? > > This is a nice feature of VimOrganizer but no, there is no way to do > this with Org for now. IIUC, this should (almost) answer the OP's request, by displaying the outline path in mode line: #+begin_src emacs-lisp (add-hook 'org-mode-hook (lambda() (add-to-list 'mode-line-format '(:eval (org-propertize (org-display-outline-path nil t " / " t) 'face 'mode-line-emphasis 'help-echo "Outline path")) t))) #+end_src A variation of it could directly count the number of levels... Best regards, Seb -- Sebastien Vauban