From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: Table: Insert Cell Date: Thu, 29 Jan 2015 21:20:34 +0100 Message-ID: <84twz9bap9.fsf@gmail.com> References: <874mr9tn3k.fsf@gmail.com> <87bnlh5q5n.fsf@yale.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGvaB-0007Ms-4r for emacs-orgmode@gnu.org; Thu, 29 Jan 2015 15:21:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGva0-0005VN-44 for emacs-orgmode@gnu.org; Thu, 29 Jan 2015 15:20:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:52690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGvZz-0005VG-RV for emacs-orgmode@gnu.org; Thu, 29 Jan 2015 15:20:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YGvZx-0004OH-7p for emacs-orgmode@gnu.org; Thu, 29 Jan 2015 21:20:41 +0100 Received: from stgt-5f71a481.pool.mediaways.net ([95.113.164.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jan 2015 21:20:41 +0100 Received: from marcowahlsoft by stgt-5f71a481.pool.mediaways.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jan 2015 21:20:41 +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 jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) writes: > Tory S. Anderson writes: > >> Does anyone know a solution for the surely common case of needing to >> insert a cell (not a column or row) into an orgmode table? >> Spreadsheet programs allow the option of pushing the column down or >> pushing the cells right in this case. How can this be achieved in >> orgmode? > > I do not think that there is a command for that. For pushing the row, > it is trivial just write the new cell > > | 1 | 2 | 3 | > | 4 | 5 | 6 | > | 7 | 8 | 9 | > > | 1 | 2 | 3 | > | 4 | here|5 | 6 | > | 7 | 8 | 9 | > > [...] > > For pushing the column, you can use kill-rectangle after inserting > another row > > | 1 | 2 | 3 | > | 4 | 5 | 6 | > | 7 | 8 | 9 | > > TAB on the 9 cell >[...] > Finally, C-c C-c, gives you what you want > > | 1 | 2 | 3 | > | 4 | | 6 | > | 7 | 5 | 9 | > | | 8 | | This could be the day of org-table-transpose-table-at-point. | 1 | 2 | 3 | | 4 | 5 | 6 | | 7 | 8 | 9 | org-table-transpose-table-at-point | 1 | 4 | 7 | | 2 | 5 | 8 | | 3 | 6 | 9 | | 1 | 4 | 7 | | 2 || 5 | 8 | | 3 | 6 | 9 | C-c C-c | 1 | 4 | 7 | | | 2 | | 5 | 8 | | 3 | 6 | 9 | | org-table-transpose-table-at-point | 1 | 2 | 3 | | 4 | | 6 | | 7 | 5 | 9 | | | 8 | | Regards, Marco -- http://www.wahlzone.de GPG: 0x49010A040A3AE6F2