From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <20224.27302.821804.284656@parhasard.net> <20224.63037.191716.31567@parhasard.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325628474 23508 80.91.229.12 (3 Jan 2012 22:07:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 22:07:54 +0000 (UTC) Cc: 10416@debbugs.gnu.org To: Aidan Kehoe Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 03 23:07:49 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RiCWJ-0002RN-5U for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jan 2012 23:07:47 +0100 Original-Received: from localhost ([::1]:48651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiCWI-0002Lz-Gl for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jan 2012 17:07:46 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiCWF-0002Jz-LO for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2012 17:07:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiCWE-0004bL-Ai for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2012 17:07:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiCWE-0004bH-7m for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2012 17:07:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RiCZS-0003Ug-DO for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2012 17:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Jan 2012 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10416 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10416-submit@debbugs.gnu.org id=B10416.132562864613404 (code B ref 10416); Tue, 03 Jan 2012 22:11:02 +0000 Original-Received: (at 10416) by debbugs.gnu.org; 3 Jan 2012 22:10:46 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RiCZB-0003U8-RC for submit@debbugs.gnu.org; Tue, 03 Jan 2012 17:10:45 -0500 Original-Received: from smtp-03.vtx.ch ([194.38.175.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RiCZ9-0003Tz-Kh for 10416@debbugs.gnu.org; Tue, 03 Jan 2012 17:10:44 -0500 Original-Received: from ceviche.home (dyn.144-85-205-173.dsl.vtx.ch [144.85.205.173]) by smtp-03.vtx.ch (VTX Services SA) with ESMTP id B3F4F297210; Tue, 3 Jan 2012 23:07:21 +0100 (CET) Original-Received: by ceviche.home (Postfix, from userid 20848) id D0B1F6614B; Tue, 3 Jan 2012 17:07:20 -0500 (EST) In-Reply-To: <20224.63037.191716.31567@parhasard.net> (Aidan Kehoe's message of "Mon, 2 Jan 2012 00:11:41 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 03 Jan 2012 17:11:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55383 Archived-At: >> 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: > =E2=80=98If COLLECTION is a hash-table, all the keys that are strings or = symbols > are the possible completions.=E2=80=99 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