GNU bug report logs -
#6241
Please make buffer-offer-save permanent local
Previous Next
Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>
Date: Fri, 21 May 2010 17:35:01 UTC
Severity: minor
Tags: fixed
Merged with 13792
Fixed in version 24.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Thu, May 27, 2010 at 3:28 AM, MON KEY <monkey <at> sandpframing.com> wrote:
>> importantly, I'm not sure how it'd affect existing code. Could someone
>> investigate how safe would be such a change, and could someone argue for
>> (and/or against) it?
>
> I don't have a definitive use case where this is clearly NTRT but in
> general I find these types of `globals' invasive and I appreciate the
> luxury of being able to nuke them when and as I see fit.
It seems like you are misunderstanding what
(put 'buffer-offer-save 'permanent-local t)
means. There is no problem still killing the local variable. You can
do that with
(kill-local-variable 'buffer-offer-save)
just as before. The only difference is that it is not killed when you
change major mode in the buffer.
> Let
> third-parties put the variable as needed if that is what they/their code
> requires.... esp. as they may have no idea whatsoever what _I_ will be
> doing with _my_ buffers. From a user perspective it is often a burden
> for me to undo this type overreaching.
What burden do you see here?
This bug report was last modified 12 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.