all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to create orgtbl from that
@ 2015-08-26  9:17 Paul K
  2015-08-26 19:28 ` Paul K
  0 siblings, 1 reply; 2+ messages in thread
From: Paul K @ 2015-08-26  9:17 UTC (permalink / raw)
  To: help-gnu-emacs

Hallo people:

text data looks like following:

  col1            col2     col3
  nm              srm      dt
  ----------------- ---------- -----------
  raw1 for       col2     col3
  col1 comes             here
  here

  raw2            col2     col3
  is here         ok


- no special character separates the columns. The only information
about columns is kept by ---dashes-with-space--- line.
- empty line is separator between records. All other lines start with 2 spaces.
- table is NOT postfix-aligned with space characters, ie. after `here`
and `ok` there are no space characters.
- there are more columns and rows in my real table than in this example.
- 2 spaces at the beginning of lines do not have to be preserved in result.

I need to convert this data into orgtbl table. The best would be some
elisp macro.

Have You some ideas how to do this?

reagards,
Paul



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to create orgtbl from that
  2015-08-26  9:17 how to create orgtbl from that Paul K
@ 2015-08-26 19:28 ` Paul K
  0 siblings, 0 replies; 2+ messages in thread
From: Paul K @ 2015-08-26 19:28 UTC (permalink / raw)
  To: help-gnu-emacs

I'm sending my example table once; I have an impression that the
initial one is badly aligned


  col1              col2       col3
  nm                srm        dt
  ----------------- ---------- -----------
  raw1 for          col2       col3
  col1 comes        here
  here

  raw2              col2       col3
  is here           ok



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-26 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26  9:17 how to create orgtbl from that Paul K
2015-08-26 19:28 ` Paul K

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.