andrea Crotti <andrea.crott...@gmail.com> writes: > 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?
Anything is possible in Emacs :) -- just look at org-mode! This sounds like a use for a keyboard macro to me... Position point on line 1 of the table C-x ( C-s SPC C-s RET | C-a C-n C-x e and repeat 'e' for every line in the table then C-p C-c C-c to realign. If you do this a lot you can save the macro or build a lisp function that does it - repeating for the entire table. HTH, -Bernt _______________________________________________ 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