emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sven Bretfeld" <sven.bretfeld@gmx.ch>
To: nicholas.dokos@hp.com
Cc: emacs-org <emacs-orgmode@gnu.org>
Subject: Re: org-contacts: error on message startup
Date: 25 May 2011 09:27:26 +0200	[thread overview]
Message-ID: <8762ozz1cx.fsf@rub.de> (raw)
In-Reply-To: <8869.1306281869@alphaville.americas.hpqcorp.net> (Nick Dokos's message of "Tue, 24 May 2011 20:04:29 -0400")

Hi Nick, hi all

Nick Dokos <nicholas.dokos@hp.com> writes:

> Sven Bretfeld <sven.bretfeld@gmx.ch> wrote:

>> Just trying to use org-contacts. There is an error for me whenever I
>> start a new message:
>> 
>> Debugger entered--Lisp error: (void-variable completion-at-point-functions)
>>   add-to-list(completion-at-point-functions org-contacts-message-complete-function)
>>   (lambda nil (add-to-list (quote completion-at-point-functions) (quote org-contacts-message-complete-function)))()
>>   run-hooks(text-mode-hook message-mode-hook)
>>   apply(run-hooks (text-mode-hook message-mode-hook))
>>   run-mode-hooks(message-mode-hook)
>>   message-mode()
>>   message-pop-to-buffer("*mail*" nil)
>>   message-mail()
>>   gnus-group-mail(nil)
>>   call-interactively(gnus-group-mail nil nil)
>> 
>> Have I missed a point in the setup? I just added (require 'org-contacts)
>> and threw out all bbdb related code from .emacs and .gnus.el. Is there
>> anything else to do?
>> 
>> I'm using the latest git version of orgmode (release 7.5.299.gb638),
>> Emacs 23.1.50.1 (Ubuntu) and Gnus v5.13.
 
> thing - I run emacs24 and it's present there, but I just tried emacs23
> and it does not seem to be there even after I load-library
> minibuffer.el.

That's right. Emacs 23 does not contain completion-at-point-functions.
Is it possible that all you guys are using Emacs 24? 

I have copied the definition of this variable from the trunk version of
minibuffer.el into my .emacs file. Now the error message doesn't occur
any longer. Anyway completion does not work. Also the other Gnus-related
features of org-contacts don't work (for example ";" in the Summary
Buffer). 

Can I conclude that org-contacts.el is for Emacs 24 only? That would be
a pity (and is not mentioned anywhere). 

Greetings,

Sven

  reply	other threads:[~2011-05-25 14:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24 23:28 org-contacts: error on message startup Sven Bretfeld
2011-05-25  0:04 ` Nick Dokos
2011-05-25  7:27   ` Sven Bretfeld [this message]
2011-05-25 16:02     ` Michael Markert
2011-05-26  7:52       ` Sven Bretfeld
2011-05-26 10:06         ` Michael Markert
2011-05-26 12:03         ` Julien Danjou
2011-05-26 20:24           ` Sven Bretfeld
2011-05-26 12:01 ` Julien Danjou

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=8762ozz1cx.fsf@rub.de \
    --to=sven.bretfeld@gmx.ch \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).