From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57639: [PATCH] Add new command 'toggle-theme' Date: Wed, 19 Oct 2022 13:59:33 +0300 Message-ID: <83k04wyt7u.fsf@gnu.org> References: <875yhzmz25.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> <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1225"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, larsi@gnus.org, info@protesilaos.com, 57639@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 19 13:02:43 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 1ol6qR-000AeG-Bc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 13:02:43 +0200 Original-Received: from localhost ([::1]:52890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol6qO-0004p2-6r for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 07:02:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol6oz-0004lN-KC for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 07:01:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ol6op-00080c-36 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 07:01:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ol6oo-00072r-3J for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 07:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2022 11:01: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.166617720426912 (code B ref 57639); Wed, 19 Oct 2022 11:01:02 +0000 Original-Received: (at 57639) by debbugs.gnu.org; 19 Oct 2022 11:00:04 +0000 Original-Received: from localhost ([127.0.0.1]:55947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol6nr-0006zz-Rb for submit@debbugs.gnu.org; Wed, 19 Oct 2022 07:00:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol6nn-0006yu-Rb for 57639@debbugs.gnu.org; Wed, 19 Oct 2022 07:00:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47078) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol6ni-0007cJ-0y; Wed, 19 Oct 2022 06:59:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kR6JSvPTUBMXcUSUmRsuicpu2/7crLzRu2ePxzhL7k8=; b=orYgxNdgB0q7 jQKwWMPd8K2SYyssIuGonAT/xEY3/lWybArgJaBDL3okZYcg6EOinl38LdOPyqdkymFhM4eDr2Wo5 fO0unO7UPRmcv0B0j7uyy7+6ZD53xHVqtiRpOfg3xZsEzbIVyEy5YheeV/hzojqteCnTBfcD3PZzO jfhMTFWOJ/xrI8+dONjgbDG56Tt3FKPIsOV7lhvJAXChy2/nuXjXRMStZyWhZFjWXsajXevU21l83 ANcz/2BnF2I2WyKV+RSXYSHYu04RVCZyqp6QTInhR7bnYdZo9jez0H3NEB5oSoJuobXRc05RkOyOj jFjQnrhwrNY71kyeYDrkxQ==; Original-Received: from [87.69.77.57] (port=1028 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol6nV-0004pz-Gn; Wed, 19 Oct 2022 06:59:51 -0400 In-Reply-To: (message from Stefan Monnier on Tue, 18 Oct 2022 22:43:14 -0400) 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:245853 Archived-At: > 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.