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

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

bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash k


From: Stefan Monnier
Subject: bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION
Date: Tue, 03 Jan 2012 17:07:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

>> If COLLECTION is a hash table, then the keys that are strings are
>> the possible completions.  Other keys are ignored.

> And the docstrings of #'try-completion and #'all-completion are equally
> clear, and contradict that. They both say the following:

> ‘If COLLECTION is a hash-table, all the keys that are strings or symbols
> are the possible completions.’

Right.  So we clearly need to fix the doc.  Maybe also the code.  But in
the mean time I think the contradictory docs basically mean "stay away
from symbols as keys for completion hash-tables".


        Stefan





reply via email to

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