From: Frank Terbeck <ft@bewatermyfriend.org>
To: emacs-orgmode@gnu.org
Subject: org-capture with org-contacts template causing problems
Date: Sun, 03 Mar 2013 18:40:33 +0100 [thread overview]
Message-ID: <87vc98fkku.fsf@ft.bewatermyfriend.org> (raw)
Good day!
So, I tried giving org-contacts another go.
For capturing new contacts, I have this template configured (based on
the example on org-contacts.el):
#+begin_src elisp
(add-to-list 'org-capture-templates
'("c" "Contacts" entry (file "~/org/contacts.org")
"
** %(org-contacts-template-name)
:PROPERTIES:
:EMAIL: %(org-contacts-template-email)
:END:"))
#+end_src
When using `org-capture' (and then selecting "c" in the menu window), I
get the following error message in the "CAPTURE-contacts.org" buffer:
* %![Error: (invalid-function gnus-with-article-headers)]
:PROPERTIES:
:EMAIL: %![Error: (invalid-function gnus-with-article-headers)]
:END:
The following however works from the `*scratch*' buffer:
#+begin_src elisp
(gnus-with-article-headers
(mail-fetch-field "From"))
#+end_src
This is with an emacs snapshot, M-x version:
GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of
2013-03-01 on jim, modified by Debian
M-x org-version:
Org-mode version 7.9.3e (7.9.3e-3-gb07a9b @ /usr/share/emacs/24.3.50/lisp/org/)
This is with `org-contacts.el' from org-mode's git HEAD.
I'm unsure about how to debug this. Any pointers welcome.
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
next reply other threads:[~2013-03-03 18:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-03 17:40 Frank Terbeck [this message]
2013-03-04 10:40 ` org-capture with org-contacts template causing problems Frank Terbeck
2013-03-04 13:12 ` Frank Terbeck
2013-03-04 19:42 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vc98fkku.fsf@ft.bewatermyfriend.org \
--to=ft@bewatermyfriend.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.