GNU bug report logs - #48264
28.0.50; Changing the default for DEFVAR_PER_BUFFER variables takes O(#buffers) time

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> catern.com>

Date: Thu, 6 May 2021 20:25:01 UTC

Severity: normal

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Spencer Baugh <sbaugh <at> catern.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 48264 <at> debbugs.gnu.org
Subject: bug#48264: [PATCH 2/2] Add compile-time check that BVAR is used correctly
Date: Mon, 10 May 2021 10:09:06 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>,  48264 <at> debbugs.gnu.org
>> Date: Sun, 09 May 2021 14:09:43 -0400
>> 
>> > BVAR should only be used for permanent-local buffer variables, so
>> 
>> BTW, I find this term slightly problematic: "permanent-local" already
>> has a slightly different meaning for normal variables.  Maybe we should
>> call them "really-permanent-local" or "always buffer-local" or
>> "buffer-local-only"?
>
> I prefer "always buffer-local", as this is what we used until now (see
> buffer.c).

True, will change the wording in a followup.




This bug report was last modified 2 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.