From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Date: Sat, 21 May 2022 15:21:29 +0200 Message-ID: <87tu9jxbqe.fsf@gnus.org> References: <87d0euopzw.fsf@telefonica.net> <87fsl44gji.fsf@gnus.org> <87fsl45kaw.fsf@telefonica.net> <871qwnyrgd.fsf@gnus.org> <83k0af826j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21241"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: ofv@wanadoo.es, 37802@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 21 15:22:18 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 1nsP3i-0005Ij-9P for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 May 2022 15:22:18 +0200 Original-Received: from localhost ([::1]:41012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsP3g-0004Zp-Bi for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 May 2022 09:22:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsP3S-0004Za-92 for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 09:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsP3S-00056i-0F for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 09:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nsP3R-0005hx-Sm for bug-gnu-emacs@gnu.org; Sat, 21 May 2022 09:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 13:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 37802-submit@debbugs.gnu.org id=B37802.165313930521912 (code B ref 37802); Sat, 21 May 2022 13:22:01 +0000 Original-Received: (at 37802) by debbugs.gnu.org; 21 May 2022 13:21:45 +0000 Original-Received: from localhost ([127.0.0.1]:40964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP3A-0005hM-PW for submit@debbugs.gnu.org; Sat, 21 May 2022 09:21:44 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:45802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP37-0005h5-V3 for 37802@debbugs.gnu.org; Sat, 21 May 2022 09:21:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fmvEjMrd5rZLyBq0dJlP1tmEY8/ydcZIevr8MZ3kCIg=; b=a82hWN4wAB3YDrQUWHcWEADpC2 RZqe32ZzKoiTLeIvltKDL7LpDxC/874b9qqxMsw2q9ayJ5d89v5lxjlAQ7QN9YnkpUQy66vAe1OVS xEPoHRyj8egcL92yDFeJqAMxRFfjWkuLfIzb5YJqviXaqwl+zUdDDsPyh8rblJdH03KY=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsP2v-0003be-QO; Sat, 21 May 2022 15:21:34 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWRglmxqaXs6uk4 MSr////Za8C4AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFFQ0UCfxEhkAAAAGZSURBVDjLnZTLYcQg DETF0gCCBhBuQKz67y0ahB17k1zCBeyHfoOAiOr4bdB/QPJJBjNjXrtEuJLZ5JpbMzPVYgqAD8qW HBxYr6HFfwGYOmjtAucgcsAPkO+g3MDs/scdUuJx8A1oS55rgJ4eMfLK6g6UyxXcyEvrM0Cq4ruV sH8BOQEjWB08xEECOML3DODCUEa6I0CyufIViAhJuAaAapigJKkl14SOSKpKQwoAlmERwEhhMjeY DlpYkKKOOQKoB3fwzqamS0GclR+UMVS0Iaewni8A0iKrHXFTkCoONOfZNbtc0raBGzN7usUjUi3a iTaoAr00IWgvKom3ySxQ1x0rZQBPIsALrvYBd1L01QarjhiiS7pQ/30H9lpNuKLM1aKuFfJGmVxH 38BjUF1NS+whK8pHIagjul1YossXWf1zAt79H+1NcLVBvZnYDZS0TT5B1nAm+QkK7sMaVycGaNiF i1c+AFrTS/UC8hNgvSrNT3D40URw3CH9AJfTmR8g8en03W7ANkCBr28gpyJr7W/DCX6+JX+BL8IS lI6nN0lvAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTIxVDEzOjIwOjA5KzAwOjAwiyNSNAAA ACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yMVQxMzoyMDowOSswMDowMPp+6ogAAAAASUVORK5C YII= X-Now-Playing: Bobbie Gentry's _The Girl From Chickasaw County (5): Touch 'Em With Love_: "Glory Hallelujah, How They'll Sing" In-Reply-To: <83k0af826j.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 May 2022 16:07:00 +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:232827 Archived-At: Eli Zaretskii writes: > Thanks, but is there any reason these hooks aren't called > enable-theme-function and disable-theme-function? Hooks by such > names are already documented as "abnormal hooks", which would avoid > the need of saying these new hooks are "atypical", something that we > never had in our terminology. "Abnormal" was the word I was looking for. As for the name, I don't really have much of an opinion -- we have more of these abnormal hooks called -hook than -function(s), a short grepping for run-hook-with-args shows. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no