From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier 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, 18 Oct 2022 22:46:09 -0400 Message-ID: References: <875yhzmz25.fsf@posteo.net> <87y1udlzlt.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> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35997"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , 57639@debbugs.gnu.org, Stefan Kangas , larsi@gnus.org, info@protesilaos.com To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 19 04:47: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 1okz6t-00097T-92 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 04:47:11 +0200 Original-Received: from localhost ([::1]:55562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okz6s-00068f-6H for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 22:47:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okz6k-00068V-Qj for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 22:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okz6k-0001wO-Ih for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 22:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okz6k-0008KX-8i for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 22:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2022 02:47: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.166614758031970 (code B ref 57639); Wed, 19 Oct 2022 02:47:02 +0000 Original-Received: (at 57639) by debbugs.gnu.org; 19 Oct 2022 02:46:20 +0000 Original-Received: from localhost ([127.0.0.1]:55344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okz64-0008JZ-05 for submit@debbugs.gnu.org; Tue, 18 Oct 2022 22:46:20 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:6020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okz61-0008JM-Sx for 57639@debbugs.gnu.org; Tue, 18 Oct 2022 22:46:18 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 96AB510013B; Tue, 18 Oct 2022 22:46:12 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2DDE61000E7; Tue, 18 Oct 2022 22:46:11 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1666147571; bh=x+JF8Vl61uDFqiwE3JLf8urgrqzhmTGTbovleMBpoqg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=TU+aMnZNdu1g5lVO1rlbv7/ZIqm2aDjzQhg1nRn4mhhHmVViTZHb+EBsrVV5Se9oY dRKXxNrGMWHje3BjMe1HM8fw6Qt4BfG0uBA7qOx0oj/9FXkAzbg8vG1/Xteggsal70 KV8DyBAHD9iNSbR21+VRUKp5N2kqjLg/ShDQmLfUCvvVgru1SkXaMMv3RmX0KqWJfl SicUfsSDeiS7CxxllbJiJOCVSsUrOwfdwsAJCjej6EzNs51hYPwXAQfyvffiIKaGao ySk7JgJOQTnq6SK8g7ip/GpCWIiYw2uYeUC0fYKyQa3NWa5HLXW3qMgQ+DCI6ca20H IQmJ5ekr9FuPQ== Original-Received: from pastel (65-110-220-202.cpe.pppoe.ca [65.110.220.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E5DEB120EEF; Tue, 18 Oct 2022 22:46:10 -0400 (EDT) In-Reply-To: <87ilkn3jgj.fsf@posteo.net> (Philip Kaludercic's message of "Thu, 13 Oct 2022 14:07:56 +0000") 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:245842 Archived-At: > 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`. Stefan