emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Maihofer <ignoramus@gmx.de>
To: emacs-orgmode@gnu.org
Subject: How to export property values of agenda selection?
Date: Tue, 26 Mar 2013 17:51:21 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130326T184953-124@post.gmane.org> (raw)

I'd like to manage some distribution (mailing) lists in Org. This works great
using tags and agenda column view.

I have an Org file like this:

#+COLUMNS: %25ITEM %30EMAIL %20TAGS

* Peter Mayer						      :topic1:topic2:
:PROPERTIES:
:EMAIL:    peter@mayer.com
:END:
* Karl August					       :topic1:topic2:topic4:
:PROPERTIES:
:EMAIL: karl@august.com
:END:
* Peter Müller							     :topic1:
:PROPERTIES:
:EMAIL:    peter@mueller.com
:END:

When I want to write an email about topic2 I use the agenda to display online
the entries tagged with "topic2":

Headlines with TAGS match: topic2
Press `C-u r' to search again with new search string
  verteiler:  Peter Mayer                                        :topic1:topic2:
  verteiler:  Karl August                                 :topic1:topic2:topic4:

I now can use column view in the agenda to display the email addresses and even
adjust some entries.

What I'd like to do now is to export a comma-separated list of the email
addresses of the entries in the agenda selection:
"peter@mayer.com,karl@august.com" in the case above.

Does anybody have an idea how to solve this?

Thanks,
Karl

             reply	other threads:[~2013-03-26 17:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 17:51 Karl Maihofer [this message]
2013-03-26 22:53 ` How to export property values of agenda selection? Christian Moe
2013-03-27 18:08   ` Karl Maihofer
2013-04-06 12:48   ` Karl Maihofer
2013-04-07  7:06     ` Christian Moe
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=loom.20130326T184953-124@post.gmane.org \
    --to=ignoramus@gmx.de \
    --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).