From: "Roelli, Charles A" <charles.roelli13@imperial.ac.uk>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Echo heading hierarchy at point
Date: Thu, 21 Jul 2016 17:02:34 +0000 [thread overview]
Message-ID: <18C276A8-6C20-46ED-9450-84E027A21CA0@imperial.ac.uk> (raw)
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.
Cheers,
Charles
next reply other threads:[~2016-07-21 17:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-21 17:02 Roelli, Charles A [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-07-25 9:56 Echo heading hierarchy at point Roelli, Charles A
2016-07-26 8:42 ` Nicolas Goaziou
2016-07-27 7:41 ` Roelli, Charles A
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18C276A8-6C20-46ED-9450-84E027A21CA0@imperial.ac.uk \
--to=charles.roelli13@imperial.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).