bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52877: [External] : Re: bug#52877: 27.2; Let `use-dialog-box' apply


From: Eli Zaretskii
Subject: bug#52877: [External] : Re: bug#52877: 27.2; Let `use-dialog-box' apply to more than just yes/no questions
Date: Sun, 16 Jan 2022 10:50:34 +0200

> From: Drew Adams <drew.adams@oracle.com>
> Date: Sat, 15 Jan 2022 22:12:05 +0000
> Cc: "52877@debbugs.gnu.org" <52877@debbugs.gnu.org>
> 
> > So it uses a graphical chooser by default, no matter whether
> > use-dialog-box is set or not.
> 
> Exactly.  That's exactly the limitation this
> enhancement request asks to remove.  Let _users_
> control whether it uses a graphical chooser
> or not - exactly what `use-dialog-box' is for.
> 
> The limitation is that `use-dialog-box' currently
> is usable only with `yes-or-no' questions.

We don't provide any non-dialog way of selecting fonts because no one
has written code to do that.  The dialog we show uses OS APIs, and the
implementation, beyond popping up the dialog and using the value it
returns, is not in Emacs.

So we simply cannot offer the users control of this, since we don't
have code to find the available fonts relevant to Emacs and display
them grouped by family, typeface, size, etc., in a useful way.  We use
the system-provided dialogs instead.

IOW, this is not a bug.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]