From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Mears Newsgroups: gmane.emacs.devel Subject: try-completion not showing all possible completions? Date: Wed, 04 Jan 2006 12:09:37 +1100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136337058 9645 80.91.229.2 (4 Jan 2006 01:10:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2006 01:10:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 04 02:10:56 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EtxAI-00077x-Fl for ged-emacs-devel@m.gmane.org; Wed, 04 Jan 2006 02:10:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtxBw-0006te-SG for ged-emacs-devel@m.gmane.org; Tue, 03 Jan 2006 20:11:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EtxBb-0006iC-BD for emacs-devel@gnu.org; Tue, 03 Jan 2006 20:11:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EtxBY-0006co-Py for emacs-devel@gnu.org; Tue, 03 Jan 2006 20:11:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EtxBY-0006cP-Kn for emacs-devel@gnu.org; Tue, 03 Jan 2006 20:11:28 -0500 Original-Received: from [211.29.132.193] (helo=mail12.syd.optusnet.com.au) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EtxCr-0007rh-Lz for emacs-devel@gnu.org; Tue, 03 Jan 2006 20:12:50 -0500 Original-Received: from loki.cmears.id.au (c220-237-36-237.brasd1.vic.optusnet.com.au [220.237.36.237]) by mail12.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k0419cHZ019898 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 4 Jan 2006 12:09:39 +1100 Original-Received: from loki.cmears.id.au (loki.cmears.id.au [127.0.0.1]) by loki.cmears.id.au (8.13.4/8.12.11) with ESMTP id k0419cFL031968 for ; Wed, 4 Jan 2006 12:09:38 +1100 Original-Received: (from chris@localhost) by loki.cmears.id.au (8.13.4/8.13.4/Submit) id k0419bkZ031967; Wed, 4 Jan 2006 12:09:37 +1100 X-Authentication-Warning: loki.cmears.id.au: chris set sender to chris@cmears.id.au using -f Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:48678 Archived-At: Hello all, Executing the following code: (let ((table (make-vector 1021 0))) (intern "johnny jones" table) (intern "joe blow" table) (intern "jimi hendrix" table) (try-completion "j" table (lambda (s) (princ (format "%s\n" s))))) I would expect the output to be all three names in the table. However, in the current CVS Emacs it produces: johnny jones jimi hendrix "j" "joe blow" has been omitted. I tested the same code in Emacs 21.4.1 and it does what I expected: johnny jones jimi hendrix joe blow "j" Can anyone shed some light on this? Thanks, Chris Mears