emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to get all headings from current location up to the root
@ 2020-04-11 21:02 George Mauer
  2020-04-12  4:51 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: George Mauer @ 2020-04-11 21:02 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]

I feel silly that I can’t figure this out but how do I get the current
heading, its parent, its parent parent, etc via elisp?

[-- Attachment #2: Type: text/html, Size: 165 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to get all headings from current location up to the root
  2020-04-11 21:02 How to get all headings from current location up to the root George Mauer
@ 2020-04-12  4:51 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2020-04-12  4:51 UTC (permalink / raw)
  To: gmauer, emacs-orgmode

org-get-outline-path ;) 

George Mauer <gmauer@gmail.com> writes:

> I feel silly that I can’t figure this out but how do I get the current
> heading, its parent, its parent parent, etc via elisp?

-- 
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China
Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-12  4:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-11 21:02 How to get all headings from current location up to the root George Mauer
2020-04-12  4:51 ` Ihor Radchenko

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