From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: The *Warnings* buffer and undo Date: Fri, 30 Mar 2007 08:42:25 -0400 Message-ID: References: <460583AD.7010002@gmail.com> <85abxxw46j.fsf@lola.goethe.zz> <85y7lfsxso.fsf@lola.goethe.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1175295962 14511 80.91.229.12 (30 Mar 2007 23:06:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2007 23:06:02 +0000 (UTC) Cc: rgm@gnu.org, lennart.borgman@gmail.com, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 30 14:45:12 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 1HXGTf-0006oF-Dg for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2007 14:45:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXGWM-0002L4-34 for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2007 07:47:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HXGVp-00022T-QV for emacs-devel@gnu.org; Fri, 30 Mar 2007 08:47:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HXGVp-000220-4B for emacs-devel@gnu.org; Fri, 30 Mar 2007 08:47:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXGVo-00021v-Ux for emacs-devel@gnu.org; Fri, 30 Mar 2007 07:47:24 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HXGT7-0000LG-I4 for emacs-devel@gnu.org; Fri, 30 Mar 2007 08:44:37 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HXGQz-0004qD-TF; Fri, 30 Mar 2007 08:42:25 -0400 In-reply-to: <85y7lfsxso.fsf@lola.goethe.zz> (message from David Kastrup on Thu, 29 Mar 2007 20:35:19 +0200) X-detected-kernel: 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:68791 Unrecorded changes turn the existing undo history useless. While it could conceivably be nice if user changes could be undone, this won't work out. The best that a program could do in this regard is set buffer-undo-list to t before doing its changes, and to nil afterwards. That sounds like a good solution -- better than suppressing undo 100% in that buffer.