From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sven Bretfeld" Subject: Re: org-contacts: error on message startup Date: 25 May 2011 09:27:26 +0200 Message-ID: <8762ozz1cx.fsf@rub.de> References: <87pqn78ypy.fsf@gmx.ch> <8869.1306281869@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPEv7-00027M-OQ for emacs-orgmode@gnu.org; Wed, 25 May 2011 10:18:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPEuj-0000Ky-4n for emacs-orgmode@gnu.org; Wed, 25 May 2011 10:18:45 -0400 Received: from mi.ruhr-uni-bochum.de ([134.147.64.53]:32964 helo=mx4.rz.ruhr-uni-bochum.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QPEui-0000KT-TN for emacs-orgmode@gnu.org; Wed, 25 May 2011 10:18:21 -0400 In-Reply-To: <8869.1306281869@alphaville.americas.hpqcorp.net> (Nick Dokos's message of "Tue, 24 May 2011 20:04:29 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-org Hi Nick, hi all Nick Dokos writes: > Sven Bretfeld 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