GNU bug report logs - #19854
Document new behaviour of elisp at point completion wrt

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Fri, 13 Feb 2015 16:11:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>, 19854 <at> debbugs.gnu.org
Cc: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Subject: bug#19854: 25.0.50; completion-extra-properties in emacs-25
Date: Mon, 27 Jun 2016 04:28:48 +0300
On 06/25/2016 11:38 PM, Noam Postavsky wrote:
> Does this look okay?

Looks fine to me, thanks.

> (defun elisp-completion-at-point ()
>   "Function used for `completion-at-point-functions' in `emacs-lisp-mode'.
> The returned completions depend on whether point is in a function
> or variable position;

To be thorough, though, AFAIK "function position" means something 
specific to a Lisp programmer: the first element of a list.

Whereas we also look at whether the whole form is quoted (and if so, 
offer all kinds of symbols as completions anyway), and we can also offer 
function-only completions in a non-function position if the function 
position contains one of the known macros (such as cl-callf or 
declare-function).




This bug report was last modified 9 years and 24 days ago.

Previous Next


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