On Jun 23, 2010, at 10:05 AM, Sebastian Rose wrote:

Carsten Dominik <carsten.domi...@gmail.com> writes:
On Jun 23, 2010, at 1:56 AM, Sebastian Rose wrote:



I have a problem with the properties and org-capture-templates.


  "* DONE %u  (%^{Sport|run|run|swim|wout})  %^{Distance}  x:xx
    :PROPERTIES:
    :date:     %u
    :pace:     x:xx
    :kcal:     xxx
    :END:
     %^{meters}p %^{start}p %^{time}p %^{type}p %x^{rpuls}p"


results in:


  * DONE [2010-06-23 Mi]  (run)  22222  x:xx
    :PROPERTIES:
    :meters:   22222
    :start:    16:00
    :time:     01:30:00
    :type:     lgDL
    :END:
  :date:     [2010-06-23 Mi]
    :pace:     x:xx
    :kcal:     xxx
    :END:


Note the :END: after the :type: property.

I cannot reproduce this.

- Carsten


Err, sorry, my fault.

This here works as expected:

   "* DONE %u  (%^{Sport|run|run|swim|wout})  %^{Distance}  x:xx
     :PROPERTIES:
     :date:     %u
     :pace:     x:xx
     :kcal:     xxx
     %^{meters}p %^{start}p %^{time}p %^{type}p %^{rpuls}p
     :END:"

No idea why I didn't try to put the `:END:' to the end :-/




The way properties are added in templates are likely to change
soon, stay tuned...

- Carsten




_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to