From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: undo info for *cvs-tmp* Date: Tue, 24 Jul 2007 13:40:35 -0700 Message-ID: <200707242040.l6OKeZWU016112@oogie-boogie.ics.uci.edu> References: <200707232122.l6NLM1BP015977@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185309727 6916 80.91.229.12 (24 Jul 2007 20:42:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2007 20:42:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 24 22:42:03 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 1IDRCl-0005pi-4W for ged-emacs-devel@m.gmane.org; Tue, 24 Jul 2007 22:42:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDRCk-00007v-Kf for ged-emacs-devel@m.gmane.org; Tue, 24 Jul 2007 16:42:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDRCf-00007X-Ps for emacs-devel@gnu.org; Tue, 24 Jul 2007 16:41:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDRCe-00007L-Fp for emacs-devel@gnu.org; Tue, 24 Jul 2007 16:41:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDRCe-00007I-DN for emacs-devel@gnu.org; Tue, 24 Jul 2007 16:41:56 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IDRCd-0001PH-Vd for emacs-devel@gnu.org; Tue, 24 Jul 2007 16:41:56 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l6OKeZWU016112; Tue, 24 Jul 2007 13:40:35 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Tue\, 24 Jul 2007 15\:33\:53 -0400") Original-Lines: 28 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: Solaris 9 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:75483 Archived-At: Stefan Monnier writes: > >> Not sure what is the right solution here, completely disable undo for > >> *cvs-tmp* or up the limit. Can somebody please take a look at this? > > > Thanks. > > The buffer name is " *cvs-tmp*" by default, so the leading space should turn > > off undo, i.e. I'm not sure why your undo wasn't turned off. > > > In any case, I explicitly disabled undo in the buffer with the patch below > > (which I installed in the 22 branch). > > Actually, this patch was redundant because the code that follows also should > turn off undo logging in that buffer (because `normal' should be nil). > > "Redundant" implies that it probably won't fix your problem. Can you try > and give us more info as to how to reproduce the problem? emacs -Q M-x cvs-status RET ~/src/emacs/lisp RET C-x b *cvs-tmp* RET C-h v buffer-undo-list RET buffer-undo-list is a variable defined in `C source code'. Its value is nil Local in buffer *cvs-tmp*; global value is nil Automatically becomes buffer-local when set in any fashion. I think the value is expected to be t not nil...