emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 48aacbf292 2/2: Make many seldom-used generalized variables o


From: Augusto Stoffel
Subject: Re: master 48aacbf292 2/2: Make many seldom-used generalized variables obsolete
Date: Mon, 19 Sep 2022 13:38:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

On Mon, 19 Sep 2022 at 12:01, Jonas Bernoulli wrote:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Jonas Bernoulli <jonas@bernoul.li> writes:
>>
>>> There is one generalized variable that I would like to see undeprecated
>>> though:
>>>
>>>    (setf (buffer-local-value 'var buffer) val)
>>
>> See bug#26624.
>
> In short, it doesn't work as expected with cl-letf and fixing that
> would not be worth the effort, if it's possible at all.
>
> I can live with that, but have you considered adding a plain old
> set-buffer-local-value function? buffer-local-value isn't any more
> *necessary* than that; they both just relieve us from the need to
> use with-current-buffer explicitly.

Is it possible at all to set a variable buffer-locally but outside any
let-bindings?  If not, it would be one more reason to add such a
function.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]