help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Want to write up quick balance sheet, etc. Via tables?


From: Andreas Röhler
Subject: Re: Want to write up quick balance sheet, etc. Via tables?
Date: Mon, 09 Sep 2013 09:38:11 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

Am 09.09.2013 00:17, schrieb Pascal J. Bourguignon:
dkcombs@panix.com (David Combs) writes:

MY QUESTION:

How to make it easy, almost foolproof, to be able to quickly format
the stuff I type in.


Type stuff:

cash       20,000          short term debt   89,000
cash      20,000          short term debt   89,000
cash       20,000         short term debt   89,000
cash      20,000         short term debt   89,000
cash       20,000          short term debt    89,000
cash       20,000          short term debt     89,000

Select it, type M-x align-cols RET and get:

cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000
cash       20,000          short term debt     89,000



Put into a buffer in org-mode

After replacing commata by dots

M-x org-table-convert-region

| cash | 20.000 | short | term | debt | 89.000 |
| cash | 20.000 | short | term | debt | 89.000 |
| cash | 20.000 | short | term | debt | 89.000 |
| cash | 20.000 | short | term | debt | 89.000 |
| cash | 20.000 | short | term | debt | 89.000 |
| cash | 20.000 | short | term | debt | 89.000 |




reply via email to

[Prev in Thread] Current Thread [Next in Thread]