emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* API for manipulating #+PROPERTY entries?
@ 2019-03-05  6:51 Nik Clayton
  2019-03-05  7:47 ` Nicolas Goaziou
  2019-03-05 18:38 ` John Kitchin
  0 siblings, 2 replies; 3+ messages in thread
From: Nik Clayton @ 2019-03-05  6:51 UTC (permalink / raw)
  To: emacs-orgmode

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

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

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

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

end of thread, other threads:[~2019-03-05 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-05  6:51 API for manipulating #+PROPERTY entries? Nik Clayton
2019-03-05  7:47 ` Nicolas Goaziou
2019-03-05 18:38 ` John Kitchin

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