emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sivaram Neelakantan <nsivaram.net@gmail.com>
To: emacs-orgmode@gnu.org
Subject: working with delimited files
Date: Mon, 04 Jul 2011 20:47:56 +0530	[thread overview]
Message-ID: <82hb72ulaz.fsf@gmail.com> (raw)

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
 -- 

             reply	other threads:[~2011-07-04 15:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-04 15:17 Sivaram Neelakantan [this message]
2011-07-08  8:12 ` working with delimited files Bastien
2011-07-08  8:29   ` Rainer M Krug
2011-07-08 10:20     ` Sivaram Neelakantan
2011-07-08 10:18   ` Sivaram Neelakantan
  -- strict thread matches above, loose matches on Subject: below --
2011-07-04 15:18 Sivaram Neelakantan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82hb72ulaz.fsf@gmail.com \
    --to=nsivaram.net@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).