unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/7] Cleanups and tests for DEFVAR_PER_BUFFER variables
@ 2021-03-24  3:11 Spencer Baugh
  2021-03-24  3:11 ` [PATCH 1/7] Add a test for let-binding unwinding Spencer Baugh
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Spencer Baugh @ 2021-03-24  3:11 UTC (permalink / raw)
  To: emacs-devel; +Cc: Spencer Baugh, Eli Zaretskii, Stefan Monnier

Hi emacs-devel,

These are some cleanups and tests for DEFVAR_PER_BUFFER variables.
I think they are all uncontroversial.

These are extracted from the patch series I sent some months ago
(Subject: Speeding up DEFVAR_PER_BUFFER).  Specifically, these are the
patches that were approved as fine independent of the rest of the
series.  And they have changelog entries in the commit messages now :)

These are pre-requisites for my DEFVAR_PER_BUFFER improvements (which
I'll be resending soon), so it would be nice to apply them ahead of
that.

Spencer Baugh (7):
  Add a test for let-binding unwinding
  Assert not local-variable-p after setq in let_default binding
  Stop checking the constant default for enable_multibyte_characters
  Take buffer field name in DEFVAR_PER_BUFFER
  Combine unnecessarily separate loops in buffer.c
  Assert that PER_BUFFER_IDX for Lisp variables is not 0
  Remove unnecessary Qunbound check

 src/buffer.c           | 147 ++++++++++++++++++++---------------------
 src/data.c             |   4 +-
 src/print.c            |   6 +-
 src/process.c          |  15 ++---
 test/src/data-tests.el |  23 +++++++
 5 files changed, 101 insertions(+), 94 deletions(-)

-- 
2.28.0




^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-04-04  7:15 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-24  3:11 [PATCH 0/7] Cleanups and tests for DEFVAR_PER_BUFFER variables Spencer Baugh
2021-03-24  3:11 ` [PATCH 1/7] Add a test for let-binding unwinding Spencer Baugh
2021-03-24  3:11 ` [PATCH 2/7] Assert not local-variable-p after setq in let_default binding Spencer Baugh
2021-03-24  3:11 ` [PATCH 3/7] Stop checking the constant default for enable_multibyte_characters Spencer Baugh
2021-03-24  3:11 ` [PATCH 4/7] Take buffer field name in DEFVAR_PER_BUFFER Spencer Baugh
2021-03-24  3:11 ` [PATCH 5/7] Combine unnecessarily separate loops in buffer.c Spencer Baugh
2021-03-24  3:11 ` [PATCH 6/7] Assert that PER_BUFFER_IDX for Lisp variables is not 0 Spencer Baugh
2021-03-24  3:11 ` [PATCH 7/7] Remove unnecessary Qunbound check Spencer Baugh
2021-03-25 16:46   ` Stefan Monnier
2021-03-24  5:36 ` [PATCH 0/7] Cleanups and tests for DEFVAR_PER_BUFFER variables Eli Zaretskii
2021-03-25 16:48   ` Stefan Monnier
2021-03-25 17:00     ` Eli Zaretskii
2021-04-01 18:13   ` Spencer Baugh
2021-04-01 18:51     ` Eli Zaretskii
2021-04-03 20:53       ` Spencer Baugh
2021-04-04  7:15         ` Eli Zaretskii
2021-04-01 21:42     ` Stefan Monnier
2021-04-01 23:39       ` Spencer Baugh
2021-04-02  2:55         ` Stefan Monnier
2021-04-02  5:36       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).