From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#52877: 27.2; Let `use-dialog-box' apply to more than just yes/no questions Date: Sat, 15 Jan 2022 11:02:19 +0100 Message-ID: <87r199wc44.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4333"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 52877@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 15 11:03:34 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8fuH-0000yF-Sz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 11:03:33 +0100 Original-Received: from localhost ([::1]:38428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8fuG-0006AX-O3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 05:03:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8ftm-00065t-Ce for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 05:03:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8ftl-0004Mq-VK for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 05:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8ftl-0004uW-Qx for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 05:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jan 2022 10:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52877 X-GNU-PR-Package: emacs Original-Received: via spool by 52877-submit@debbugs.gnu.org id=B52877.164224096618847 (code B ref 52877); Sat, 15 Jan 2022 10:03:01 +0000 Original-Received: (at 52877) by debbugs.gnu.org; 15 Jan 2022 10:02:46 +0000 Original-Received: from localhost ([127.0.0.1]:39094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8ftW-0004tu-GK for submit@debbugs.gnu.org; Sat, 15 Jan 2022 05:02:46 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:47508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8ftF-0004jo-D0 for 52877@debbugs.gnu.org; Sat, 15 Jan 2022 05:02:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=otI4XpuJof6gbo5oR1FGZB5yGmemnfNDGlcT9J1MVv8=; b=udIUhsOG1gPbMvgUVi0tmEkMy2 HX05BV3wjMCrmzDWBrbylNikhJrjuSaztCHT320ljYDq6YCO4MOGsVG779kYgE6EHYieQPvflp0En feMND8cy2XWqsob/Gm4vb4VFKMDZ3PzlaXPtftUoCdw3jEM9p7/plgXxcXySNh1Q3hO8=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8ft6-0003Mt-Ii; Sat, 15 Jan 2022 11:02:23 +0100 X-Now-Playing: Joni Mitchell's _Archives: The Early Years (5)_: "Little Green" In-Reply-To: (Drew Adams's message of "Wed, 29 Dec 2021 17:47:19 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224272 Archived-At: Drew Adams 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