unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61553: 29.0.60; Inconsistent use of dialog boxes by read-multiple-choice
@ 2023-02-16 16:19 Augusto Stoffel
  2023-02-16 17:59 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Augusto Stoffel @ 2023-02-16 16:19 UTC (permalink / raw)
  To: 61553


In the scratch buffer of emacs -Q, type

    (read-multiple-choice "Question" '((?y "yes") (?n "no")))

then click, on the menu bar, "Lisp-Interaction -> Evaluate and Print".
As expected, I see a dialog box.

Now repeat the same using the long-form style:

    (read-multiple-choice "Question" '((?y "yes") (?n "no")) nil nil t)

Then I get a minibuffer query, but I would expect a dialog box in the
case as well.

As a more concrete example, when clicking the "File -> Close" menu item
in a modified buffer, I would expect a to always get a dialog box for
the "buffer modified, kill anyway?" question.  (assuming of course
use-dialog-box is t).  Currently, one gets a minibuffer query by
default.  This change from mouse interaction to keyboard interaction
seems unexpected to me.





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

end of thread, other threads:[~2023-02-19  9:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 16:19 bug#61553: 29.0.60; Inconsistent use of dialog boxes by read-multiple-choice Augusto Stoffel
2023-02-16 17:59 ` Eli Zaretskii
2023-02-16 18:36   ` Augusto Stoffel
2023-02-16 20:17     ` Eli Zaretskii
2023-02-17 10:24       ` Robert Pluim
2023-02-17 12:31         ` Eli Zaretskii
2023-02-17 12:42           ` Robert Pluim
2023-02-19  9:32       ` Eli Zaretskii

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