From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Witte Subject: Small bug in table editing Date: Thu, 3 Feb 2011 10:40:26 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=58700 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkvfx-0000Ye-FW for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 04:40:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pkvfw-0002FV-5Q for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 04:40:29 -0500 Received: from mail-yx0-f169.google.com ([209.85.213.169]:61732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pkvfw-0002F4-2t for emacs-orgmode@gnu.org; Thu, 03 Feb 2011 04:40:28 -0500 Received: by yxl31 with SMTP id 31so466216yxl.0 for ; Thu, 03 Feb 2011 01:40:26 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Hi, I've been using the table editing feature of org mode, I never realised plain text tables could be such fun to work with, and I just came across a small bug. I had entered a table: | Heading 1 | Heading 2 | | 1 | 2 | | 11 | 22 | and then decided I wanted to go back and put a horizontal line after the heading. So I want to the start of the line after the heading and entered "|-" | Heading 1 | Heading 2 | |-| 1 | 2 | | 11 | 22 | when I then pressed enter (or tab), the first line of data got eaten up and replaced with the horizontal line like this: | Heading 1 | Heading 2 | |-----------+-----------| | 11 | 22 | This wasn't the behaviour I was expecting :). While it is pretty obvious to see what was going on in this example, if you have a long table it isn't as obvious and I didn't notice until much later (emacs undo in region saved the day). Cheers, Chris.