From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: A question about GTK file selection dialog and `use-dialog-box'
Date: 27 Nov 2003 13:38:41 +0100 [thread overview]
Message-ID: <x5r7zuoujy.fsf@lola.goethe.zz> (raw)
In-Reply-To: <20106.1069904944@mixed>
Peter S Galbraith <p.galbraith@globetrotter.net> writes:
> Using a GTK build of CVS Emacs, I see that `read-file-name' uses a
> GTK file selector instead of the minbuffer. I had to disable it
> because it's very awkward to use compared to the minibuffer (no
> history or completion). The only advertised way to disable it is to
> unset `use-dialog-box', which also disables the nice `y-or-n-p' and
> `yes-or-no-p' pop-ups (I like thoese!).
>
> It would be great if the GTK file selector's minibuffer area acted like
> the minibuffer (history and completion). If not, then consider
> providing a way to disable the file selector without disabling
> `y-or-n-p' and `yes-or-no-p' pop-ups.
It only uses the GTK file selector if the triggering event is a mouse
event. So if you are using the keyboard, you won't get to see a GTK
file selector.
Unless, say, you are hitting upon a bug of AUCTeX that can trigger
calling read-file-name from update-menu-hook or so (which apparently
does not count as a keyboard event in that context). The solution, of
course, is to fix that by delaying the guilty functions until the
LaTeX menu or respective keyboard functions actually get called.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2003-11-27 12:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-27 3:49 A question about GTK file selection dialog and `use-dialog-box' Peter S Galbraith
2003-11-27 12:38 ` David Kastrup [this message]
2003-11-27 14:35 ` Stefan Monnier
[not found] ` <dak@gnu.org>
2003-11-28 1:42 ` Peter S Galbraith
2003-11-27 16:17 ` Danilo Segan
[not found] ` <dsegan@gmx.net>
2003-11-28 1:56 ` Peter S Galbraith
2003-11-28 2:34 ` Danilo Segan
2003-11-28 2:45 ` Peter S Galbraith
2003-11-29 11:15 ` Jan D.
[not found] ` <jan.h.d@swipnet.se>
2003-11-29 18:41 ` Peter S Galbraith
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=x5r7zuoujy.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--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).