unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* dbus.el and use-dialog-box
@ 2016-07-12 19:09 Mario Lang
  2016-07-14 12:30 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Mario Lang @ 2016-07-12 19:09 UTC (permalink / raw)
  To: emacs-devel

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,
  ⡍⠁⠗⠊⠕



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-14 18:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-12 19:09 dbus.el and use-dialog-box Mario Lang
2016-07-14 12:30 ` Michael Albinus
2016-07-14 13:32   ` Stefan Monnier
2016-07-14 18:18     ` Michael Albinus

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).