emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] bug in org-capture for table lines


From: Nicolas Goaziou
Subject: Re: [O] bug in org-capture for table lines
Date: Thu, 21 Jun 2018 18:14:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

"Holst Thomas (PS-EC/ESE4)" <address@hidden> writes:

> there is a bug in org-capture. When capturing table lines table formula is 
> not updated.
>
> Here is an ECM:
>
> #+begin_src org
> * Table for testing
>
> |   | Item | Price |
> |---+------+-------|
> |   |      |  3.50 |
> |---+------+-------|
> | # | sum: |  3.50 |
> #+TBLFM: @3$3=vsum(@address@hidden);%.2f
>
> * Lisp code (capture template)
>
> #+begin_src elisp :results none
>   (setq org-capture-templates
>         '(("t" "Table formula" table-line
>            (file+headline "~/tmp/org-capture-table-formula.org" "Table for 
> testing")
>            "| | %^{item} | %^{price} |" :table-line-pos "II-1" 
> :immediate-finish t)))
> #+end_src
>
> #+end_src

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]