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: Wed, 19 Oct 2022 08:25:26 -0400 Message-ID: References: <875yhzmz25.fsf@posteo.net> <871qs57yai.fsf@gnus.org> <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> <83k04wyt7u.fsf@gnu.org> 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="21873"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: philipk@posteo.net, larsi@gnus.org, info@protesilaos.com, 57639@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 19 14:26:30 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 1ol89V-0005W5-1M for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 14:26:29 +0200 Original-Received: from localhost ([::1]:34170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol89T-0006QS-Js for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 08:26:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol895-0006N9-MV for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 08:26:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ol893-0005c5-Tn for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 08:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ol893-0007V5-Nw for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 08:26:01 -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 12:26:01 +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.166618235528819 (code B ref 57639); Wed, 19 Oct 2022 12:26:01 +0000 Original-Received: (at 57639) by debbugs.gnu.org; 19 Oct 2022 12:25:55 +0000 Original-Received: from localhost ([127.0.0.1]:56108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol88k-0007US-G7 for submit@debbugs.gnu.org; Wed, 19 Oct 2022 08:25:55 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol88d-0007UA-HI for 57639@debbugs.gnu.org; Wed, 19 Oct 2022 08:25:42 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2CA6F100189; Wed, 19 Oct 2022 08:25:30 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 609691000DC; Wed, 19 Oct 2022 08:25:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1666182328; bh=86CXECAfjMd9enR3yZ1db4/VM1JUylqLXobfecvwGEo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ft0GTdo4tHv6EnXe0OSFlBTbkuB839GKPAta1gELlcxrrkfyFHquFAdfACautf4g2 a8Zv9/YFncfp6/8u/HZANKr8Ardaw5EJKk4XOIU/oT964co5djJx8xymGjdqXHky/8 qFBj7I13ry8hAyAW2glYOeEwWstQxNiLdXqHSn3gVf/uzfWdznwEU6qVQIr+ZQlAE0 R8DANnNtUg8zqaa7jxwpdJx5ffrWk/sDIi/zdSAzjDKeRrdLxa5Esh++WYlo21nqkh rKWNTqMDY/xEHArTZq2CRt5V85eCKPO/3B1d3DAAtR8F//dV99mrWtVaXlBpaOdqDi DW8yzUFBD0gxw== Original-Received: from pastel (65-110-220-202.cpe.pppoe.ca [65.110.220.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1F021120D85; Wed, 19 Oct 2022 08:25:28 -0400 (EDT) In-Reply-To: <83k04wyt7u.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Oct 2022 13:59:33 +0300") 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:245868 Archived-At: Eli Zaretskii [2022-10-19 13:59:33] wrote: >> From: Stefan Monnier >> Cc: Philip Kaludercic , larsi@gnus.org, >> 57639@debbugs.gnu.org, info@protesilaos.com >> Date: Tue, 18 Oct 2022 22:43:14 -0400 >> >> ** Themes have special autoload cookies. >> All build-in themes are scraped for ;;;###theme-autoload cookies that >> are loaded along with the regular auto-loaded code. >> >> but I can't see any good reason why Emacs users should care about that. >> It seems like a purely internal hack (and given the restrictions on >> what can be autoloaded this way, we probably shouldn't advertise it too >> loudly, unless accompanied with appropriate warnings). > > NEWS is not just for users, it is also for developers, in particular > developers of themes. But the above is only potentially useful for those themes that are built-in. That's a mighty small audience, if you ask me, and IIUC that audience was already part of the discussion that introduced this change, so they won't learn it from etc/NEWS :-( Stefan