emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Xavier Garrido <xavier.garrido@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Automagically send all org table
Date: Mon, 14 Jan 2013 18:33:48 +0530	[thread overview]
Message-ID: <87sj63vruz.fsf@gmail.com> (raw)
In-Reply-To: <20130114122456.GC19255@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Mon, 14 Jan 2013 13:24:56 +0100")

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> On Mon, Jan 14, 2013 at 11:25:27AM +0100, Xavier Garrido wrote:
>> Hi orgmoders,
>> 
>> I am looking for a simple way to SEND all org tables in a given document to
>> their RECEIVER counterparts. Of course, I can go through the whole document
>> and do `org-table-send` one-by-one but I would like to do it without opening
>> the document and for all tables at the same time. Is there a way ?
>> 
>> Thanks for your help and advices,
>
> I do not see any other way 

There is a way

> but writing some elisp code of your own.  

Why not have Emacs write it for you?  You dictate and Emacs will type
out the elisp code.

> It should be simple to do, I think.

Not simpler than resorting to macros.

Here is how.  Just hints.  OP should help himself.

----------------------------------------------------------------------

Begin macro, do stuff, end macro,

        C-x (, do stuff, C-x )

Execute macro 
        C-x e

Or provide a local, on-the-move binding and execute it.
        C-x C-k b

Name the macro and store it as a command in your .emacs.
        C-x C-k n, M-x insert-kbd-macro

Run the stored macro from batch script  (Hint: C-h v org-export-as-html-batch)
       emacs --batch --load=~/MyInitStuff.el --visit=MyFile --funcall MyNamedMacro"

----------------------------------------------------------------------

For help with jumping to relevant Info portions, do

        C-h K C-x (
        C-h K C-x C-k n

(Note the CAPITAL `K' above)
        
----------------------------------------------------------------------
-- 

  reply	other threads:[~2013-01-14 13:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 10:25 Automagically send all org table Xavier Garrido
2013-01-14 12:24 ` Suvayu Ali
2013-01-14 13:03   ` Jambunathan K [this message]
2013-01-14 13:09     ` Suvayu Ali
2013-01-14 13:58     ` Jambunathan K
2013-01-14 14:07       ` Garrido Xavier
2013-01-14 12:56 ` Carsten Dominik
2013-01-14 13:03   ` Garrido Xavier

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=87sj63vruz.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=xavier.garrido@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).