Bastien,

Bastien wrote:
> 42 147 <aeus...@gmail.com> 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


Reply via email to