emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* capture templates and org-contacts
@ 2012-09-04 22:12 Simon Thum
  2012-09-06 17:54 ` Achim Gratz
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Thum @ 2012-09-04 22:12 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

recently my org-contacts template broke; I get

%![Error: (void-function gnus-alive-p)]

in the capture buffer where the name should have been.

The template is

("c" "Kontakt" entry (file+headline my-org-contacts-file "Neu") "* 
%(org-contacts-template-name)"))


The setup worked before - wanyone an idea what could be the cause?

I'm using org-fixup to generate my autoloads.

Cheers,

Simon

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: capture templates and org-contacts
  2012-09-04 22:12 capture templates and org-contacts Simon Thum
@ 2012-09-06 17:54 ` Achim Gratz
  2012-09-07 17:49   ` Simon Thum
  2012-09-14  7:03   ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: Achim Gratz @ 2012-09-06 17:54 UTC (permalink / raw)
  To: emacs-orgmode

Simon Thum writes:
> recently my org-contacts template broke; I get
>
> %![Error: (void-function gnus-alive-p)]
>
> in the capture buffer where the name should have been.
>
> The template is
>
> ("c" "Kontakt" entry (file+headline my-org-contacts-file "Neu") "*
> %(org-contacts-template-name)"))
>
>
> The setup worked before - wanyone an idea what could be the cause?

gnus-util must be loaded for this function to be available.  This
requirement is missing from both org-capture and org-gnus.  Actually,
this function really should be autoloaded by Gnus but isn't.

> I'm using org-fixup to generate my autoloads.

Sure, but certainly not for Gnus…  I've just pushed up a fix that
adds (require 'gnus-util) to both files.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: capture templates and org-contacts
  2012-09-06 17:54 ` Achim Gratz
@ 2012-09-07 17:49   ` Simon Thum
  2012-09-14  7:03   ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Thum @ 2012-09-07 17:49 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Hi Achim,

that fixes it, thank you very much!

Cheers,

Simon


On 09/06/2012 07:54 PM, Achim Gratz wrote:
> Simon Thum writes:
>> recently my org-contacts template broke; I get
>>
>> %![Error: (void-function gnus-alive-p)]
>>
>> in the capture buffer where the name should have been.
>>
>> The template is
>>
>> ("c" "Kontakt" entry (file+headline my-org-contacts-file "Neu") "*
>> %(org-contacts-template-name)"))
>>
>>
>> The setup worked before - wanyone an idea what could be the cause?
>
> gnus-util must be loaded for this function to be available.  This
> requirement is missing from both org-capture and org-gnus.  Actually,
> this function really should be autoloaded by Gnus but isn't.
>
>> I'm using org-fixup to generate my autoloads.
>
> Sure, but certainly not for Gnus…  I've just pushed up a fix that
> adds (require 'gnus-util) to both files.
>
>
> Regards,
> Achim.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: capture templates and org-contacts
  2012-09-06 17:54 ` Achim Gratz
  2012-09-07 17:49   ` Simon Thum
@ 2012-09-14  7:03   ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2012-09-14  7:03 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Hi Achim,

Achim Gratz <Stromeko@nexgo.de> writes:

> Actually,
> this function really should be autoloaded by Gnus but isn't.

Can you tell the Gnus developers about this?

Thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-14  7:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-04 22:12 capture templates and org-contacts Simon Thum
2012-09-06 17:54 ` Achim Gratz
2012-09-07 17:49   ` Simon Thum
2012-09-14  7:03   ` Bastien

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).