all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob b19ed6aa1e04d94875de6e3761e7e8a32dc7406e 554 bytes (raw)
name: testing/examples/property-inheritance.org 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
#+property: var    foo=1
#+property: var+ , bar=2

#+begin_src emacs-lisp
  (+ foo bar)
#+end_src

#+begin_src emacs-lisp
  (org-entry-get (point) "var" t)
#+end_src

* overwriting a file-wide property
  :PROPERTIES:
  :var:      foo=7
  :END:

#+begin_src emacs-lisp
  foo
#+end_src

#+begin_src emacs-lisp
  (org-entry-get (point) "var" t)
#+end_src

* appending to a file-wide property
  :PROPERTIES:
  :var+:      , baz=3
  :END:

#+begin_src emacs-lisp
  (+ foo bar baz)
#+end_src

#+begin_src emacs-lisp
  (org-entry-get (point) "var" t)
#+end_src

debug log:

solving b19ed6a ...
found b19ed6a in https://yhetil.org/emacs/87ty6ffuu6.fsf@gmail.com/

applying [1/1] https://yhetil.org/emacs/87ty6ffuu6.fsf@gmail.com/
diff --git a/testing/examples/property-inheritance.org b/testing/examples/property-inheritance.org
new file mode 100644
index 0000000..b19ed6a

Checking patch testing/examples/property-inheritance.org...
Applied patch testing/examples/property-inheritance.org cleanly.

index at:
100644 b19ed6aa1e04d94875de6e3761e7e8a32dc7406e	testing/examples/property-inheritance.org

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.