From: Daimrod <daimrod@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-contact Export
Date: Sat, 26 Jul 2014 13:44:03 +0900 [thread overview]
Message-ID: <87k370lofg.fsf@tanger.home> (raw)
In-Reply-To: <871tt8u85e.fsf@quasar.esben-stien.name> (Esben Stien's message of "Sat, 26 Jul 2014 05:10:53 +0200")
Esben Stien <b0ef@esben-stien.name> writes:
Hello Esben,
> Is there any way to retrieve a single org-contact as CSV or maybe a VCF
> file?
>
> I know I can export all of them, but is there a function to get just the
> one under point?
It wasn't possible, but it is now. I've slightly modified
`org-contacts-export-as-vcard' so that it will prompt for a user name
when called with a prefix argument.
The new function's behovior when called interactively is the following:
1. no prefix : do as before, export all contacts to
`org-contacts-vcard-file'.
2. C-u : prompt for a contact name and use the contact at point if it
exists, then export the matching contacts to
`org-contacts-vcard-file'.
3. C-u C-u : same as 2. but prompt for a file name where to export
instead of `org-contacts-vcard-file'.
4. C-u C-u C-u : same as 3. but prompt for a buffer name instead of a
file name.
When the function isn't called interactively it behaves as it did
before.
WDYT?
Best,
--
Daimrod/Greg
next prev parent reply other threads:[~2014-07-26 4:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-26 3:10 org-contact Export Esben Stien
2014-07-26 4:44 ` Daimrod [this message]
2014-07-28 20:43 ` Esben Stien
2014-07-28 23:40 ` Daimrod
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=87k370lofg.fsf@tanger.home \
--to=daimrod@gmail.com \
--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).