emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Properties on buffer level
@ 2021-02-12 15:12 Christine Köhn
  2021-02-12 20:53 ` Tom Gillespie
  0 siblings, 1 reply; 2+ messages in thread
From: Christine Köhn @ 2021-02-12 15:12 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I'm using properties on buffer level to specify header-args for source
code blocks. I noticed that properties defined with #+PROPERTY: before
the first headline do not work unless the buffer is reloaded, but
properties defined in drawers work just fine. Are properties on buffer
level supposed to work like this?

The values set with #+PROPERTY: seem to be read from
org-keyword-properties which seems to be set only at startup. In
contrast, the values set in drawers are read dynamically with
org--property-local-values.

Best,
Christine


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

* Re: Properties on buffer level
  2021-02-12 15:12 Properties on buffer level Christine Köhn
@ 2021-02-12 20:53 ` Tom Gillespie
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Gillespie @ 2021-02-12 20:53 UTC (permalink / raw)
  To: Christine Köhn; +Cc: emacs-orgmode

You should be able to run C-c C-c on #+property: directives before the
first headline and they will be updated without reloading the buffer.
Best,
Tom


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

end of thread, other threads:[~2021-02-12 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 15:12 Properties on buffer level Christine Köhn
2021-02-12 20:53 ` Tom Gillespie

Code repositories for project(s) associated with this 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).