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: Nicolas Goaziou
Subject: Re: [O] API for manipulating #+PROPERTY entries?
Date: Tue, 05 Mar 2019 08:47:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Nik Clayton <address@hidden> writes:

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

There is no API for keywords.

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

`org-entry-put' is for node properties. Those do not necessary have
a keyword equivalent. Reciprocally, some keywords cannot be translated
into node properties.

Regards,

-- 
Nicolas Goaziou



reply via email to

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