From: flav <flav.justflav@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Issue with #+TBLFM in dynamic block
Date: Thu, 27 Sep 2012 14:29:03 +0200 [thread overview]
Message-ID: <20120927122849.GA2172@gmail.com> (raw)
Slt,
I try to add formulas to a table in a dynamic block (obtained by columns capture), but when I update the dynamic block, the #+TBLFM line disappears and the added columns also disappear.
The file :
#+COLUMNS: %ITEM %Note
Soutenance finale promo 2013
* Note
#+BEGIN: columnview :hlines 1 :id global :maxlevel 2 :skip-empty-rows t
| ITEM | Note | A | B | C | D | F |
|----------+------+---+---+---+---+---|
| ** scube | C | 0 | 0 | 1 | 0 | 0 |
| ** ids | D | 0 | 0 | 0 | 1 | 0 |
#+TBLFM: $3='(if (equal "A" $2) 1 0)::$4='(if (equal "B" $2) 1 0)::$5='(if (equal "C" $2) 1 0)::$6='(if (equal "D" $2\
) 1 0)::$7='(if (equal "F" $2) 1 0)
#+END:
** scube
:PROPERTIES:
:Note: C
:END:
[...]
** ids
:PROPERTIES:
:Note: D
:END:
[...]
After the C-c C-c
#+BEGIN: columnview :hlines 1 :id global :maxlevel 2 :skip-empty-rows t
| ITEM | Note |
|----------+------|
| ** scube | C |
| ** ids | D |
#+END:
M-x org-version
Org-mode version 7.9.1 (7.9.1-dist @ /usr/share/emacs/site-lisp/org/)
Do you have an idea ?
Thanks
--
flav
next reply other threads:[~2012-09-27 12:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-27 12:29 flav [this message]
2012-09-27 12:44 ` Issue with #+TBLFM in dynamic block Michael Brand
2012-09-27 12:52 ` flav
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120927122849.GA2172@gmail.com \
--to=flav.justflav@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).