emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: Karl Maihofer <ignoramus@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to export property values of agenda selection?
Date: Sun, 07 Apr 2013 09:06:19 +0200	[thread overview]
Message-ID: <m2obdq95w4.fsf@christianmoe.com> (raw)
In-Reply-To: <loom.20130406T143916-735@post.gmane.org>


Hi,

If I recall, you have a bunch of tagged headings with EMAIL properties,
and you want to extract a comma-separated list of email addresses based
on tag matching. I posted an example of one approach, using a Babel block
to put results inline.

I'm not quite clear on your use case / desired result now. Why do you
want results through batch mode on the command line in order to embed
them in a webpage? Embed how? Is this something you could perhaps do
simply by exporting from Org to HTML? 

Yours,
Christian

> Does anybody know how to get the results via Emacs batch mode on the command
> line? I'd like to embed the results in a webpage.
>
> The following is my starting point and of course terribly wrong and it
> doesn't work. It's hard for me to find documentation (that I understand).
>
> $ emacs -batch -l ~/.emacs -eval (progn 
>    (find-file \"~/test.org\")
>    (org-babel-execute-src-block 'list2csv)
>    (kill-buffer))"
>
> Thanks,
> Karl

  reply	other threads:[~2013-04-07  7:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 17:51 How to export property values of agenda selection? Karl Maihofer
2013-03-26 22:53 ` Christian Moe
2013-03-27 18:08   ` Karl Maihofer
2013-04-06 12:48   ` Karl Maihofer
2013-04-07  7:06     ` Christian Moe [this message]
2013-04-08  9:00       ` Karl Maihofer

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=m2obdq95w4.fsf@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ignoramus@gmx.de \
    /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).