[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Want to write up quick balance sheet, etc. Via tables?
From: |
David Combs |
Subject: |
Re: Want to write up quick balance sheet, etc. Via tables? |
Date: |
Tue, 1 Oct 2013 18:57:29 +0000 (UTC) |
In article <mailman.1637.1378712194.10748.help-gnu-emacs@gnu.org>,
Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:
>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 |
>
>
And then convert them back to commas, right?
Or in case periods in text, convert commas to XYZ,
and later back to commas.
Thanks!
David