Re: [Orgmode] odd table behavior

2010-01-14 Thread Carsten Dominik


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  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 , 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





___
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


Re: [Orgmode] odd table behavior

2010-01-14 Thread Chris Randle

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


___
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


Re: [Orgmode] odd table behavior

2010-01-14 Thread Manish
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  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 , 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


___
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


[Orgmode] odd table behavior

2010-01-14 Thread David Ellis
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  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 , 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