I do a macros for this

Put the point on the first word of the table
Record Macro
Search for " "
Insert "|"
Tab (next column)
Tab (first column next row
Stop Recording.

Then just C-x e (run macro) until the job is done.   If you know how many lines 
are on the table, you can use a prefix argument with C-x e.



-----Original Message-----
From: emacs-orgmode-bounces+jonathana=criticalmass....@gnu.org 
[mailto:emacs-orgmode-bounces+jonathana=criticalmass....@gnu.org] On Behalf Of 
andrea Crotti
Sent: September 29, 2009 8:49 AM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] From formatted to table

I have for example a table where

| one thing     | dsjfls   |
| two things    | dslkjfls |
| three abc dej | dsf      |

And I would like to get

| one   | thing   | dsjfls   |
| two   | things  | dslkjfls |
| three | abc dej | dsf      |

I tried some simple substitutions but substituting all the spaces in
the region selected will cause problems elsewhere.  I would need to
substitute " " only in one column, is that possible?



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

The information contained in this message is confidential. It is intended to be 
read only by the individual or entity named above or their designee. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any distribution of this message, in any form, is strictly prohibited. If 
you have received this message in error, please immediately notify the sender 
and delete or destroy any copy of this message.


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to