emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] API for manipulating #+PROPERTY entries?


From: John Kitchin
Subject: Re: [O] API for manipulating #+PROPERTY entries?
Date: Tue, 5 Mar 2019 13:38:47 -0500

You might find a function like this one: https://github.com/jkitchin/techela-emacs/blob/master/techela-grade.el#L149 

helpful. There are some variations that do similar things.

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803


On Tue, Mar 5, 2019 at 1:51 AM Nik Clayton <address@hidden> wrote:
Hoi,

Is there an API for manipulating properties that are set in #+PROPERTY lines before the first headline of a file (i.e., not in a property drawer)?

I've got some properties that (a) make sense when set for the whole file, and (b) the file contains multiple first level headings (which isn't going to change).

Using org-entry-put when point is before the first headline throws a "Before first headline" error (when when the #+PROPERTY line already exists and I want to update an existing entry).

N

reply via email to

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