emacs-devel
[Top][All Lists]
Advanced

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

Re: Bugs in newly added completion capabilities.


From: Stefan Monnier
Subject: Re: Bugs in newly added completion capabilities.
Date: Thu, 30 Jun 2005 15:42:24 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> I am not arguing for allowing lists of symbols rather than lists of
> strings, but mixed lists of strings and symbols _are_ currently allowed
> and try-completion and all-completions now nearly everywhere treat symbols
> as being completely equivalent to (symbol-name 'symbol) since the
> following change made relatively recently (I thought we were in a feature
> freeze, but anyway):

I understand that.  I was just arguing against that recent change.

>    I don't like the idea of adding "" at the beginning of a completion table.
>    Here I have a good reason, which is that it changes the behavior:

>       (try-completion "" '("aaa" "aab" "aac"))  => "aa"
>       (try-completion "" '("" "aaa" "aab" "aac"))  => ""

> Of course, the person consing "" to the front of the completion table
> will have to write his code to expect the second answer.

What if the code *needs* the first answer?


        Stefan




reply via email to

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