[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with large buffers
From: |
Mathias Dahl |
Subject: |
Re: Problem with large buffers |
Date: |
Fri, 22 Jul 2005 13:13:54 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
Chris Mears <address@hidden> writes:
> 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?
On my system it worked well (i.e. all rows now says "hello"). This is
my setup:
GNU Emacs 22.0.50.2 (i386-mingw-nt5.1.2600) of 2005-04-17 on LAPTOP
Running on Windows XP.