[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run
From: |
Lars Ingebrigtsen |
Subject: |
bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run |
Date: |
Fri, 07 Dec 2018 19:04:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> It looks like gnus-newsgroup-name (and friends?) are no longer set when
>> the summary mode hooks are run, so hooks that rely on that are now
>> broken.
>
> Yes, since `gnus-summary-mode' is now a real mode, it clears local
> variables before running the hook. The right place for that sort of hook
> is now `gnus-summary-prepared-hook'. I tried to change all the relevant
> hooks I could within the codebase, but I guess gnus-mdrtn.el isn't
> publicly available? I can change the Moderation section of the manual to
> update the installation instructions.
No, you can't break third-party software that way. You have to set the
variables the hooks expect to exist before calling the hook.
>> It also looks like summary mode line highlights no longer works.
I think that was a false alarm.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Lars Ingebrigtsen, 2018/12/07
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Eric Abrahamsen, 2018/12/07
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Eric Abrahamsen, 2018/12/07
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run,
Lars Ingebrigtsen <=
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Eric Abrahamsen, 2018/12/07
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Lars Ingebrigtsen, 2018/12/12
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Eric Abrahamsen, 2018/12/12
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Lars Ingebrigtsen, 2018/12/19
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Eric Abrahamsen, 2018/12/19
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Lars Ingebrigtsen, 2018/12/19
- bug#33665: 27.0.50; Variables not set up in Gnus when hooks are run, Eric Abrahamsen, 2018/12/19