From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [drew.adams@oracle.com: use-file-dialog should not apply to mouse in *Completions*] Date: Mon, 03 Dec 2007 13:54:44 -0500 Message-ID: References: <4753AD13.9040400@swipnet.se> <4753CC43.1020107@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196708128 12890 80.91.229.12 (3 Dec 2007 18:55:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 18:55:28 +0000 (UTC) Cc: jan.h.d@swipnet.se, emacs-devel@gnu.org, Jason Rumney To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 03 19:55:34 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 1IzGS6-0005CG-3P for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 19:55:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzGRp-0002O8-UW for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 13:55:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzGRa-0002JS-Iz for emacs-devel@gnu.org; Mon, 03 Dec 2007 13:55:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzGRX-0002I1-8J for emacs-devel@gnu.org; Mon, 03 Dec 2007 13:55:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzGRX-0002Hy-49 for emacs-devel@gnu.org; Mon, 03 Dec 2007 13:54:59 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzGRO-00079k-O6; Mon, 03 Dec 2007 13:54:50 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 897A62CF4C2; Mon, 3 Dec 2007 13:54:49 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 90C4A3FE0; Mon, 3 Dec 2007 13:54:44 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6C4D06C7F9; Mon, 3 Dec 2007 13:54:44 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Mon, 03 Dec 2007 13:43:00 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:84587 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. Stefan