From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Luque Newsgroups: gmane.emacs.help Subject: completing-read-multiple in Emacs 21.x Date: Wed, 03 May 2006 15:44:31 -0500 Organization: Memorial University of Newfoundland Message-ID: <87k692vnww.fsf@arctocephalus.homelinux.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146689134 29383 80.91.229.2 (3 May 2006 20:45:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 20:45:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 03 22:45:27 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FbODs-0006wK-GT for geh-help-gnu-emacs@m.gmane.org; Wed, 03 May 2006 22:45:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbODs-0003pj-0l for geh-help-gnu-emacs@m.gmane.org; Wed, 03 May 2006 16:45:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FbOBm-0002bW-TD for help-gnu-emacs@gnu.org; Wed, 03 May 2006 16:43:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FbOBl-0002aq-4Z for help-gnu-emacs@gnu.org; Wed, 03 May 2006 16:43:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbOBl-0002al-11 for help-gnu-emacs@gnu.org; Wed, 03 May 2006 16:43:13 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FbOCD-0004G5-4l for help-gnu-emacs@gnu.org; Wed, 03 May 2006 16:43:41 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FbOBP-0006S4-0z for help-gnu-emacs@gnu.org; Wed, 03 May 2006 22:42:52 +0200 Original-Received: from s0106001111ddbc6e.wp.shawcable.net ([24.77.70.252]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 May 2006 22:42:51 +0200 Original-Received: from spluque by s0106001111ddbc6e.wp.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 May 2006 22:42:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s0106001111ddbc6e.wp.shawcable.net User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:5liZIQUvQ0RcHUELwLT5v6sgZXM= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34787 Archived-At: Hello, I'm having problems with completing-read-multiple. e.g.: (completing-read-multiple "prompt: " '(("str1" 1) ("str2" 2)) nil t "str1,str2" nil "str1,str2") When called, clearing the initial entry, and typing "s [TAB]" gives "[No match]" in the minibuffer of Emacs 21.x. This doesn't occur in Emacs 22.0.50.1. In both versions though, the DEF argument (last one in the expression above) seems to be completely ignored, as '("")' is returned in the 22.0.50.1 version, and "[No match]" is displayed in the minibuffer of Emacs 21.x. Can somebody please point out what is going on or suggest an alternative to reading multiple strings from a single minibuffer prompt? Thanks, -- Seb