Hi,

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 22.0.50.1 (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
   max-specpdl-size)"

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



_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to