[Top][All Lists]

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

[O] Echo heading hierarchy at point

From: Roelli, Charles A
Subject: [O] Echo heading hierarchy at point
Date: Thu, 21 Jul 2016 17:02:34 +0000

If I have this structure, with point marked by the "$":

* Heading Level 1
** Heading Level 2
<normal text here>$

Is there a way to have the current place in the outline [Heading Level 1 => 
Heading Level 2] temporarily echoed in the minibuffer? Also important is that 
the point shouldn't have to be on the heading title for it to work.

At the moment I am using 'which-function-mode' to accomplish something similar: 
it displays the current subheading in the mode line. However it relies on Imenu 
(so it needs to be rescanned when new headings are added). If anybody knows a 
better way I would be interested in hearing about it.


reply via email to

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