From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: buffer.c/buffer.h: How to add new buffer-local variables? Date: Mon, 08 Apr 2019 19:31:46 +0200 Message-ID: <87y34kl7y5.fsf@igel.home> References: <3C6817C0-1CDB-4F83-805E-BF6B93C77F44@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="37976"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: Paul Eggert , emacs-devel@gnu.org, Keith David Bershatsky , monnier@iro.umontreal.ca, acm@muc.de, dancol@dancol.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 08 19:32:51 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hDY8Y-0009jY-5b for ged-emacs-devel@m.gmane.org; Mon, 08 Apr 2019 19:32:50 +0200 Original-Received: from localhost ([127.0.0.1]:56571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDY8W-0001ht-Qj for ged-emacs-devel@m.gmane.org; Mon, 08 Apr 2019 13:32:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDY7g-0001hR-Hl for emacs-devel@gnu.org; Mon, 08 Apr 2019 13:31:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hDY7f-0005NI-OC for emacs-devel@gnu.org; Mon, 08 Apr 2019 13:31:56 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:48188) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hDY7e-0005Js-3X; Mon, 08 Apr 2019 13:31:54 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 44dHXh2Zhjz1rGhR; Mon, 8 Apr 2019 19:31:47 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 44dHXg4hpbz1qr5x; Mon, 8 Apr 2019 19:31:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id XDHntwzkqJmz; Mon, 8 Apr 2019 19:31:46 +0200 (CEST) X-Auth-Info: 6P7h9fkJazTSRMn2+j5rnEQWAOsLkEMrlRUE3QoulWRGtu2mm9yrBnMbUKglIJMY Original-Received: from igel.home (ppp-46-244-167-100.dynamic.mnet-online.de [46.244.167.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 8 Apr 2019 19:31:46 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 37C442C0D60; Mon, 8 Apr 2019 19:31:46 +0200 (CEST) X-Yow: I'll show you MY telex number if you show me YOURS... In-Reply-To: <3C6817C0-1CDB-4F83-805E-BF6B93C77F44@gnu.org> (Eli Zaretskii's message of "Mon, 08 Apr 2019 12:37:57 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235122 Archived-At: On Apr 08 2019, Eli Zaretskii 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? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."