emacs-devel
[Top][All Lists]
Advanced

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

Re: completion discrepancy between default completion and helm/ivy compl


From: Stefan Monnier
Subject: Re: completion discrepancy between default completion and helm/ivy completions
Date: Thu, 10 Nov 2016 15:35:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>         (let ((completion (try-completion beforepoint table pred)))
>           (if (not (stringp completion))
>               completion

This case is for when `completion` is t (when means that `beforepoint`
is a valid candidate and there is no further completion possible).

> I would like to fix org-contacts so that it works well all the time.
> Should it directly return a cons of the string and its length?

No, returning such a cons would be a bug and I'm pretty sure it would
break the default completion code at least.


        Stefan




reply via email to

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