From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Table formula bug? (TBLFM line populated, but C-c = prompt is empty) Date: Mon, 23 Nov 2015 23:24:39 +0100 Message-ID: <87bnak9wwo.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0zVf-0002rg-NF for emacs-orgmode@gnu.org; Mon, 23 Nov 2015 17:22:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0zVb-0006Gf-Pz for emacs-orgmode@gnu.org; Mon, 23 Nov 2015 17:22:55 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0zVb-0006GV-Ky for emacs-orgmode@gnu.org; Mon, 23 Nov 2015 17:22:51 -0500 In-Reply-To: (John Hendy's message of "Mon, 23 Nov 2015 13:07:59 -0600") 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: John Hendy Cc: emacs-orgmode Hello, John Hendy writes: > I was just creating a table and using a formula, finding that C-c = > did not bring up the formula, but acted like I was inputting one for > the first time. I created a min-config and test file to see if this > was something related to my setup, but it seems I can reproduce. > > Org-mode version 8.3.2 (release_8.3.2-338-g522ec9 @ > /home/jwhendy/.elisp/org.git/lisp/) > > #+begin_src min-config > ;; set load paths > ;; set load dirs and global config options > (add-to-list 'load-path "~/.elisp/org.git/lisp/") > (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp") > #+end_src > > Emacs started with =emacs -Q=, followed by =M-x load-file RET > ~/Desktop/min-config RET= > > #+begin_src table-test.org > > * Headline > > | something | something else | > |-----------+----------------| > | 1 | 3 | > | 2 | | > | 3 | | > | 4 | | > #+TBLFM: $2=1+2 > > #+end_src > > I created the contents in row 1 col 2 by entering "=1+2 RET". With > cursor in row 2 col 2, I press C-c = and see the attached (empty > prompt for a column 2 formula). If I type in 1+2 and press return, the > TBLFM line changes to: > > #+TBLFM: $2=1+2::$$2=1+2 > > If I go to row 3 and C-c = again, pressing RET to accept the default > (maybe the formula is "stored" but just not displayed?), it changes to > (and nothing is put in row 3 col 2): > > #+TBLFM: $$2=1+2 > > If I go to row 4 and do this one more time, pressing RET with empty > formula, it leaves an empty TBLFM line under the table. Fixed. Thank you. Regards, -- Nicolas Goaziou