emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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: Mon, 25 Jul 2016 09:56:20 +0000	[thread overview]
Message-ID: <44E4C4FE-853F-469E-AC96-21909828012C@imperial.ac.uk> (raw)

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
<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

             reply	other threads:[~2016-07-25  9:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-25  9:56 Roelli, Charles A [this message]
2016-07-26  8:42 ` Echo heading hierarchy at point Nicolas Goaziou
2016-07-27  7:41   ` Roelli, Charles A
  -- strict thread matches above, loose matches on Subject: below --
2016-07-21 17:02 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=44E4C4FE-853F-469E-AC96-21909828012C@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).