From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: [bug] removing last column with a column formula Date: Tue, 9 Aug 2011 16:54:09 +0200 Message-ID: References: <87zkjilpej.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqnh9-0005lO-6r for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 10:54:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qqnh4-0002rt-Tr for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 10:54:15 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:64011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqnh4-0002rd-PU for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 10:54:10 -0400 Received: by wwf10 with SMTP id 10so50251wwf.30 for ; Tue, 09 Aug 2011 07:54:09 -0700 (PDT) In-Reply-To: <87zkjilpej.fsf@gmail.com> 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: Nicolas Goaziou Cc: Org Mode List Hi Nicolas Columns and rows are better referenced with "<" and ">" in many cases to avoid such oddities: #+begin_src org | 1 | 2 | 3 | | 1 | 2 | 3 | #+TBLFM: @2$<..@2$>=3D@1 #+end_src http://orgmode.org/manual/References.html#References Michael On Tue, Aug 9, 2011 at 14:50, Nicolas Goaziou wrote: > Hello, > > Let's consider the following table: > > #+begin_src org > | 1 | 2 | 3 | > | 1 | 2 | 3 | > #+TBLFM: @2$1..@2$3=3D@1 > #+end_src > > If I remove the second column (M-S-Left), the formula is correctly > updated. But when I remove the last column, the formula gets partly > deleted and becomes: > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0#+TBLFM: @2$1.. > > Also, if this times, the first column is removed, that line becomes: > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0#+TBLFM: @2$INVALID..@2$2=3D@1 > > This is with latest Org and no user configuration.