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, 19 Oct 2022 07:16:13 +0000 Message-ID: <87ilkg472a.fsf@posteo.net> References: <875yhzmz25.fsf@posteo.net> <87o7v953uf.fsf@gnus.org> <87tu50nca7.fsf@posteo.net> <87a6652lyb.fsf@posteo.net> <875ygtqdho.fsf@gnus.org> <87wn99114w.fsf@posteo.net> <87wn98nlhq.fsf@gnus.org> <87lepo9c1e.fsf@posteo.net> <87r0zfkxzx.fsf@gnus.org> <87pmeyg24x.fsf@posteo.net> <87edvef8nc.fsf@gnus.org> <871qre2l63.fsf@posteo.net> <875ygqf7pc.fsf@gnus.org> <87r0ze15rt.fsf@posteo.net> <871qref5mq.fsf@gnus.org> <875ygohztx.fsf@posteo.net> <83tu489fm6.fsf@gnu.org> <8735bs3ta0.fsf@posteo.net> <87ilkn3jgj.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="17261"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 57639@debbugs.gnu.org, Stefan Kangas , larsi@gnus.org, info@protesilaos.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 19 09:19:22 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 1ol3MI-0004Do-0q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 09:19:22 +0200 Original-Received: from localhost ([::1]:42002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol3MG-0005J5-Ke for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 03:19:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol3K3-0005Gt-5W for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 03:17:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ol3K2-0007Wy-QN for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 03:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ol3K2-0007BQ-Bb for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 03:17: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, 19 Oct 2022 07:17: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.166616378927569 (code B ref 57639); Wed, 19 Oct 2022 07:17:02 +0000 Original-Received: (at 57639) by debbugs.gnu.org; 19 Oct 2022 07:16:29 +0000 Original-Received: from localhost ([127.0.0.1]:55660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol3JV-0007Ab-H8 for submit@debbugs.gnu.org; Wed, 19 Oct 2022 03:16:29 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:43297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol3JQ-0007AG-5l for 57639@debbugs.gnu.org; Wed, 19 Oct 2022 03:16:27 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 17F9E240106 for <57639@debbugs.gnu.org>; Wed, 19 Oct 2022 09:16:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666163778; bh=3sosxBHJb+10H/ceREiB+5aIwqbjVeyofGwCAq1SzcE=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=cmLuHd43LyH+79RxZX92hwg/F6bXJijWnYSP9S8jzIFxfhqhMRLl0Osd4hEKK0hB2 VE65fuuh6VacbrSpE81t/SKVyDJtfxS8wGrCI/ABZbzaF5mYBasNIiO/bqtVyv/CmT 6O8JcsOD3Vorg8ptDuTqOHwnmk6RS5U3ZX0vkCCMeNozzS2ixV2DtMM5Qv7h66pqPu hEjdlPOziGWUnYKu7fBj3czKSfB3g9v9ZimziXchiyGmIFuN06FJ7/4MVpoO/WjdAI S6eJJ5t5U4+wZ1tPcz1/MQnTBpqTBguk8mxOAdCkLkuskNwhHJ8hoHuJ2jvxzboY71 PMPzmGEU520Tw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mshq45Yvtz6tnk; Wed, 19 Oct 2022 09:16:14 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Tue, 18 Oct 2022 22:46:09 -0400") 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:245847 Archived-At: Stefan Monnier writes: >> The fundamental issue that necessitates boilerplate is that packages are >> not added to the theme load path, and adding a new cookie type doesn't >> change that. > > We could arrange for `autoload/loaddefs-gen` to recognize `deftheme` and > add the directory containing the file containing this `deftheme` to the > `custom-theme-load-path`. For packages installed using package.el or in general? If this is possible I think this would be a nice idea.