From mboxrd@z Thu Jan 1 00:00:00 1970 From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Subject: Re: org table with auto-incrementing numbers in a column Date: Tue, 16 Feb 2016 08:24:17 +0100 Message-ID: <87a8n1yv6m.fsf@duenenhof-wilhelm.de> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVa73-0005w1-Pv for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 02:31:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVa6y-0005O3-Ow for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 02:31:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:40790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVa6y-0005Nr-HV for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 02:31:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVa6w-0005Cv-Nj for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 08:31:50 +0100 Received: from p57acd2d9.dip0.t-ipconnect.de ([87.172.210.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 08:31:50 +0100 Received: from dieter by p57acd2d9.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 08:31:50 +0100 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 > > Try this > > | N | | > |---+---| > | | | > | | | > | | | > | | | > #+TBLFM: $1..>$1= -1 + 1:: 2$1=1 > I don't know exactly why "N" is *not* erased but the following is working for me (org 8.2.10). | N | |-------| | 1 | | 2 | | 3 | | 4 | | 5 | #+TBLFM: $1=@#-1 > Placing point on the TBLFM line and doing C-c C-c should recalculate the > whole table. and C-u C-c C-* does it anywhere in the table. Dieter -- Best wishes H. Dieter Wilhelm Kelkheim, Germany