emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Witte <chris@witte.net.au>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Small bug in table editing
Date: Thu, 3 Feb 2011 10:40:26 +0100	[thread overview]
Message-ID: <AANLkTi=5H+sg8yaZct-fju0X67HfoCvR4XKtDt9qWmr8@mail.gmail.com> (raw)

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.

             reply	other threads:[~2011-02-03  9:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03  9:40 Christopher Witte [this message]
2011-02-03 18:27 ` Small bug in table editing Achim Gratz
2011-02-04  9:04   ` Christopher Witte
2011-02-04 16:58     ` Achim Gratz
2011-02-07  9:26       ` Christopher Witte
2011-02-11 11:29         ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=5H+sg8yaZct-fju0X67HfoCvR4XKtDt9qWmr8@mail.gmail.com' \
    --to=chris@witte.net.au \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).