* odd table behavior
@ 2010-01-14 16:03 David Ellis
2010-01-14 17:03 ` Manish
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: David Ellis @ 2010-01-14 16:03 UTC (permalink / raw)
To: emacs-orgmode
I haven't used tables much so please forgive me if this is a dumb question.
I thought if I typed the following:
|this|is|a|test|
|will tables work?|
and I pressed the enter key with the cursor at the end of the second
line, the tables would reformat. This doesn't seem to be working
anymore for me. If I press the <TAB> key that reformats.
I am using GNU Emacs 23.1.1on Windows with org version 6.33f.
I also noticed that if I type |- at the beginning of a line and then
hit return, it remains |-. If I press <TAB>, it works correctly.
First of all, am I correct that return should reformat. If so, what
should I check to try to fix this.
Thanks,
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: odd table behavior
2010-01-14 16:03 odd table behavior David Ellis
@ 2010-01-14 17:03 ` Manish
2010-01-14 22:33 ` Chris Randle
2010-01-15 5:54 ` Carsten Dominik
2 siblings, 0 replies; 4+ messages in thread
From: Manish @ 2010-01-14 17:03 UTC (permalink / raw)
To: David Ellis; +Cc: emacs-orgmode
On Thu, Jan 14, 2010 at 9:33 PM, David Ellis wrote:
> I haven't used tables much so please forgive me if this is a dumb question.
>
> I thought if I typed the following:
>
> |this|is|a|test|
> |will tables work?|
>
> and I pressed the enter key with the cursor at the end of the second
> line, the tables would reformat. This doesn't seem to be working
> anymore for me. If I press the <TAB> key that reformats.
>
> I am using GNU Emacs 23.1.1on Windows with org version 6.33f.
>
> I also noticed that if I type |- at the beginning of a line and then
> hit return, it remains |-. If I press <TAB>, it works correctly.
>
> First of all, am I correct that return should reformat.
I don't think so. I don't recall tables ever functioning that way.
Did they behave this way earlier?
> If so, what should I check to try to fix this.
May be you can rebind org-cycle to another key if TAB is inconvenient,
say C-j or something? But I guess that is not what you need.
--
Manish
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: odd table behavior
2010-01-14 16:03 odd table behavior David Ellis
2010-01-14 17:03 ` Manish
@ 2010-01-14 22:33 ` Chris Randle
2010-01-15 5:54 ` Carsten Dominik
2 siblings, 0 replies; 4+ messages in thread
From: Chris Randle @ 2010-01-14 22:33 UTC (permalink / raw)
To: David Ellis; +Cc: emacs-orgmode
Hi David
David Ellis wrote:
> I thought if I typed the following:
>
> |this|is|a|test|
> |will tables work?|
>
> and I pressed the enter key with the cursor at the end of the second
> line, the tables would reformat. This doesn't seem to be working
> anymore for me. If I press the <TAB> key that reformats.
The table will reformat if you press the enter key at the end of the
line (after "work?") without typing the closing bar "|".
Pressing enter *inside* any cell will reformat the table and move down
to the next cell, but not if you're outside of the grid.
Also, C-c C-c anywhere within the table block (even if outside of the
grid, as in your example) will reformat, keeping the cursor in its
current position.
--
Chris Randle
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: odd table behavior
2010-01-14 16:03 odd table behavior David Ellis
2010-01-14 17:03 ` Manish
2010-01-14 22:33 ` Chris Randle
@ 2010-01-15 5:54 ` Carsten Dominik
2 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2010-01-15 5:54 UTC (permalink / raw)
To: David Ellis; +Cc: emacs-orgmode
On Jan 14, 2010, at 5:03 PM, David Ellis wrote:
> I haven't used tables much so please forgive me if this is a dumb
> question.
>
> I thought if I typed the following:
>
> |this|is|a|test|
> |will tables work?|
>
> and I pressed the enter key with the cursor at the end of the second
> line, the tables would reformat. This doesn't seem to be working
> anymore for me. If I press the <TAB> key that reformats.
This is a special exception with the ENTER key. At the end
of a line in a table it always makes a new line, because this
is pretty much the only way to split a table into two, for example.
Manish and Chris have already explained everything else.
- Carsten
>
> I am using GNU Emacs 23.1.1on Windows with org version 6.33f.
>
> I also noticed that if I type |- at the beginning of a line and then
> hit return, it remains |-. If I press <TAB>, it works correctly.
>
> First of all, am I correct that return should reformat. If so, what
> should I check to try to fix this.
>
> Thanks,
>
> Dave
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-15 5:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14 16:03 odd table behavior David Ellis
2010-01-14 17:03 ` Manish
2010-01-14 22:33 ` Chris Randle
2010-01-15 5:54 ` Carsten Dominik
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).