emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Small bug in table editing
@ 2011-02-03  9:40 Christopher Witte
  2011-02-03 18:27 ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Witte @ 2011-02-03  9:40 UTC (permalink / raw)
  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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-11 11:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-03  9:40 Small bug in table editing Christopher Witte
2011-02-03 18:27 ` 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

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).