From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57639: [PATCH] Add new command 'toggle-theme' Date: Tue, 13 Sep 2022 10:25:45 +0800 Message-ID: <87o7vk2eom.fsf@yahoo.com> References: <875yhzmz25.fsf@posteo.net> <875yhzmj50.fsf@gnus.org> <875yhzl3a1.fsf@posteo.net> <87fsh25bso.fsf@gnus.org> <871qsil3jm.fsf@posteo.net> <87fsgygo7c.fsf@gnus.org> <87a676jfx2.fsf@posteo.net> <87bkrmdt46.fsf@gnus.org> <8735cxpx2r.fsf@posteo.net> <871qsgc390.fsf@gnus.org> <871qsg4u0b.fsf@yahoo.com> <87pmg0pqam.fsf@posteo.net> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7369"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Lars Ingebrigtsen , 57639@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 13 04:27:11 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 1oXvdn-0001jO-G3 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Sep 2022 04:27:11 +0200 Original-Received: from localhost ([::1]:54826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXvdm-00019R-5W for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 22:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXvdf-00018k-Ge for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 22:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXvdf-0007t3-3S for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 22:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXvde-0002u9-Gg for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 22:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Sep 2022 02:27: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.166303596611100 (code B ref 57639); Tue, 13 Sep 2022 02:27:02 +0000 Original-Received: (at 57639) by debbugs.gnu.org; 13 Sep 2022 02:26:06 +0000 Original-Received: from localhost ([127.0.0.1]:48393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXvcj-0002sy-M4 for submit@debbugs.gnu.org; Mon, 12 Sep 2022 22:26:05 -0400 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:35157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXvcf-0002sS-U8 for 57639@debbugs.gnu.org; Mon, 12 Sep 2022 22:26:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663035954; bh=m/pX5xIbXouRqz9blMRhJmh2X2SCnoLdqe2yzwRMuS4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Sdub+nd0iUOcmzPUi/lv9GEqlzBbbTvIkHZhh4lQN4XOpJ/w+jdxLcxhr1Z/U+KNj297wZGUkH7Zct8fEqMmS79g0mnNtYxTSaLhGkD6Moa68ZWJW8UHQE6Ct+BkGW3cJRMvJMiHWAv1/8rk8zkH4wyTqAs3nkW8d8VSYOwPkTDq3xXZ1zNBhaN8fnLQJDBaPDRTa8lDcjgfyycRtrk1kRAjz89bj5Tur14HQHIv9KXYsV/sM+vjtQa0mCaRYexcF7vRhPjsZPjP1frMOOVI8ebsMx6ryZrGsYFAUBpE3M64RMW5xZzfE1weLXjFux0sCdhyzB6OUQteGp00wXDEig== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663035954; bh=WAlrTlRKa7QVMZnBbpiZx7PDeSLwYgrc5/st0jhJ50m=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=lS9S9MsyLOPtcib4Bq0EdofdyjH+J+iCNrkLqMPJ6Zorzpnqc1kTHLI73gpl//EjOozRNSXS5n0NIijaPeQRsoKh2lBEGSOk0jggq9XsOueO/Itogo15YnnRfE4EKZAcu7sp3pZVcNuqTz/yzNECfqCrt5SQCl8QhHxewAn3dVtO4tttcTNrw7mGcXjEfSOq1teLc0CfPEnfv1HfNi6OZUwj8sEpleuXknYszT4sN/XAYc/CVxYVmBbBvZ2RtRVY5YX6eCyPTKY9OFOOmkSqyFwgoyNJSRNAkelLpMvWgJZPpuKJRWO+9GPm8AR0vkwWAH5HiGIqXKRaE0KAlRLlBw== X-YMail-OSG: PU.l60QVM1lK2Mm9bblCC__3iHuK1VOGCKuHUOCROdwjwdtD1KHqCJ6kb2YAItD Ey8TGbcR7g0GY.2iLmQGTEgbqLkc29RuaY7gTISH8.IYqRdwUA3GdivFYHM.QUWSlbVCdZ61xqmd tYIhnt1GvBL8ozcZvWXOFOXyTvkfA99NZyr1EuxxxCifbnvihGbGgzGmGHhDK0C0YoOWXWLRpApY 55Cpn0OZaglX85_frjuV5aJFp_bCzP2f_vriV6iQn5PTYlSgR7UUb81iskzaShpHxiwlF9PAWe3C W64IEArNkHjbw.5CBdKUMpEzoq4CwS6IStii3oJ1NL36Gex7D78xrLwRI0JsX0KartjKqgx4AAMV 5cdXwUzfX6hkqvnwssd9MHB.WNik_oETSWtSYlTb_LheQOM1QyJK98WTPUodwhX4xcdOx7nxJh50 CB6ysBwgw2kuV4YGxq5k_kbbtW.oWdzq9hYsFeGHnRl5bHHKs7ZMxuZUPxTKxKGLPlQ903tGDfqq uRjnfEnJT5HKgEHRY1ecljAZSVXLX9Av2MU86JNWdkW_WGcs9jF9XOJQZOVwXROvLlESxkcuwtD5 mD8hCMgdzV5ZPlR766NgISfnxU0HVfMFF7jbH1O3ipZmW5IQ3CXqbGNFrKFmwv2ruJrk3s4lsRI7 2lSo.Zybl20w7SJAe6kAS0jh87gx4W0oWT6BZWaSuC5OTS3QnRHqBE7aZoBF8PjllftMN1zDIKqa jWRkWzmxKmpe3sd6R4X0n9Siyt1Em8ipK.a_hPOU4lrojEg.li7DFhCdJWdH.zZBoI0Hl4JS57W7 2S87D12UwRhiTNHOOxNyMXVkusoEznchEL1TDl5tBD X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Tue, 13 Sep 2022 02:25:54 +0000 Original-Received: by hermes--canary-production-sg3-6bb8946c47-vfvlf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d901c7ddad471e2237ab485c32354f04; Tue, 13 Sep 2022 02:25:51 +0000 (UTC) In-Reply-To: <87pmg0pqam.fsf@posteo.net> (Philip Kaludercic's message of "Mon, 12 Sep 2022 15:26:25 +0000") X-Mailer: WebService/1.1.20612 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:242309 Archived-At: Philip Kaludercic writes: > For now it is just detecting that a switch should be made. Right... that's easier than trying to determine if a theme is dark or light, but is still currently a mess on the X desktop. > Would this have to be re-implemented for most desktop environments, or > do most of them use DBus to signal these changes? Recent releases of KDE and GNOME do. I know nothing about the others, but they probably do not provide a way to toggle between "dark" and "light" themes in the first place.