unofficial mirror of emacs-orgmode@gnu.org
 help / color / mirror / 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

unofficial mirror of emacs-orgmode@gnu.org

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/orgmode/0 orgmode/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 orgmode orgmode/ https://yhetil.org/orgmode \
		emacs-orgmode@gnu.org
	public-inbox-index orgmode

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git