From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: Problem with large buffers Date: Fri, 22 Jul 2005 13:13:54 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1122032279 6651 80.91.229.2 (22 Jul 2005 11:37:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2005 11:37:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 13:37:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dvvqg-0002Iy-Nu for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2005 13:37:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dvvso-0006GL-FN for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2005 07:40:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DvvhP-0002sF-5F for emacs-devel@gnu.org; Fri, 22 Jul 2005 07:28:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DvvhL-0002rU-5I for emacs-devel@gnu.org; Fri, 22 Jul 2005 07:28:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dvvfc-0002CZ-Sh for emacs-devel@gnu.org; Fri, 22 Jul 2005 07:26:24 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DvveG-0001Mx-Oi for emacs-devel@gnu.org; Fri, 22 Jul 2005 07:25:01 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DvvU0-0007se-WC for emacs-devel@gnu.org; Fri, 22 Jul 2005 13:14:25 +0200 Original-Received: from user.ifsab.se ([193.41.170.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2005 13:14:24 +0200 Original-Received: from brakjoller by user.ifsab.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2005 13:14:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 35 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: user.ifsab.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:tEABeDoSsK1nbsjPVCFF4NYLHHg= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41125 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41125 Chris Mears 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.