From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: undo variables Date: Sat, 24 Mar 2007 09:38:59 +0100 Message-ID: <4604E3A3.5040901@gmail.com> References: <4604750E.4060807@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174725603 14874 80.91.229.12 (24 Mar 2007 08:40:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2007 08:40:03 +0000 (UTC) Cc: Emacs Devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 24 09:39:56 2007 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 1HV1my-00070S-Eo for ged-emacs-devel@m.gmane.org; Sat, 24 Mar 2007 09:39:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HV1ow-0000ZV-Nr for ged-emacs-devel@m.gmane.org; Sat, 24 Mar 2007 03:41:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HV1ot-0000Xp-4l for emacs-devel@gnu.org; Sat, 24 Mar 2007 04:41:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HV1or-0000U6-9D for emacs-devel@gnu.org; Sat, 24 Mar 2007 04:41:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HV1or-0000Ti-10 for emacs-devel@gnu.org; Sat, 24 Mar 2007 03:41:49 -0500 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HV1mq-0007BQ-DZ for emacs-devel@gnu.org; Sat, 24 Mar 2007 04:39:44 -0400 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:59793 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1HV1mm-0002J4-4f; Sat, 24 Mar 2007 09:39:40 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 000727-1, 2007-03-23), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1HV1mm-0002J4-4f. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1HV1mm-0002J4-4f 4c71f798799be394a05a598e80573071 X-detected-kernel: Linux 2.6? (barebone, rare!) 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:68457 Archived-At: Stefan Monnier wrote: >> I am having a bit untrouble with undo and major mode changes. Are the undo >> variables protected against kill-local-variables? > > Checking buffer-undo-list before/after calling kill-all-local-variables > indicates that it is protected. Yes, thanks, but are there other variables involved too? I can just say something goes wrong, but I also have to do some movement in the buffer. (And I do not have a simple test case right now.)