emacs-orgmode
[Top][All Lists]
Advanced

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

[O] get current headline?


From: Matt Price
Subject: [O] get current headline?
Date: Fri, 19 Feb 2016 15:41:14 -0500

I feel like I should know how to do this -- how od I retrieve the current headline as an org-element object?

context: I want to take a headline like this

** Jane Doe
- demonstrates an understanding of research topic  :: yes
- Annotated Bibliography :: very nicely done
- Grammar and Spelling :: no major problems, but see inline comments
- Further Comments :: see file
- Grade :: A

And set the headline's "GRADE" property to the value of the "- Grade ::" line.  But, I want to make sure that I'm still in the current headline when I set the property (rather than accidentally navigating to the next headline, because the current headline doesn't contain a "- Grade ::" lin).

Tanks as always for the help! I'm pretty sure I've asked this question before but can't find the answer...

m


reply via email to

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