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: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: sbaugh <at> catern.com, 48264 <at> debbugs.gnu.org
Subject: bug#48264: [PATCH 2/2] Add compile-time check that BVAR is used correctly
Date: Sun, 09 May 2021 21:29:03 +0300
> 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).




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.