From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: undo in loaddefs.el buffer Date: Sat, 25 Dec 2004 10:13:36 -0500 Message-ID: References: <200412211414.iBLEEZ903426@raven.dms.auburn.edu> <200412211541.iBLFfBc03861@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1103988092 681 80.91.229.6 (25 Dec 2004 15:21:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Dec 2004 15:21:32 +0000 (UTC) Cc: yamaoka@jpl.org, teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 25 16:21:26 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CiDjS-00065b-00 for ; Sat, 25 Dec 2004 16:21:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CiDu9-0001EW-TC for ged-emacs-devel@m.gmane.org; Sat, 25 Dec 2004 10:32:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CiDtT-0000xd-L0 for emacs-devel@gnu.org; Sat, 25 Dec 2004 10:31:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CiDtN-0000rS-Sd for emacs-devel@gnu.org; Sat, 25 Dec 2004 10:31:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CiDtN-0000r5-KG for emacs-devel@gnu.org; Sat, 25 Dec 2004 10:31:41 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CiDh7-0005JS-No for emacs-devel@gnu.org; Sat, 25 Dec 2004 10:19:01 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CiDbs-0004ty-DW; Sat, 25 Dec 2004 10:13:36 -0500 Original-To: David Kastrup In-reply-to: (message from David Kastrup on Thu, 23 Dec 2004 01:26:19 +0100) 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: main.gmane.org gmane.emacs.devel:31386 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31386 > 4. Another idea is that batch mode could always turn off undo. That > is a little drastic as a change, but what do people think of it? It depends just on how undo gets turned off. The most obvious way is to make buffer-undo-list default to t in new buffers, in batch mode. There are cases where editing operations are done by making use of undo (X-Symbol does some sort of association by doing a one-way conversion, placing markers at positions matched with a string, then undoing everything to see where the markers end up). In order for such packages to work in buffers in which the user has turned off undo, they have to be able to turn undo on temporarily in a way that the user won't notice. Does x-symbol do that? Once they do this properly, they won't have any trouble if batch mode turns off undo in all buffers by default.