From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-contacts: error on message startup Date: Tue, 24 May 2011 20:04:29 -0400 Message-ID: <8869.1306281869@alphaville.americas.hpqcorp.net> References: <87pqn78ypy.fsf@gmx.ch> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QP1aR-00057J-Fv for emacs-orgmode@gnu.org; Tue, 24 May 2011 20:04:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QP1aQ-00018E-Dr for emacs-orgmode@gnu.org; Tue, 24 May 2011 20:04:31 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:48632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QP1aQ-000189-8N for emacs-orgmode@gnu.org; Tue, 24 May 2011 20:04:30 -0400 In-Reply-To: Message from "Sven Bretfeld" of "25 May 2011 01:28:57 +0200." <87pqn78ypy.fsf@gmx.ch> 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: Sven Bretfeld Cc: nicholas.dokos@hp.com, emacs-org Sven Bretfeld wrote: > Hi all > > 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. > C-h v completion-at-point-functions RET says: ,---- | completion-at-point-functions is a variable defined in `minibuffer.el'. | Its value is (tags-completion-at-point-function) | | | This variable is potentially risky when used as a file local variable. | | Documentation: | Special hook to find the completion table for the thing at point. | Each function on this hook is called in turns without any argument and should | return either nil to mean that it is not applicable at point, | or a function of no argument to perform completion (discouraged), | or a list of the form (START END COLLECTION &rest PROPS) where | START and END delimit the entity to complete and should include point, | COLLECTION is the completion table to use to complete it, and | PROPS is a property list for additional information. | Currently supported properties are: | `:predicate' a predicate that completion candidates need to satisfy. | `:annotation-function' the value to use for `completion-annotate-function'. `---- so it's an emacs thing, not an org thing. You can try loading minibuffer.elc but it is rather surprising that it's not there already. Unless it's an emacs23 vs emacs24 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. Nick