GNU bug report logs -
#52877
27.2; Let `use-dialog-box' apply to more than just yes/no questions
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Wed, 29 Dec 2021 17:48:01 UTC
Severity: wishlist
Tags: notabug
Found in version 27.2
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Drew Adams <drew.adams <at> oracle.com> writes:
> A starting point is to redefine commands such as `menu-set-font', to
> respect `use-dialog-box'. For example:
>
> (defun menu-set-font ()
> "Interactively select a font and make it the default on all frames.
> The selected font will be the default on both the existing and future frames."
> (interactive)
> (if use-dialog-box
> (menu-set-font)
> (call-interactively #'set-frame-font-all)))
If use-dialog-box is set, you want menu-set-font to call itself?
In any case, the current definition is:
(defun menu-set-font ()
"Interactively select a font and make it the default on all frames.
The selected font will be the default on both the existing and future frames."
(interactive)
(set-frame-font (if (fboundp 'x-select-font)
(x-select-font)
(mouse-select-font))
nil t))
So it uses a graphical chooser by default, no matter whether
use-dialog-box is set or not. So I don't think there's anything to fix
here, and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.