emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Rustom Mody <rustompmody@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: table export to same buffer
Date: Sat, 03 Aug 2013 09:25:43 +0200	[thread overview]
Message-ID: <87fvurb5hk.fsf@gmail.com> (raw)
In-Reply-To: <CAJ+TeofdcFug2adN5CTc-gqwya0X1EnOPnDEBYNJioQBw4ezgQ@mail.gmail.com> (Rustom Mody's message of "Sat, 3 Aug 2013 10:22:20 +0530")

Hello,

Rustom Mody <rustompmody@gmail.com> writes:

> The context is writing C with C mode (or haskell with haskell-mode python
> with python-mode etc) ie the user is not using orgmode.  That is why I
> mentioned orgtbl, ie org table editing facilities are needed but the major
> mode is something else.
>
> However here some pre and postprocessing is also probably required.
> Something like an automation of the following:
>
> 1. Editing a large struct spec in C -- major mode is C-mode
> 2. Select the region (may even be a rectangle)
> 3. Paste into an org-mode buffer
> 4. Run C-c | on region
> 5. Edit table as required
> 6. org-table-export in desired format to a file F
> 7. Visit F
> 8. Copy/Cut F (if necessary as rectangle)
> 9. Go back to original C-mode buffer and paste

There's also `org-export-replace-region-by'.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-08-03  7:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-02 17:23 table export to same buffer Rustom Mody
2013-08-02 19:22 ` Sebastien Vauban
2013-08-03  4:52 ` Rustom Mody
2013-08-03  7:25   ` Nicolas Goaziou [this message]
2013-08-03  8:06   ` Thorsten Jolitz
2013-08-03 23:34   ` William Henney
2013-08-04 11:13     ` Rustom Mody
2013-08-12 18:20       ` William Henney

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=87fvurb5hk.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rustompmody@gmail.com \
    /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).