From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: buffer-undo-list Date: Mon, 04 Feb 2008 16:44:04 -0500 Message-ID: References: <16af2f430711081955j3d5e6745gc0f7a50e02d9a892@mail.gmail.com> <16af2f430711090332x39c8c768gb01d1dc6a0e4f427@mail.gmail.com> <16af2f430711120340q27926877tf976ef397d12df16@mail.gmail.com> <16af2f430711140939x45663644je0dce25c8796b18@mail.gmail.com> <16af2f430711150038u692d7c5cw27666e11271d7f83@mail.gmail.com> <16af2f430711161248o431ff3b8hdd7f6abb835e3d67@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202161462 1284 80.91.229.12 (4 Feb 2008 21:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Feb 2008 21:44:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 04 22:44:44 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JM97K-00079r-0V for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 22:44:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JM96s-0007Tp-1N for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 16:44:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JM96n-0007TW-NK for emacs-devel@gnu.org; Mon, 04 Feb 2008 16:44:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JM96l-0007SZ-0Z for emacs-devel@gnu.org; Mon, 04 Feb 2008 16:44:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JM96k-0007SV-TZ for emacs-devel@gnu.org; Mon, 04 Feb 2008 16:44:06 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JM96k-0004x8-NF for emacs-devel@gnu.org; Mon, 04 Feb 2008 16:44:06 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CALMVp0fO+J95dGdsb2JhbACQJwEwnCmBAg X-IronPort-AV: E=Sophos;i="4.25,304,1199682000"; d="scan'208";a="13627007" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 04 Feb 2008 16:44:04 -0500 Original-Received: from pastel.home ([206.248.159.121]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id KXW84304; Mon, 04 Feb 2008 16:44:04 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2C2597F47; Mon, 4 Feb 2008 16:44:04 -0500 (EST) In-Reply-To: ("Johan =?iso-8859-1?Q?Bockg=E5rd=22's?= message of "Mon, 04 Feb 2008 12:35:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88198 Archived-At: >>> When I move the undo_list to before name and redo the experiment, I hit >>> the breakpoint many many times. >> >>> So either the special undo_list handling code should be removed or the >>> undo_list moved before name in buffer.h. >> >> Agreed. The field was moved by Richard on 14-Oct-2002 but the change >> log doesn't say why this was done, so I just undid it. > But now > (assq 'buffer-undo-list (buffer-local-variables)) > => nil > (buffer-local-value 'buffer-undo-list (get-buffer "*scratch*")) > => nil (global value) That makes sense, thanks. I'll try and come up with a proper fix. Stefan