From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Change to `use-dialog-box-p' Date: Tue, 23 May 2023 14:35:12 +0300 Message-ID: <838rdfp9fz.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27108"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Samuel Wales Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 23 13:36:06 2023 Return-path: Envelope-to: ged-emacs-devel@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 1q1QJB-0006p2-T5 for ged-emacs-devel@m.gmane-mx.org; Tue, 23 May 2023 13:36:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1QHx-0001qo-Af; Tue, 23 May 2023 07:34:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1QHw-0001qc-B3 for emacs-devel@gnu.org; Tue, 23 May 2023 07:34:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1QHw-0006xi-2f; Tue, 23 May 2023 07:34:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0ricijOIKPb5Bqlb4/njt9KGQ8auWSwDat4sYmhEuXo=; b=nUUmfwT4DwfF Zeg0dvpXQjUDAdl9SJMSX+M3beSAiEZWWjmACNF2PqmYMUpk7Ki0K23c+ULTwO8sZjFwg+qALSWQa AGIDoI+TLAqc0kw0zCHlZ/FCrMHiEYee3tzDpR7nVSPWnlTwF8lydbJOMVDbP9md6DNl/fXa5hUDU I3JDS4Pp+WClkY6ka/b1vitpqPGm7v0/DOXfX9SE+AAfZtCZzMJHwBCR6HTeSOIvdbfIJSUaA0pgV tK5R1lco6QJbX+7rNmYsCIZbhrXRjLMVBiwP5paFc9qOo7Z4Ajb66g0sSjS2ZGBIN+UmQGFuGWegD 5HLGuipKKHIVEoD3SrvWtg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1QHv-0002YB-JN; Tue, 23 May 2023 07:34:47 -0400 In-Reply-To: (message from Samuel Wales on Mon, 22 May 2023 18:39:46 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306280 Archived-At: > From: Samuel Wales > Date: Mon, 22 May 2023 18:39:46 -0700 > > btw in my case i am in either kb mode or gui mode; i do not combine > them as that is an accessibility issue. > > btw there is at least one case where you want gui when you invoked the > command kb, and kb when you invoked it gui: type-break.el. what it > /should/ do in its ... hook? is find out if you are /currently/ using > kb or gui, then match that. I don't think I understand the issue, but one possibility is to invoke x-popup-dialog directly.