emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undo info for `*cvs-diff*' (was: undo info for *cvs-tmp*)


From: Reiner Steib
Subject: undo info for `*cvs-diff*' (was: undo info for *cvs-tmp*)
Date: Tue, 24 Jul 2007 23:28:37 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

On Tue, Jul 24 2007, Stefan Monnier wrote:

> Hmm... IIRC undo *is* disabled there while building the buffer and is later
> re-enabled (since diff-mode does support editing in various ways).
>
> So please give us more info as to how to reproduce the problem.

Here's a recipe:

- On the shell, create a very large diff, e.g.:

  cvs update gnus.texi
  cp -p gnus.texi /tmp/

  Make sure, that you don't have any valuable changes in gnus.texi!

  cat calc.texi calc.texi calc.texi > gnus.texi

- emacs -Q -f cvs-update

- In Emacs, hit RET.  Move point to gnus.texi and hit `='.

- On the shell:

  rm gnus.texi
  cvs update gnus.texi

- In Emacs, again do `=' on gnus.texi

==> Undo warning appears:

,----[ *Warnings* ]
| Warning (undo): Buffer `*cvs-diff*' undo info was 5641808 bytes long.
| The undo info was discarded because it exceeded `undo-outer-limit'.
| [...]
`----

- Restore gnus.texi

  cp -p /tmp/gnus.texi .

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]