emacs-devel
[Top][All Lists]
Advanced

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

Re: test-completion and hash-tables


From: Stefan Monnier
Subject: Re: test-completion and hash-tables
Date: 18 Dec 2003 18:05:29 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> `try-completion' and `all-completions' use `compare-strings' to compare
> strings, in its case-sensitive or case-insensitive variant, depending
> on `completion-ignore-case', independently of how the collection of
> strings is specified (alist, list, obarray, hash-table, function).
> However, when the collection of strings is specified as a hash-table,
> then `test-completion' uses whichever test the hash-table uses and, in
> particular, `completion-ignore-case' is ignored.

This is a bug.
I completely forgot the issue of case-fold when writing the code.
But I think the same problem is present with obarrays (tho you might want
to check), in which case it´s a very long standing bug.


        Stefan




reply via email to

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