From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: problem with "undo" Date: Sat, 25 Dec 2004 21:44:23 +0100 Message-ID: <87zn02w1js.fsf@gmx.de> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104007691 29573 80.91.229.6 (25 Dec 2004 20:48:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Dec 2004 20:48:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 25 21:48:05 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 1CiIpY-0005nx-00 for ; Sat, 25 Dec 2004 21:48:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CiJ0H-0004PY-4l for ged-emacs-devel@m.gmane.org; Sat, 25 Dec 2004 15:59:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CiIzs-0004Ll-8E for emacs-devel@gnu.org; Sat, 25 Dec 2004 15:58:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CiIzp-0004Ke-OK for emacs-devel@gnu.org; Sat, 25 Dec 2004 15:58:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CiIzp-0004Ji-Gw for emacs-devel@gnu.org; Sat, 25 Dec 2004 15:58:41 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1CiIlz-0000py-W7 for emacs-devel@gnu.org; Sat, 25 Dec 2004 15:44:24 -0500 Original-Received: (qmail invoked by alias); 25 Dec 2004 20:44:21 -0000 Original-Received: from pD9E702E8.dip0.t-ipconnect.de (EHLO localhost.local) (217.231.2.232) by mail.gmx.net (mp013) with SMTP; 25 Dec 2004 21:44:21 +0100 X-Authenticated: #3708877 Original-To: Joakim Verona In-Reply-To: (Joakim Verona's message of "Fri, 24 Dec 2004 12:13:54 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 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:31392 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31392 Joakim Verona writes: > Hello, Hi, > I have a problem with the current CVS emacs. > > When I work with tramp, for instance /su:root@localhost:/etc/hosts > tramp asks me about "undo" information on each save, for the buffer > *tram su root localhost* buffer. > > emacs asks me if I want to discard a number of bytes of undo > information. This is very inconvenient. This can happen if you edit *large* files, and the contents of these files appears temporarily in that internal buffer. Mostly, people don't see it because the files are not so huge. Your "/etc/hosts" shouldn't be so large either; I don't know why it happens to *you*. Very inconvenient, indeed. I've added a patch to Tramp that the buffer local variable `buffer-undo-list' of that buffer is set to t, which is sufficient because there's nothing to be inspected later on. Will be available in Emacs CVS with next Tramp sync. > Regards, Best regards, Michael.