From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: [drew.adams@oracle.com: use-file-dialog should not apply tomouse in *Completions*] Date: Mon, 3 Dec 2007 11:31:58 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196710432 22004 80.91.229.12 (3 Dec 2007 19:33:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 19:33:52 +0000 (UTC) Cc: jan.h.d@swipnet.se, Jason Rumney , emacs-devel@gnu.org To: "Stefan Monnier" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 03 20:34:00 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IzH3C-0003Qe-Gd for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 20:33:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzH2w-0000EY-5r for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 14:33:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzH2s-0000C4-S3 for emacs-devel@gnu.org; Mon, 03 Dec 2007 14:33:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzH2o-00005B-9l for emacs-devel@gnu.org; Mon, 03 Dec 2007 14:33:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzH2o-00004w-3R for emacs-devel@gnu.org; Mon, 03 Dec 2007 14:33:30 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IzH2P-00033E-Vi; Mon, 03 Dec 2007 14:33:06 -0500 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id lB3JWpkQ003195; Mon, 3 Dec 2007 12:32:51 -0700 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id lB3CeDMs031222; Mon, 3 Dec 2007 12:32:48 -0700 Original-Received: from dhcp-4op11-4op12-west-130-35-178-158.us.oracle.com by acsmt351.oracle.com with ESMTP id 3402370231196710317; Mon, 03 Dec 2007 11:31:57 -0800 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:84590 Archived-At: > > However, I think it is the documentation that needs fixing > > here to match the documentation of read-file-name. > > > This is a real bug; the code needs to be changed. > > > `read-file-name' is supposed to use the file dialog when you invoke > > the command with the mouse. The point is that choosing a completion > > with the mouse, inside M-x, should not count as "invoking the command > > with the mouse". > > > That is what needs to be changed. Would someone fix that and ack? > > I think in this case both behaviors can make sense. It's not clear to > me that one is better than the other. Clearly, the M-x had to be typed, > but the user had to switch to the mouse in order to click the > `find-file' completion, so maybe she wants to keep using the mouse > rather than switch back to the keyboard. That's why the bug report included this: >> If it's thought that users should be also able >> to specify the file dialog box for *Completions* (to keep using the >> mouse to pick the file), then there should be another option for that >> - it's too common to want a file dialog box for menus and tool-bar >> buttons but not for *Completions*.