Subject: bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION

From: Stefan Monnier <[email-masked]>
Date: Sun, 01 Jan 2012 17:59:05 -0500

>  (try-completion "del-alist" #s(hash-table size 145 test equal rehash-size 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" everyone "delete" everyone)))
>  => t ;; as expected and documented

>  (all-completions "del-alist" #s(hash-table size 145 test equal rehash-size 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" everyone "delete" everyone)))
>  => ("del-alist") ;; as expected and documented

These are bugs.  The Elisp manual is pretty clear about it:

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

-- Stefan