From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: TABLES: Remove/add cell Date: Fri, 30 Sep 2011 21:06:32 +0200 Message-ID: References: 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]:40223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9iPr-0002Bh-3a for emacs-orgmode@gnu.org; Fri, 30 Sep 2011 15:06:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9iPp-0007Sk-Ja for emacs-orgmode@gnu.org; Fri, 30 Sep 2011 15:06:35 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:55082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9iPp-0007Se-BF for emacs-orgmode@gnu.org; Fri, 30 Sep 2011 15:06:33 -0400 Received: by wyf22 with SMTP id 22so1618346wyf.0 for ; Fri, 30 Sep 2011 12:06:32 -0700 (PDT) In-Reply-To: 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: =?ISO-8859-1?Q?Gustav_Wikstr=F6m?= Cc: emacs-orgmode@gnu.org Oh, and there is a much easier solution, probably the easiest: Transpose the table with this http://orgmode.org/worg/org-hacks.html#sec-1-3-1 If the section numbering changed in the meantime: look for "Transpose tables (Juan Pechiar)" and split it into two (or three) tables: | a | b | c | d | | 1 | 3 | 4 | | (| e | f | g | h |) Then you can use the very convenient editing functions of Org table on the second part of the table, join the parts together and transpose again. Michael 2011/9/30 Michael Brand : > Ehm - it is doable, but not by editing commands from Org table. Only > with several rectangular edits or an Org table formula with a few > tricks and a temporary column to be removed afterward. Probably not as > comfortable as you have expected: > > - insert row in only one column > =A0start with: > =A0| a | 1 | =A0 | > =A0| b | 3 | =A0 | > =A0| c | 4 | =A0 | > =A0| d | =A0 | =A0 | > > =A0| a | 1 | 1 | > =A0| b | 3 | =A0 | > =A0| c | 4 | 3 | > =A0| d | =A0 | 4 | > =A0#+TBLFM: @1$3=3D$-1::@3$3..@>$3=3Dsubscr(@2$2..@>>$2, @# - 2) > > - remove again > =A0start with: > =A0| a | 1 | =A0 | > =A0| b | =A0 | =A0 | > =A0| c | 3 | =A0 | > =A0| d | 4 | =A0 | > > =A0| a | 1 | 1 | > =A0| b | =A0 | 3 | > =A0| c | 3 | 4 | > =A0| d | 4 | =A0 | > =A0#+TBLFM: @1$3=3D$-1::@2$3..@>>$3=3Dsubscr(@3$2..@>$2, @# - 1) > > See the Calc manual for "subscr" and the Org manual for "@#" and the rest= . > > If it does not work (e. g. org-version 6.33) then upgrade.