[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?
- Re: buffer.c/buffer.h: How to add new buffer-local variables?, Keith David Bershatsky, 2019/04/08
- Re: buffer.c/buffer.h: How to add new buffer-local variables?, Eli Zaretskii, 2019/04/08
- Re: buffer.c/buffer.h: How to add new buffer-local variables?, Eli Zaretskii, 2019/04/08
- Re: buffer.c/buffer.h: How to add new buffer-local variables?, Andreas Schwab, 2019/04/08
- Re: buffer.c/buffer.h: How to add new buffer-local variables?,
Eli Zaretskii <=
- Re: buffer.c/buffer.h: How to add new buffer-local variables?, Stefan Monnier, 2019/04/08
- Re: buffer.c/buffer.h: How to add new buffer-local variables?, Paul Eggert, 2019/04/08
- Re: buffer.c/buffer.h: How to add new buffer-local variables?, Michael Welsh Duggan, 2019/04/08
- Re: buffer.c/buffer.h: How to add new buffer-local variables?, Paul Eggert, 2019/04/08
- Re: buffer.c/buffer.h: How to add new buffer-local variables?, Eli Zaretskii, 2019/04/09