From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: buffer.c/buffer.h: How to add new buffer-local variables? Date: Sun, 07 Apr 2019 18:48:21 +0300 Message-ID: <83zhp195q2.fsf@gnu.org> References: Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="241941"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org, schwab@linux-m68k.org, monnier@iro.umontreal.ca, acm@muc.de, dancol@dancol.org To: Keith David Bershatsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 07 17:48:40 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 1hDA2C-0010nG-87 for ged-emacs-devel@m.gmane.org; Sun, 07 Apr 2019 17:48:40 +0200 Original-Received: from localhost ([127.0.0.1]:40529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDA2B-0001L6-0B for ged-emacs-devel@m.gmane.org; Sun, 07 Apr 2019 11:48:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDA25-0001Kt-2A for emacs-devel@gnu.org; Sun, 07 Apr 2019 11:48:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDA21-00034R-OI; Sun, 07 Apr 2019 11:48:29 -0400 Original-Received: from [176.228.60.248] (port=1348 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hDA20-0005aM-Vd; Sun, 07 Apr 2019 11:48:29 -0400 In-reply-to: (message from Keith David Bershatsky on Sat, 06 Apr 2019 19:50:14 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:235070 Archived-At: > Date: Sat, 06 Apr 2019 19:50:14 -0700 > From: Keith David Bershatsky > Cc: emacs-devel@gnu.org,Stefan Monnier ,Andreas Schwab ,Alan Mackenzie ,Daniel Colascione ,Paul Eggert > > Using an unsophisticated method of going back in time and building various versions of Emacs on the w32 platform, I tracked down the inability to add a few new buffer-local variables in buffer.c/buffer.h to a commit that occurred on 01/31/2019: 05d2fc7170fb66a87601b1c76ddae2c1b7b4b934. Is your GDB version 8.1 or later? If so, please do this: $ cd /path/to/emacs/src $ gdb ./emacs.exe ... (gdb) start -Q ... (gdb) ptype /o current_buffer and post here the result. Please do this both in the build before and after the above commit, and let us see both results.