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: Sun, 09 Oct 2022 12:58:04 +0000 Message-ID: <87a6652lyb.fsf@posteo.net> References: <875yhzmz25.fsf@posteo.net> <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> <87tu50nca7.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="30543"; 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 Sun Oct 09 14:59:14 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 1ohVti-0007lL-5B for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Oct 2022 14:59:14 +0200 Original-Received: from localhost ([::1]:44162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohVtg-0005Ao-M7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Oct 2022 08:59:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohVtX-0005Ag-1D for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2022 08:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohVtW-0004V0-My for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2022 08:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohVtW-0003rP-Hz for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2022 08:59: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: Sun, 09 Oct 2022 12:59: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.166532029614784 (code B ref 57639); Sun, 09 Oct 2022 12:59:02 +0000 Original-Received: (at 57639) by debbugs.gnu.org; 9 Oct 2022 12:58:16 +0000 Original-Received: from localhost ([127.0.0.1]:42312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohVsl-0003qN-Tl for submit@debbugs.gnu.org; Sun, 09 Oct 2022 08:58:16 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:39811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohVsj-0003q9-8G for 57639@debbugs.gnu.org; Sun, 09 Oct 2022 08:58:13 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B6E6A240104 for <57639@debbugs.gnu.org>; Sun, 9 Oct 2022 14:58:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665320287; bh=imBWkc91iJIHOCpNcxk3ttzpQ9PQWrTnZfMaeITXISI=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=cYaA0zDVMrist5bSc5SCd30iNbTlOUp4r4teW0eLto8lbJbrLDLiIAwdruaU9ToFT KjlIgPwh0ER0ypMHNzSPg5ZfGz0JoJMk9TR3fQrGwWA2mMR8pGlt/eGo7R+9TsxgME SXoqZuFfZICIRWx+aMSV11GDxvgTUfHrF6BKLZKnn7qBqURNFgYcvLbbloDe5jcmfa KRdbuYtAckD1VB0EC/O1joquWJNhkrk+xcdVubohDfCIZvPwEm7BerrAFzbhLKe0L+ xqyB6RQaN0Dw1nlSfi24otn4cVxM+4Frl0qxdkj1uYpa6ZC7o6uKVoumM26jhmPOkO Wgozl3V3R0QWg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mlht444Lmz9rxH; Sun, 9 Oct 2022 14:58:04 +0200 (CEST) In-Reply-To: <87tu50nca7.fsf@posteo.net> (Philip Kaludercic's message of "Wed, 21 Sep 2022 12:26:56 +0000") 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:244955 Archived-At: Philip Kaludercic writes: > 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. Ping?