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#57639: [PATCH] Add new command 'toggle-theme' Date: Wed, 07 Sep 2022 15:03:23 +0200 Message-ID: <875yhzmj50.fsf@gnus.org> References: <875yhzmz25.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25339"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57639@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 07 15:09:13 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 1oVuno-0006Qe-Ho for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 15:09:12 +0200 Original-Received: from localhost ([::1]:47218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVunn-0006xa-Fe for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 09:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVuio-0001z4-TM for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 09:04:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVuio-0001Pk-JG for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 09:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVuio-0005FK-Fp for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 09:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Sep 2022 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57639 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57639-submit@debbugs.gnu.org id=B57639.166255581520114 (code B ref 57639); Wed, 07 Sep 2022 13:04:02 +0000 Original-Received: (at 57639) by debbugs.gnu.org; 7 Sep 2022 13:03:35 +0000 Original-Received: from localhost ([127.0.0.1]:54008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVuiN-0005EL-3I for submit@debbugs.gnu.org; Wed, 07 Sep 2022 09:03:35 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:41818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVuiK-0005E4-FE for 57639@debbugs.gnu.org; Wed, 07 Sep 2022 09:03:32 -0400 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:Date:References: In-Reply-To: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=B91TsdjELM2aq/DV6POJmnipJWs9Ok3Swr7ou0+pIUY=; b=WU8oTbgsmjtP99NhO/zh/9PaDD UOsP8tyQQz9opG65rf9EVfR9c1aaHsxB6STc/C3e694BmK3WVfwqtzA9Bw2rDc12CZH1DCeJ4a5Ry x+TlaNDwL/qogr3tzViZ/5R+XqLiYSq9ZTqLJr+MjyhM8nBjvjCs7b75TYKkUdVjMPP8=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVuiC-000702-87; Wed, 07 Sep 2022 15:03:26 +0200 In-Reply-To: <875yhzmz25.fsf@posteo.net> (Philip Kaludercic's message of "Wed, 07 Sep 2022 07:19:30 +0000") X-Now-Playing: The Senior Allstars - =?UTF-8?Q?=E2=80=98Slipping?= Into =?UTF-8?Q?Darkness=E2=80=99's?= _Late Night Tales: Version Excursions (Selected By Don Letts)_: "Originally recorded by WAR " 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:241768 Archived-At: Philip Kaludercic writes: > Find below a patch for a command that a lot of custom themes > re-implement, whenever there exists a light and dark variant. I think it would also be nice if the themes themselves explicitly defined themselves as being light/dark, really. That way, when Emacs finally grows a "react to the OS dark mode settings", Emacs could also flip to the correct theme (if we have a dual theme).