From mboxrd@z Thu Jan 1 00:00:00 1970 From: flav Subject: Issue with #+TBLFM in dynamic block Date: Thu, 27 Sep 2012 14:29:03 +0200 Message-ID: <20120927122849.GA2172@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THDDR-0001XJ-AL for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 08:29:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THDDL-0007dL-Gc for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 08:29:17 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:55137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THDDL-0007d9-AF for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 08:29:11 -0400 Received: by eekc4 with SMTP id c4so1089166eek.0 for ; Thu, 27 Sep 2012 05:29:10 -0700 (PDT) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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