GNU bug report logs - #20425
24.5; completion-at-point not working with prefix starting with '(:'

Previous Next

Package: emacs;

Reported by: Alexander Miller <alexanderm <at> web.de>

Date: Sat, 25 Apr 2015 23:13:02 UTC

Severity: normal

Merged with 19529

Found in versions 24.3, 24.5

Fixed in version 25.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Alexander Miller <alexanderm <at> web.de>
Cc: 20425 <at> debbugs.gnu.org
Subject: bug#20425: 24.5; completion-at-point not working with prefix starting with '(:'
Date: Mon, 27 Apr 2015 00:47:33 -0400
tags 20425 notabug
thanks

> * Start vanilla emacs via emacs -q
> * Switch to scratch buffer
> * Enter the string '(:backg'
> * Toggle completion-at-point (using C-M-i and M-x makes no difference)
[ Nitpick: "toggle" is not what you mean to stay. ]

> * Emacs will incorrectly report that no matches have been found

But this is correct: the scratch buffer is intended for Elisp code, and
(:background ...) is not valid Elisp code because there is
no :background function (or macro).

> The above is just a specific example.  In general completion-at-point is
> not correctly completing for all of emacs' keywords which start with a
> colon if the colon is preceded by '('.

Could you provide some other example, where the "colon something" fails
to complete, whereas it really should be completed (because indeed, it
is not in a position corresponding to a function call)?


        Stefan




This bug report was last modified 10 years and 72 days ago.

Previous Next


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