[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21563: 24.5; discourage load-hook variables
From: |
Noam Postavsky |
Subject: |
bug#21563: 24.5; discourage load-hook variables |
Date: |
Thu, 16 Jan 2020 16:35:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes:
> Drew Adams <drew.adams@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.
- bug#21563: 24.5; discourage load-hook variables, (continued)
- bug#21563: 24.5; discourage load-hook variables, Glenn Morris, 2020/01/15
- bug#21563: 24.5; discourage load-hook variables, Stefan Kangas, 2020/01/15
- bug#21563: 24.5; discourage load-hook variables, Drew Adams, 2020/01/15
- bug#21563: 24.5; discourage load-hook variables, Stefan Kangas, 2020/01/15
- bug#21563: 24.5; discourage load-hook variables, Drew Adams, 2020/01/15
- bug#21563: 24.5; discourage load-hook variables, Stefan Kangas, 2020/01/16
- bug#21563: 24.5; discourage load-hook variables, Drew Adams, 2020/01/16
- bug#21563: 24.5; discourage load-hook variables, Stefan Kangas, 2020/01/16
- bug#21563: 24.5; discourage load-hook variables, Drew Adams, 2020/01/16
- bug#21563: 24.5; discourage load-hook variables,
Noam Postavsky <=
- bug#21563: 24.5; discourage load-hook variables, Drew Adams, 2020/01/16
- bug#21563: 24.5; discourage load-hook variables, Stefan Kangas, 2020/01/16
- bug#21563: 24.5; discourage load-hook variables, Stefan Kangas, 2020/01/15
bug#21563: 24.5; discourage load-hook variables, Mauro Aranda, 2020/01/16