GNU bug report logs - #12898
24.2.50.1; Completion is not passed further on in emacs-lisp, org-mode etc.

Previous Next

Package: emacs;

Reported by: Vitalie Spinu <spinuvit <at> gmail.com>

Date: Thu, 15 Nov 2012 17:17:01 UTC

Severity: normal

Found in version 24.2.50.1

Full log


Message #20 received at 12898 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Vitalie Spinu <spinuvit <at> gmail.com>
Cc: 12898 <at> debbugs.gnu.org
Subject: Re: bug#12898: 24.2.50.1;
	Completion is not passed further on in emacs-lisp, org-mode etc.
Date: Tue, 20 Nov 2012 13:22:29 -0500
> Are you suggesting that every single xxx-mode-completion-function should
> do that?

Depends what you mean by "do that".  If you mean "be careful to only
return non-nil when you positively know that point is in a place where
this completion-table is a good choice", then yes.

> That is, check for all possible combination that a symbol at
> point might represent?

No, indeed, this is a rare need.

> Why the final completion is done in completion-at-point and not in
> completion--capf-wrapper?

Because the completion data returned by completion-at-point-functions
might not even be used to perform completion.  E.g. it might be used to
decide whether we're leaving the current completion field (and hence
can hide the *Completions* buffer).


        Stefan




This bug report was last modified 12 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.