From: Glenn Morris <rgm@gnu.org>
To: Francis Wright <f.j.wright@live.co.uk>
Cc: 10798@debbugs.gnu.org
Subject: bug#10798: 24.0.93; read-file-name
Date: Mon, 13 Feb 2012 13:44:09 -0500 [thread overview]
Message-ID: <cvsjie375y.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <SNT133-ds45125DED534E7C452C686E57E0@phx.gbl>
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.
next prev parent reply other threads:[~2012-02-13 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-12 16:58 bug#10798: 24.0.93; read-file-name Francis Wright
2012-02-13 18:44 ` Glenn Morris [this message]
2012-02-13 22:48 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cvsjie375y.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=10798@debbugs.gnu.org \
--cc=f.j.wright@live.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.