From: Mario Lang <mlang@delysid.org>
To: emacs-devel@gnu.org
Subject: dbus.el and use-dialog-box
Date: Tue, 12 Jul 2016 21:09:08 +0200 [thread overview]
Message-ID: <87y456ish7.fsf@fx.delysid.org> (raw)
Hi.
It appears that `yes-or-no-p' when called from a D-Bus
method handler honors `use-dialog-box'. In other words, when
`use-dialog-box' is non-nil, `yes-or-no-p' uses a dialog to ask the
question.
The docstring of `use-dialog-box' only refers to mouse events:
"Non-nil means mouse commands use dialog boxes to ask questions.
This applies to `y-or-n-p' and `yes-or-no-p' questions asked by commands
invoked by mouse clicks and mouse menu items."
Is this expected behaviour, or should D-Bus events be excluded
(from the check in Fyes_or_no_p?)
--
CYa,
⡍⠁⠗⠊⠕
next reply other threads:[~2016-07-12 19:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-12 19:09 Mario Lang [this message]
2016-07-14 12:30 ` dbus.el and use-dialog-box Michael Albinus
2016-07-14 13:32 ` Stefan Monnier
2016-07-14 18:18 ` Michael Albinus
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=87y456ish7.fsf@fx.delysid.org \
--to=mlang@delysid.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 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.