GNU bug report logs - #21563
24.5; discourage load-hook variables

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Fri, 25 Sep 2015 19:01:01 UTC

Severity: wishlist

Found in version 24.5

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 21563 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>, Roland Winkler <winkler <at> gnu.org>, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#21563: 24.5; discourage load-hook variables
Date: Thu, 16 Jan 2020 16:35:17 -0500
Stefan Kangas <stefan <at> marxist.se> writes:

> Drew Adams <drew.adams <at> oracle.com> writes:
>
>> Here's what I'd suggest, if you are bent on removing
>> all load hooks and deprecating them:
>>
>> 1. Try removing all of them from the vanilla
>>    (distributed) Elisp code.
>>
>> 2. Run with that for a major release or two.  If no
>>    problems, then deprecate (declare obsolete).
>
> I'm not sure I understand the proposal.  What is the "vanilla
> (distributed) Elisp code"?  What does "removing all of them" mean, and
> how is removing them more cautious than adding a deprecation warning
> to the variables?

I think Drew meant to remove the *usage* of the hooks.  That is, remove
cases of (add-hook 'foo-load-hook ...), before deprecating foo-load-hook
itself.




This bug report was last modified 4 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.