emacs-devel
[Top][All Lists]
Advanced

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

Re: buffer.c/buffer.h: How to add new buffer-local variables?


From: Eli Zaretskii
Subject: Re: buffer.c/buffer.h: How to add new buffer-local variables?
Date: Mon, 08 Apr 2019 20:43:20 +0300

> From: Andreas Schwab <address@hidden>
> Cc: address@hidden, Keith David Bershatsky <address@hidden>, Paul Eggert 
> <address@hidden>, address@hidden, address@hidden, address@hidden
> Date: Mon, 08 Apr 2019 19:31:46 +0200
> 
> On Apr 08 2019, Eli Zaretskii <address@hidden> wrote:
> 
> > I guess we need to make BUFFER_LISP_SIZE smarter?
> 
> Perhaps adding a dummy member the same size as Lisp_Object, and using
> that as the anchor?

Could be, although this will make the struct larger than it could have
been on some systems.

These complications are why I wonder whether they are worth the
occasional hard-to-debug bug.  How hard would it be to ask to update
the value when a Lisp member is added?



reply via email to

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