Re: [O] Echo heading hierarchy at point

2016-07-27 Thread Roelli, Charles A
Thank you!

`(org-display-outline-path nil t)’ gets it done.


> On Jul 26, 2016, at 9:42 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:
> 
> Hello,
> 
> "Roelli, Charles A" <charles.roell...@imperial.ac.uk> writes:
> 
>> Sent this in a few days ago, and it does not seem to have gone through: 
>> 
>> ---
>> 
>> If I have this structure, with point marked by the "$":
>> 
>> * Heading Level 1
>> ** Heading Level 2
>> $
>> 
>> 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.
> 
> See `org-display-outline-path' and `org-get-outline-path'.
> 
> 
> Regards,
> 
> -- 
> Nicolas Goaziou



[O] Echo heading hierarchy at point

2016-07-26 Thread Roelli, Charles A
Sent this in a few days ago, and it does not seem to have gone through: 

---

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

* Heading Level 1
** Heading Level 2
$

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.

Cheers,
Charles




[O] Echo heading hierarchy at point

2016-07-26 Thread Roelli, Charles A
If I have this structure, with point marked by the "$":

* Heading Level 1
** Heading Level 2
$

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.

Cheers,
Charles