From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: (interactive "GSome prompt: ") on w32
Date: Tue, 28 Mar 2006 09:15:43 +0200 [thread overview]
Message-ID: <4428E29F.7030006@student.lu.se> (raw)
In-Reply-To: <uacbb9k21.fsf@jasonrumney.net>
Jason Rumney wrote:
> Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
>
>
>> It looks to me like (interactive "G...") can not be used to choose a
>> file name when run from the menus (ie when a dialog box is displayed).
>>
>
> It works for me. Can you please explain in more detail what happens
> when you run the following code:
>
> (defun test (filename) "testing"
> (interactive "GFile")
> (message filename))
>
> (define-key menu-bar-file-menu [test]
> '(menu-item "Test" test :help "Testing"))
>
>
Thanks for responding, Jason. Sorry, I should have written "can not be
used to choose a directory name". I can choose a file but not a
directory. Should not that be possible with "G"?
next prev parent reply other threads:[~2006-03-28 7:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-26 20:36 (interactive "GSome prompt: ") on w32 Lennart Borgman
2006-03-28 6:09 ` Jason Rumney
2006-03-28 7:15 ` Lennart Borgman [this message]
2006-03-28 8:25 ` Jason Rumney
2006-03-28 9:07 ` Lennart Borgman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4428E29F.7030006@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@gnu.org \
/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 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).