GNU bug report logs - #16604
24.3.50; False negatives in lisp-completion-at-point

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Fri, 31 Jan 2014 04:47:02 UTC

Severity: minor

Found in version 24.3.50

Fixed in version 24.4

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: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 16604 <at> debbugs.gnu.org
Subject: bug#16604: 24.3.50; False negatives in lisp-completion-at-point
Date: Wed, 05 Feb 2014 08:53:15 -0500
> `completion-metadata' requires both input string and a predicate (I guess,
> for maximum flexibility of functional completion tables).  Pass it an empty
> string and a nil?

Right.

> And completion boundaries requires suffix as an input.

The suffix is not a problem.  But the prefix is, because with an empty
string, the boundary will always be zero.  And we can't disallow tables
that return an explicit 0 boundary.

>> or not at all.
> Sounds good to me.

Yup, sounds pretty good.

>> Sounds like a bug in lisp-completion-at-point.
> See http://debbugs.gnu.org/16646.

Thanks.

> Sure, thanks for catching this.

Please install, thank you,


        Stefan




This bug report was last modified 11 years and 112 days ago.

Previous Next


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