From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1080: marked as done (23.0.60; completing-read-multiple is wrong with mouse-2 in *Completions*) Date: Mon, 16 Mar 2009 00:55:08 +0000 Message-ID: References: <87ab7m8f7o.fsf@cyd.mit.edu> <009501c9263b$f3053320$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1237164908-23389-0" X-Trace: ger.gmane.org 1237165481 13304 80.91.229.12 (16 Mar 2009 01:04:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2009 01:04:41 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 16 02:05:56 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lj1Ga-0007B5-Pr for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Mar 2009 02:05:50 +0100 Original-Received: from localhost ([127.0.0.1]:52895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lj1FB-00017c-Lu for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Mar 2009 21:03:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lj1F8-00017L-4u for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 21:03:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lj1F3-00016r-RK for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 21:03:49 -0400 Original-Received: from [199.232.76.173] (port=54867 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lj1F3-00016k-Fh for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 21:03:45 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41274) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lj1F2-0006p8-PC for bug-gnu-emacs@gnu.org; Sun, 15 Mar 2009 21:03:45 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2G13gCK025603; Sun, 15 Mar 2009 18:03:42 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2G0t8QQ023466; Sun, 15 Mar 2009 17:55:08 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1080 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26366 Archived-At: This is a multi-part message in MIME format... ------------=_1237164908-23389-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 15 Mar 2009 20:48:59 -0400 with message-id <87ab7m8f7o.fsf@cyd.mit.edu> and subject line Re: 23.0.60; completing-read-multiple is wrong with mouse-= 2 in *Completions* has caused the Emacs bug report #1080, regarding 23.0.60; completing-read-multiple is wrong with mouse-2 in *Compl= etions* to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 1080: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1080 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1237164908-23389-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,FOURLA, MURPHY_WRONG_WORD2,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Oct 2008 16:12:12 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m94GC9Ra001129 for ; Sat, 4 Oct 2008 09:12:10 -0700 Received: from mail.gnu.org ([199.232.76.166]:44455 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Km9hW-0003u7-QO for emacs-pretest-bug@gnu.org; Sat, 04 Oct 2008 12:09:50 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Km9jh-0005Lb-06 for emacs-pretest-bug@gnu.org; Sat, 04 Oct 2008 12:12:07 -0400 Received: from rgminet01.oracle.com ([148.87.113.118]:49998) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Km9jg-0005KP-GD for emacs-pretest-bug@gnu.org; Sat, 04 Oct 2008 12:12:04 -0400 Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m94GC1T2000783 for ; Sat, 4 Oct 2008 10:12:01 -0600 Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m94GC1Ev027953 for ; Sat, 4 Oct 2008 10:12:01 -0600 Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 04 Oct 2008 09:12:00 -0700 From: "Drew Adams" To: Subject: 23.0.60; completing-read-multiple is wrong with mouse-2 in *Completions* Date: Sat, 4 Oct 2008 09:12:07 -0700 Message-ID: <009501c9263b$f3053320$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckmO/KQfd5LImUUSr2ikbsglDvBmw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 emacs -Q Evaluate this: (completing-read-multiple "Choose: " '("Lllll" Dddddd "Rrrrrr")) Type: `Lll TAB , Ddd TAB ,' and then choose `Rrrrrr' with `mouse-2' in *Completions*. The result returned is ("Rrrrrr"), not ("Lllll" Dddddd "Rrrrrr") as it presumably should be. It seems like `completing-read-multiple' should use a special keymap for *Completions*, just like it does with `crm-local-completion-map' and `crm-local-must-match-map' for the minibuffer, and in that new keymap, `mouse-2' should DTRT. IOW, treat `mouse-2' similarly to how TAB is treated. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-03 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' ------------=_1237164908-23389-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1080-done) by emacsbugs.donarmstrong.com; 16 Mar 2009 00:47:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.3 required=4.0 tests=FOURLA,MURPHY_WRONG_WORD2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2G0le2Q021717 for <1080-done@emacsbugs.donarmstrong.com>; Sun, 15 Mar 2009 17:47:41 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 35B8C57E21C; Sun, 15 Mar 2009 20:48:59 -0400 (EDT) From: Chong Yidong To: "Drew Adams" Cc: 1080-done@emacsbugs.donarmstrong.com Subject: Re: 23.0.60; completing-read-multiple is wrong with mouse-2 in *Completions* Date: Sun, 15 Mar 2009 20:48:59 -0400 Message-ID: <87ab7m8f7o.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > (completing-read-multiple "Choose: " '("Lllll" Dddddd "Rrrrrr")) > > Type: `Lll TAB , Ddd TAB ,' > and then choose `Rrrrrr' with `mouse-2' in *Completions*. > > The result returned is ("Rrrrrr"), not ("Lllll" Dddddd "Rrrrrr") as it > presumably should be. > > It seems like `completing-read-multiple' should use a special > keymap for *Completions*, just like it does with > `crm-local-completion-map' and `crm-local-must-match-map' > for the minibuffer, and in that new keymap, `mouse-2' should > DTRT. IOW, treat `mouse-2' similarly to how TAB is treated. Fixed, thanks for the report. Note that the new crm--choose-completion-string function does not exit the minibuffer, unlike the usual completion string chooser. Instead, it just completes into the minibuffer. This behavior seems more suitable for completing-read-multiple. ------------=_1237164908-23389-0--