emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 00/16] Speeding up DEFVAR_PER_BUFFER


From: Eli Zaretskii
Subject: Re: [PATCH v2 00/16] Speeding up DEFVAR_PER_BUFFER
Date: Tue, 01 Dec 2020 18:16:24 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Spencer Baugh <sbaugh@catern.com>,  emacs-devel@gnu.org,
>   arnold@tdrhq.com,  dgutov@yandex.ru,  rms@gnu.org
> Date: Tue, 01 Dec 2020 11:01:12 -0500
> 
> BTW, for the original problem (i.e. let-binding case-fold-search in
> a buffer that doesn't have a buffer-local setting of that variable), we
> could attack the problem in a different way:
> 
> 1- change `case-fold-search` to a plain DEFVAR_LISP instead of a PER_BUFFER.
> 2- change its `let-binding` rule so it automatically becomes buffer-local
>    within the `let` (i.e. the let-binding stops affecting other buffers).

If there's a small number of such variables, maybe we should do the
same with all of them, and otherwise leave the current implementation
of buffer-local builtins as it is now?



reply via email to

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