[Top][All Lists]

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

Problem with large buffers

From: Chris Mears
Subject: Problem with large buffers
Date: Fri, 22 Jul 2005 14:56:21 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)


I have encountered a problem with large buffers in CVS Emacs.  When some
commands are run on large-ish buffers Emacs seems to overflow some
internal limit.

Steps to reproduce:

- emacs -q
- C-x b a-big-buffer RET
- M-: (dotimes (i 60000) (insert "hello world!\n"))
- Move point to start of buffer
- M-x replace-regexp RET w.* RET RET

(replace-regexp is just an example; I have noticed the same problem
occurring with other commands on large buffers.  M-x version gives "GNU
Emacs (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2005-07-22 on loki.cmears.id.au".)

Emacs highlights the first "world!" that is about to replace, then in
the echo area I see:

  "Error in menu-bar-update-hook: (error Variable binding depth exceeds

The replacing begins to occur, but it is very slow and Emacs becomes
rather unresponsive.  Can anyone else reproduce this?

reply via email to

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