From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#36618: 26.2; Misnamed `*-hooks' variables Date: Sat, 13 Jul 2019 16:05:06 +0200 Message-ID: <87d0ievxm5.fsf@mouse.gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="224447"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36618@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 13 16:06:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmIfA-000wDu-0l for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 16:06:08 +0200 Original-Received: from localhost ([::1]:56436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmIf9-0002tX-30 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 10:06:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38122) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmIf5-0002tF-UC for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 10:06:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmIf4-0004n7-Pi for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 10:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmIf4-0004n1-MN for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 10:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmIf4-0003vR-EU for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 10:06:02 -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, 13 Jul 2019 14:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36618 X-GNU-PR-Package: emacs Original-Received: via spool by 36618-submit@debbugs.gnu.org id=B36618.156302671315002 (code B ref 36618); Sat, 13 Jul 2019 14:06:02 +0000 Original-Received: (at 36618) by debbugs.gnu.org; 13 Jul 2019 14:05:13 +0000 Original-Received: from localhost ([127.0.0.1]:42968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmIeH-0003ts-BH for submit@debbugs.gnu.org; Sat, 13 Jul 2019 10:05:13 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:34352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmIeF-0003te-EY for 36618@debbugs.gnu.org; Sat, 13 Jul 2019 10:05:11 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmIeB-0001Cv-99; Sat, 13 Jul 2019 16:05:09 +0200 In-Reply-To: (Drew Adams's message of "Fri, 12 Jul 2019 08:16:56 -0700 (PDT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162881 Archived-At: Drew Adams writes: > The following variable names end in `-hooks', instead of `-hook' or > `-functions' (there may be more - just noticed these in one of my > sessions): > > bookmark-exit-hooks (OBS) As you say, there's nothing to be done about obsolete -hooks variables. > delay-mode-hooks (Bool) These bool variables have logical names -- they say whether to do something or other about the hooks, so I don't think they should change names. > delayed-mode-hooks XXX That's not really a -hook variable, but list of hook variables to run, so it's fine: (defvar-local delayed-mode-hooks nil "List of delayed mode hooks waiting to be run.") > ediff-before-session-group-setup-hooks XXX This is a variable that's never used, apparently? I'll just mark it as obsolete. > recentf-used-hooks XXX It's a list of hooks, not a hook, so has a correct name. > unload-feature-special-hooks (aliased) Same. Nothing to be done for the rest; closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no