unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: undo info for *cvs-tmp*
Date: Mon, 23 Jul 2007 21:09:23 -0400	[thread overview]
Message-ID: <jwv4pjur4o4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200707232122.l6NLM1BP015977@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Mon\, 23 Jul 2007 14\:22\:01 -0700")

> 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).


        Stefan


--- pcvs.el	23 jui 2007 01:28:44 -0400	1.98.2.3
+++ pcvs.el	23 jui 2007 21:05:47 -0400	
@@ -396,7 +396,9 @@
       (set (make-local-variable 'cvs-buffer) cvs-buf)
       ;;(cvs-minor-mode 1)
       (let ((lbd list-buffers-directory))
-	(if (fboundp mode) (funcall mode) (fundamental-mode))
+	(if (fboundp mode) (funcall mode)
+          (fundamental-mode)
+          (buffer-disable-undo))
 	(when lbd (set (make-local-variable 'list-buffers-directory) lbd)))
       (cvs-minor-mode 1)
       ;;(set (make-local-variable 'cvs-buffer) cvs-buf)

  reply	other threads:[~2007-07-24  1:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-23 21:22 undo info for *cvs-tmp* Dan Nicolaescu
2007-07-24  1:09 ` Stefan Monnier [this message]
2007-07-24 18:29   ` Reiner Steib
2007-07-24 19:34     ` Stefan Monnier
2007-07-24 21:28       ` undo info for `*cvs-diff*' (was: undo info for *cvs-tmp*) Reiner Steib
2007-07-25  4:48         ` undo info for `*cvs-diff*' Stefan Monnier
2007-07-25 16:53           ` Dan Nicolaescu
2007-07-24 19:33   ` undo info for *cvs-tmp* Stefan Monnier
2007-07-24 20:40     ` Dan Nicolaescu
2007-07-24 22:03       ` Stefan Monnier
2007-07-24 22:16         ` Dan Nicolaescu
2007-07-25 15:02         ` Richard Stallman
2007-07-24 16:45 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4pjur4o4.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).