[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] About commit named "Allow multi-line properties to be specified
From: |
Eric Schulte |
Subject: |
Re: [O] About commit named "Allow multi-line properties to be specified in property blocks" |
Date: |
Mon, 07 Nov 2011 15:09:37 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
The attached patch implements this latest "propname+" suggestion. When
applied it results in the behavior shown below.
I'm inclined to go with this as a solution moving forward.
Thoughts?
#+property: var foo=1
#+property: var+ , bar=2
#+begin_src emacs-lisp
(+ foo bar)
#+end_src
#+results:
: 3
#+begin_src emacs-lisp
(org-entry-get (point) "var" t)
#+end_src
#+results:
: foo=1, bar=2
* overwriting a file-wide property
:PROPERTIES:
:var: foo=7
:END:
#+begin_src emacs-lisp
foo
#+end_src
#+results:
: 7
#+begin_src emacs-lisp
(org-entry-get (point) "var" t)
#+end_src
#+results:
: foo=7
* appending to a file-wide property
:PROPERTIES:
:var+: , baz=3
:END:
#+begin_src emacs-lisp
(+ foo bar baz)
#+end_src
#+results:
: 6
#+begin_src emacs-lisp
(org-entry-get (point) "var" t)
#+end_src
#+results:
: foo=1, bar=2, baz=3
0001-property-names-ending-in-plus-accumulate.patch
Description: Text Data
--
Eric Schulte
http://cs.unm.edu/~eschulte/
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", (continued)
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Eric Schulte, 2011/11/03
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Nicolas Goaziou, 2011/11/03
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Eric Schulte, 2011/11/03
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Eric Schulte, 2011/11/03
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Rainer M Krug, 2011/11/04
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Darlan Cavalcante Moreira, 2011/11/04
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Eric Schulte, 2011/11/04
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks",
Eric Schulte <=
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Rainer M Krug, 2011/11/08
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Sebastien Vauban, 2011/11/08
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Rainer M Krug, 2011/11/08
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Sebastien Vauban, 2011/11/08
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Rainer M Krug, 2011/11/08
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Darlan Cavalcante Moreira, 2011/11/08
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Sebastien Vauban, 2011/11/08
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Eric Schulte, 2011/11/08
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Eric Schulte, 2011/11/08
- Re: [O] About commit named "Allow multi-line properties to be specified in property blocks", Rainer M Krug, 2011/11/09