From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#57639: [PATCH] Add new command 'toggle-theme' Date: Wed, 21 Sep 2022 12:26:56 +0000 Message-ID: <87tu50nca7.fsf@posteo.net> References: <875yhzmz25.fsf@posteo.net> <874jxa6kyj.fsf@gnus.org> <87o7vdg97w.fsf@posteo.net> <831qs926np.fsf@gnu.org> <871qs9fzz5.fsf@posteo.net> <83h715yxz2.fsf@gnu.org> <87h715dnut.fsf@posteo.net> <87edw955ls.fsf@gnus.org> <8735coewsk.fsf@posteo.net> <871qs7ztgq.fsf@gnus.org> <87o7vbg56k.fsf@posteo.net> <874jx3ye41.fsf@gnus.org> <87bkrbfz8l.fsf@posteo.net> <871qs5lpo2.fsf@posteo.net> <87mtatagzv.fsf@gnus.org> <87edw5n2zm.fsf@posteo.net> <87o7v97zy2.fsf@gnus.org> <87bkr9newj.fsf@posteo.net> <871qs57yai.fsf@gnus.org> <87y1udlzlt.fsf@posteo.net> <87o7v953uf.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35279"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 57639@debbugs.gnu.org, Protesilaos Stavrou To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 21 14:49:26 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 1oazAK-0008z3-JE for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 14:49:24 +0200 Original-Received: from localhost ([::1]:50054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oazAI-0007TN-3T for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 08:49:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaypf-0006Oo-1y for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 08:28:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaype-0001z2-PO for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 08:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaype-00066g-J1 for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 08:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Sep 2022 12:28: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.166376322923412 (code B ref 57639); Wed, 21 Sep 2022 12:28:02 +0000 Original-Received: (at 57639) by debbugs.gnu.org; 21 Sep 2022 12:27:09 +0000 Original-Received: from localhost ([127.0.0.1]:32846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oayom-00065Y-KV for submit@debbugs.gnu.org; Wed, 21 Sep 2022 08:27:08 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:49029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oayok-000655-JM for 57639@debbugs.gnu.org; Wed, 21 Sep 2022 08:27:07 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 15F4A240029 for <57639@debbugs.gnu.org>; Wed, 21 Sep 2022 14:26:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1663763221; bh=dEOxrJOnlTIfaiLHLhav4eyIJqpgGcLllBaOYhwPB7s=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=TyUW2NFyGWg+4SoB0TN3ktONpZVZpRNpFVbmX8+Q6xAJUxcp9UQlNi/E64y7186WK 9BFH0HpEue7ngUfQnaVz7K/GjbOzZUbnZWoeuGZT4Jqk62UIGG1mg+tU//EkeZU4SG R8NK/fJW/NpbYmlXppU114Ida4JUOowCFHw+lzu9Wwc98Mqem62t6u+6Xz5nyjG5st Bc56P+LaYaPh0US18IL9L0o+9/8kQTESMl45Kk3d+1S8ShACyIQ/3EGr50m6OBZNoc CI3ggt78XbVDEfqgeZigbjuM39JOFpgGNtJmpAleO5X1GRQp1CXTIWlgGuUZI7cbwF nn4tzLr+mPtgA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MXd2S33gMz6tpc; Wed, 21 Sep 2022 14:26:56 +0200 (CEST) In-Reply-To: <87o7v953uf.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 21 Sep 2022 14:06:32 +0200") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB 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:243328 Archived-At: Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >> There probably is not automatic way to resolve this issue, but perhaps >> it might be enough to remind all the external theme maintainers to >> remove these snippets before updating the files in emacs.git. > > That would be inconvenient to have to have different versions in Emacs > and on ELPA(s). Functionally they wouldn't differ from one another, the only difference would be that the core packages wouldn't include the code necessary to bootstrap a theme as a package. > As a gross hack, we could add a new file in etc/themes that has these > `put' statements and then load that in Emacs. But... that's kinda > gross, so if somebody has a better idea, that's be nice. If there were a way to generate "autoloaded" code as a side effect of byte compilation or something, then deftheme would take care of that. But I don't know enough about the bootstrapping process to say how feasible that is or not.