Hi,

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(@-II..@-I);%.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

(emacs-version)
"GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 
2018-06-18"

(org-version)
Org mode version 9.1.13 (release_9.1.13-821-g460d83 @ 
/home/hts2fe/git-emacs/org-mode/lisp/)

Thank you for looking into this.

Mit freundlichen Grüßen / Best regards

Thomas Holst
PS-EC/ESE4

Tel. +49 711 811-40681

Reply via email to