From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#10798: 24.0.93; read-file-name Date: Mon, 13 Feb 2012 13:44:09 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1329158680 31901 80.91.229.3 (13 Feb 2012 18:44:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2012 18:44:40 +0000 (UTC) Cc: 10798@debbugs.gnu.org To: Francis Wright Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 13 19:44:39 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rx0tC-0007xS-1a for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Feb 2012 19:44:38 +0100 Original-Received: from localhost ([::1]:59096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rx0tB-0003i8-Ic for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Feb 2012 13:44:37 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rx0t8-0003hn-Fn for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2012 13:44:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rx0t4-0002P9-BZ for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2012 13:44:34 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rx0t4-0002P5-A3 for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2012 13:44:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rx0uX-0005oa-Oa for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2012 13:46:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Feb 2012 18:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10798 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10798-submit@debbugs.gnu.org id=B10798.132915874722330 (code B ref 10798); Mon, 13 Feb 2012 18:46:01 +0000 Original-Received: (at 10798) by debbugs.gnu.org; 13 Feb 2012 18:45:47 +0000 Original-Received: from localhost ([127.0.0.1]:39216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rx0uI-0005o6-Li for submit@debbugs.gnu.org; Mon, 13 Feb 2012 13:45:47 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:35289 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rx0uF-0005ny-TR for 10798@debbugs.gnu.org; Mon, 13 Feb 2012 13:45:44 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rx0sk-0008Qd-3s; Mon, 13 Feb 2012 13:44:10 -0500 X-Spook: bluebird embassy White House David John Oates genetic X-Ran: k_NR_!Zmwl'Y,ToMqZ)texcR4^q4T`)!; List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56867 Archived-At: Francis Wright wrote: [read-file-name doc] > For graphical file dialogs, any the special values of MUSTMATCH; > `confirm' and `confirm-after-completion' are treated as equivalent to > nil. By inspection, it should say something like: For graphical file dialogs, any of the special values of MUSTMATCH `confirm' and `confirm-after-completion' are treated as equivalent to nil. The idea is that MUSTMATCH = t is still supposed to work. However, it does not work for me with GTK+ Version 2.18.9 on GNU/Linux with 23.4 or the current trunk. I tested with: (define-key-after menu-bar-help-menu [key] '(menu-item "foo" foo)) (defun foo (file) (interactive (list (read-file-name "foo: " nil nil t))) (setq foo file)) I can happily input a file name that does not exist via the menu-item.