Re: [O] Re-align All Tables in a Region.

2012-08-19 Thread Ian Barton
On 18/08/12 09:40, Andrew Young wrote: Sat, Aug 18, 2012 at 4:14 AM, Ian Barton wrote: I have a file which contains lots of tables. The document is created by a shell script, so when it's opened none of the tables are aligned. Is there a command that will let me re-align all tables in a region?

Re: [O] Re-align All Tables in a Region.

2012-08-19 Thread Bastien
Hi Andrew, Andrew Young writes: > Not sure if there is a built-in, but this seems to work for me: > > #+begin_src emacs-lisp > (defun my-align-all-tables () > (interactive) > (org-table-map-tables 'org-table-align 'quietly)) > #+end_src Neat. I added an entry for this in the worg/org

Re: [O] Re-align All Tables in a Region.

2012-08-18 Thread Andrew Young
Hi Ian, On Sat, Aug 18, 2012 at 4:14 AM, Ian Barton wrote: > I have a file which contains lots of tables. The document is created by a > shell script, so when it's opened none of the tables are aligned. Is there a > command that will let me re-align all tables in a region? There are a lot of > ta

[O] Re-align All Tables in a Region.

2012-08-18 Thread Ian Barton
I have a file which contains lots of tables. The document is created by a shell script, so when it's opened none of the tables are aligned. Is there a command that will let me re-align all tables in a region? There are a lot of tables, so I don't want to do them one at a time. As a workaround