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 08:18:18 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> As I said, however, the duplicate removal is in `minibuffer-completion-help'

Oh yes, sorry that's the function I meant.

> today (before the call to display_completion_list_1), and I don't care about
> that, because I don't use `minibuffer-completion-help'.

That's OK.  All I'm saying is that this is the right place to do removal of
duplicates and that if there are duplicates which are not truly identical,
then the UI has to somehow make the difference visible to the user, so the
code that displays the list should have the necessary info to know whether
to remove the duplicates or not.  I.e. it can always be done in
minibuffer-completion-help or in the equivalent function in your code,
rather than earlier in the completion table.


        Stefan




reply via email to

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