[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus using lexical-binding
From: |
Eric Abrahamsen |
Subject: |
Re: Gnus using lexical-binding |
Date: |
Tue, 02 Feb 2021 12:31:50 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I'm now seeing a bug with `gnus-article-browse-html-article' that might
>> (?) be a result of this, I'm not sure.
>
> It's triggered by the recent change, indeed.
> It's due to a longer standing bug, tho.
[...]
> I'm not completely sure why this code looks up the `standard-value`, but
> the `standard-value` property is supposed to contain a cons cell whose
> car is an *expression* that needs to be evaluated to get the variable's
> intended standard value.
Ah, hence the lambda. I can't immediately think of why we'd need the
standard value of the option here, either.
> So it will never be nil and using it as a value is just wrong.
>
> I installed a patch into `master` which should hopefully fix
> the problem.
Looks good! Thanks for the quick fix.
Eric