GNU bug report logs - #1501
Emacs 22 loses undo buffer

Previous Next

Package: emacs;

Reported by: "Emerick Rogul" <emerick <at> gmail.com>

Date: Fri, 5 Dec 2008 17:00:03 UTC

Severity: wishlist

Tags: patch, wontfix

Merged with 530

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #60 received at 1501 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Suresh Kannan <sureshkannan <at> gmail.com>
To: 1501 <at> debbugs.gnu.org
Subject: Emacs 22 loses undo buffer
Date: Fri, 24 Apr 2009 15:14:20 -0700
[Message part 1 (text/plain, inline)]
Hi,

I'm getting the same problem in Emacs 22.2.1 in Ubuntu. Steps to reproduce.

1. start emacs without any resource file (.emacs or any other rc file)  <---
this is avoid if there is some problem with user init file.
2. open file called 'test.c'
3. copy content of "http://www.rfc-editor.org/rfc/rfc2547.txt" into test.c
and save it.
4. do  C-k till section "3.1 Virtual Sites" in the current buffer.
5. Trying continuous C-/, emacs is **not** getting into beginning of the
buffer. I get only few lines as undo. Just 5 lines i can do undo. Not more
than that.

Without font-lock-mode (after disabling font-lock-mode), i tried same
sequence, i can get some more lines in undo but not the whole buffer. So, as
you pointed out font-lock-mode has some impact with undo.

Increased undo-limit,undo-strong-limit,undo-outer-limit to 100,000,000. I
repeated the same steps from 1, 5. This time, I'm able to do full undo.. I
dont mind setting this value in my .emacs because memory is not a problem
for me. But, would this cause any other problem like performance or buffer
loss ?.

Thanks,
Regards,
Suresh Kannan.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.