From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Mears Newsgroups: gmane.emacs.devel Subject: Problem with large buffers Date: Fri, 22 Jul 2005 14:56:21 +1000 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1122013559 24564 80.91.229.2 (22 Jul 2005 06:25:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2005 06:25:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 08:25:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dvqyj-00027x-Ik for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2005 08:25:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dvr0r-0003Cs-96 for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2005 02:28:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DvqxZ-00031Q-DO for emacs-devel@gnu.org; Fri, 22 Jul 2005 02:24:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DvqxW-00030U-6b for emacs-devel@gnu.org; Fri, 22 Jul 2005 02:24:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DvqxU-0002vE-6S for emacs-devel@gnu.org; Fri, 22 Jul 2005 02:24:32 -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 1DvquC-0007k2-Eh for emacs-devel@gnu.org; Fri, 22 Jul 2005 02:21:08 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DvqjV-0000iM-8X for emacs-devel@gnu.org; Fri, 22 Jul 2005 08:10:05 +0200 Original-Received: from c220-237-36-237.brasd1.vic.optusnet.com.au ([220.237.36.237]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2005 08:10:05 +0200 Original-Received: from chris by c220-237-36-237.brasd1.vic.optusnet.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2005 08:10:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c220-237-36-237.brasd1.vic.optusnet.com.au User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Y4R2//o9imp1jEPRaMNYmT6oWKo= 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:41122 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41122 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?