[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] working with delimited files
From: |
Sivaram Neelakantan |
Subject: |
[O] working with delimited files |
Date: |
Mon, 04 Jul 2011 20:48:49 +0530 |
User-agent: |
Gnus/5.110017 (No Gnus v0.17) Emacs/23.3 (windows-nt) |
I sometimes work with files looking like this
BEL EQ 13-Jan-2006 978.85 988.9 1050 983 1025 1024.5 1025.94 276666 2838.429191
BEL EQ 16-Jan-2006 1024.5 1030 1043 1001.5 1003.5 1008.65 1027.02 72409 743.655
BEL EQ 17-Jan-2006 1008.65 1010 1030 985.1 993.75 989.95 1013.83 102589 1040.07
BEL EQ 18-Jan-2006 989.95 984 1006.8 963.6 1002.15 999.45 990.75 94266 933.9413
When I have a few thousand rows like this, this becomes difficult to
read, so I tend to
a) M-x org-mode
b) C-x h followed by C-c |
This makes it easier to read as you can see below
| BEL | EQ | 02-Jan-2006 | 993.15 | 998 | 1001 | 983 |..
| BEL | EQ | 03-Jan-2006 | 989.05 | 999.5 | 1000 | 989.9 |..
| BEL | EQ | 04-Jan-2006 | 994.35 | 998 | 1014 | 986.15 |..
How do I use the overlay for editing but keep the underlying file
structure? If I do an C-C C-e, I get unnecessary headers and the
fields are tabbed out and I have to save it as a different
file. Ideally, I'd like to keep the file structure as it is and just
use org-mode to provide viewing structure while editing.
sivaram
--