emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: should locate-file-completion filter out "./" and "../"?


From: Stefan Monnier
Subject: Re: should locate-file-completion filter out "./" and "../"?
Date: Tue, 11 Jul 2006 00:31:36 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> It's true that the completion candidates themselves are just strings, but
> the completion alist passed to completing-read or read-file-name can have
> key-value pairs, and those values can be exploited. I track which candidate
> is chosen, so I can tell which of any duplicate candidate strings is picked.
> Then I can use the associated value.

So the duplicate removal can still be in display-completion-list because the
"duplicates" aren't quite duplicates.


        Stefan




reply via email to

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