emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-capture with org-contacts template causing problems


From: Frank Terbeck
Subject: [O] org-capture with org-contacts template causing problems
Date: Sun, 03 Mar 2013 18:40:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]