From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#47291: [PATCH] Auto-detect ns-appearance of frames and call a hook when it changes Date: Tue, 18 May 2021 18:44:42 +0100 Message-ID: References: <1B39376A-B108-41FD-87EE-52D68E8F7256@nonceword.org> <87blb9hhiw.fsf@rfc20.org> <87tun0drvu.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="789"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Matt Armstrong , 47291@debbugs.gnu.org, Daphne Preston-Kendal To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 18 19:45:26 2021 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 1lj3mV-000ARS-17 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 19:45:23 +0200 Original-Received: from localhost ([::1]:59862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj3mU-0005SL-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 13:45:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj3mA-0005R3-2i for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lj3m9-0002VB-Ph for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:45:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lj3m9-0000Ou-OU for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 17:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 47291-submit@debbugs.gnu.org id=B47291.16213598961514 (code B ref 47291); Tue, 18 May 2021 17:45:01 +0000 Original-Received: (at 47291) by debbugs.gnu.org; 18 May 2021 17:44:56 +0000 Original-Received: from localhost ([127.0.0.1]:57207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3m4-0000OM-6m for submit@debbugs.gnu.org; Tue, 18 May 2021 13:44:56 -0400 Original-Received: from outbound.soverin.net ([116.202.65.218]:35027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3m0-0000O4-NE for 47291@debbugs.gnu.org; Tue, 18 May 2021 13:44:54 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 5DED360800; Tue, 18 May 2021 17:44:46 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1621359885; bh=E/esyjoTR7QacDFFdXDDtBaLeCBxwHBJE8kEf9+yNVQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nfMMe57IXN14yuk9fX+qWrIuW2NYVmZ/smW5VtwZAkhDaGzvTNNW0Jh2azUTSNhfP DQ3tnesNztTDiCLJ4NGK4MhbHw8c7YnQwd/Q4npUZ695//y5X+6zrq0oBrsA9ff5LU W35B1fc+uh9D8aH7D1OJxO3Sk0XjHK/2VRioBvyCxUzTf5E0W1/uDvH6UGrKVNeOXy EVLchIXSulE4neV2krOSPmEZoxvWOj5/fhYGF3hngdC/iMQSUiz0HDsrCXEUdBcMtv G4mK1cN+//U1kjlWtffSzythq6ZOSZxSTm5eSdfEOL0bsPjnAQvblsI6XkRN9S/vzc aJM7UUZLrIKEw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94) (envelope-from ) id 1lj3lq-000157-8m; Tue, 18 May 2021 18:44:42 +0100 Mail-Followup-To: Alan Third , Lars Ingebrigtsen , Matt Armstrong , 47291@debbugs.gnu.org, Daphne Preston-Kendal Content-Disposition: inline In-Reply-To: <87tun0drvu.fsf@gnus.org> 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:206820 Archived-At: On Tue, May 18, 2021 at 04:43:33PM +0200, Lars Ingebrigtsen wrote: > Matt Armstrong writes: > > > I suggested an alternative approach on emacs-devel -- use the > > dynamic-setting.el mechanism which is used for GTK but expressed in a > > general way. > > > > Since Emacs already has that mechanism for GTK, I think this approach > > would satisfy the policy issue Lars raised as well. > > Yes, I think that might make sense... but I've added Alan to the CCs, > since this affects Macos things. Perhaps he has some comments on these > alternative approaches. I don't really have much of an opinion. I feel tying in with pre-existing functionality is probably the way to go but I don't know anything about it. I think the first part of Daphne's change can go straight in if it's in a separate patch. -- Alan Third