From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: buffer-undo-list (was: mark_object crash in 22.1 and latest CVS (as of tonight)) Date: Mon, 04 Feb 2008 12:35:56 +0100 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=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1202124987 12369 80.91.229.12 (4 Feb 2008 11:36:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Feb 2008 11:36:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 04 12:36:49 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 1JLzd2-00021G-DZ for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 12:36:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLzca-0001Vz-FC for ged-emacs-devel@m.gmane.org; Mon, 04 Feb 2008 06:36:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLzcS-0001T1-1Y for emacs-devel@gnu.org; Mon, 04 Feb 2008 06:36:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLzcN-0001JU-Iv for emacs-devel@gnu.org; Mon, 04 Feb 2008 06:36:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLzcM-0001Ik-Rl for emacs-devel@gnu.org; Mon, 04 Feb 2008 06:36:06 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JLzcM-0003a9-75 for emacs-devel@gnu.org; Mon, 04 Feb 2008 06:36:06 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JLzcK-0004wm-5g for emacs-devel@gnu.org; Mon, 04 Feb 2008 11:36:04 +0000 Original-Received: from remote2.student.chalmers.se ([129.16.29.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Feb 2008 11:36:04 +0000 Original-Received: from bojohan+news by remote2.student.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Feb 2008 11:36:04 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: remote2.student.chalmers.se User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:tUlwANmLr//iDtsbnT+2ettmXwA= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:88148 Archived-At: Stefan Monnier writes: >> 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) -- Johan Bockgård