GNU bug report logs - #10416
24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION

Previous Next

Package: emacs;

Reported by: Aidan Kehoe <kehoea <at> parhasard.net>

Date: Sun, 1 Jan 2012 14:20:01 UTC

Severity: normal

Tags: patch

Found in version 24.0.92

Fixed in version 24.4

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 10416 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Aidan Kehoe <kehoea <at> parhasard.net>
Cc: 10416 <at> debbugs.gnu.org
Subject: Re: bug#10416: 24.0.92;
	#'test-completion is inconsistent with symbol hash keys in COLLECTION
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




This bug report was last modified 9 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.