unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Emerick Rogul" <emerick@gmail.com>
To: "Chong Yidong" <cyd@stupidchicken.com>
Cc: 1501@emacsbugs.donarmstrong.com
Subject: bug#1501: Emacs 22 loses undo buffer
Date: Sun, 7 Dec 2008 07:36:01 -0500	[thread overview]
Message-ID: <a8b2c60d0812070436m4913855vf8883f87442d5137@mail.gmail.com> (raw)
In-Reply-To: <87hc5g7cxm.fsf@cyd.mit.edu>

No, I didn't enable any other major or minor modes before testing.  I
also ran emacs with -q --no-site-file.

Your theory about it being related to font-lock-mode appears to be
correct, however!  I started emacs, loaded the header file, disabled
font-lock-mode, and ran my test again and it behaved as expected
(i.e., it retained all of my undo records).  Is font-lock-mode using
up more records (or more record space) than expected?  I wonder if
it's also Windows-specific in some way?

On Sun, Dec 7, 2008 at 12:48 AM, Chong Yidong <cyd@stupidchicken.com> wrote:
> Actually, I went back and tried again.  Using the file you supplied, I
> had to do C-/ about 100 times before Emacs reached its undo-limit.  That
> implies 200 bytes per undo limit, which is about right.
>
> So there does seem to be something strange about the behavior you're
> seeing, where Emacs keeps only 20 or so undo records.
>
> Did you enable any other major or minor modes before testing this?
>
> Also, does turning font-lock-mode off change anything?
>






  reply	other threads:[~2008-12-07 12:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-06 21:02 bug#1501: Emacs 22 loses undo buffer Emerick Rogul
2008-12-07  1:31 ` Chong Yidong
2008-12-07  2:03   ` Emerick Rogul
2008-12-07  5:36     ` Chong Yidong
2008-12-07  5:48     ` Chong Yidong
2008-12-07 12:36       ` Emerick Rogul [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-24 22:14 Suresh Kannan
2009-01-27 20:58 Chong Yidong
2008-12-06  4:01 Chong Yidong
2008-12-05 16:51 Emerick Rogul
2019-08-20 18:36 ` Stefan Kangas
2019-08-20 18:45   ` Noam Postavsky
2019-08-21 14:46     ` Stefan Kangas
2019-08-22  1:19       ` Noam Postavsky
2021-10-20  1:01         ` Stefan Kangas
2021-10-20 12:05           ` Eli Zaretskii
2021-10-21 20:46             ` Stefan Kangas

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=a8b2c60d0812070436m4913855vf8883f87442d5137@mail.gmail.com \
    --to=emerick@gmail.com \
    --cc=1501@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /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).