unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1080: 23.0.60; completing-read-multiple is wrong with mouse-2 in *Completions*
@ 2008-10-04 16:12 ` Drew Adams
  2009-03-16  0:55   ` bug#1080: marked as done (23.0.60; completing-read-multiple is wrong with mouse-2 in *Completions*) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2008-10-04 16:12 UTC (permalink / raw)
  To: emacs-pretest-bug

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'
 







^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1080: marked as done (23.0.60; completing-read-multiple is  wrong with mouse-2 in *Completions*)
  2008-10-04 16:12 ` bug#1080: 23.0.60; completing-read-multiple is wrong with mouse-2 in *Completions* Drew Adams
@ 2009-03-16  0:55   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-03-16  0:55 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 930 bytes --]


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 *Completions*
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.)


-- 
1080: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1080
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3376 bytes --]

From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-pretest-bug@gnu.org>
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>

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'
 




[-- Attachment #3: Type: message/rfc822, Size: 1941 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: "Drew Adams" <drew.adams@oracle.com>
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>

> (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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-16  0:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87ab7m8f7o.fsf@cyd.mit.edu>
2008-10-04 16:12 ` bug#1080: 23.0.60; completing-read-multiple is wrong with mouse-2 in *Completions* Drew Adams
2009-03-16  0:55   ` bug#1080: marked as done (23.0.60; completing-read-multiple is wrong with mouse-2 in *Completions*) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).