From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: get current headline? Date: Fri, 19 Feb 2016 15:41:14 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11420bec117a1b052c25812b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWrrY-0001Fw-4j for emacs-orgmode@gnu.org; Fri, 19 Feb 2016 15:41:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWrrX-0007cN-5T for emacs-orgmode@gnu.org; Fri, 19 Feb 2016 15:41:16 -0500 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:35318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWrrX-0007c0-1U for emacs-orgmode@gnu.org; Fri, 19 Feb 2016 15:41:15 -0500 Received: by mail-io0-x236.google.com with SMTP id g203so121941118iof.2 for ; Fri, 19 Feb 2016 12:41:14 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --001a11420bec117a1b052c25812b Content-Type: text/plain; charset=UTF-8 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 --001a11420bec117a1b052c25812b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I feel like I should know how to do this --= how od I retrieve the current headline as an org-element object?

<= /div>context: I want to take a headline like this

** Jane Doe<= br>- demonstrates an understanding of research topic=C2=A0 :: yes
- Anno= tated Bibliography :: very nicely done
- Grammar and Spelling :: no majo= r problems, but see inline comments
- Further Comments :: see file
- = Grade :: A

And set the headline's "GRADE" p= roperty to the value of the "- Grade ::" line.=C2=A0 But, I want = to make sure that I'm still in the current headline when I set the prop= erty (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 aske= d this question before but can't find the answer...

m=

--001a11420bec117a1b052c25812b--