GNU bug report logs - #52877
27.2; Let `use-dialog-box' apply to more than just yes/no questions

Previous Next

Package: emacs;

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: larsi <at> gnus.org, 52877 <at> debbugs.gnu.org
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 <at> oracle.com>
> Date: Sat, 15 Jan 2022 22:12:05 +0000
> Cc: "52877 <at> debbugs.gnu.org" <52877 <at> 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.




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.