emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-contacts: error on message startup


From: Nick Dokos
Subject: Re: [O] org-contacts: error on message startup
Date: Tue, 24 May 2011 20:04:29 -0400

Sven Bretfeld <address@hidden> 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



reply via email to

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