From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Problem with large buffers Date: Fri, 22 Jul 2005 18:51:32 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1122074193 28783 80.91.229.2 (22 Jul 2005 23:16:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2005 23:16:33 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 23 01:16:24 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dw6ka-0002M2-AF for ged-emacs-devel@m.gmane.org; Sat, 23 Jul 2005 01:16:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dw6mk-0000xC-A3 for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2005 19:18:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dw6ZI-0005HC-3q for emacs-devel@gnu.org; Fri, 22 Jul 2005 19:04:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dw6ZC-0005DA-QU for emacs-devel@gnu.org; Fri, 22 Jul 2005 19:04:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dw6ZB-0004yk-Dm for emacs-devel@gnu.org; Fri, 22 Jul 2005 19:04:29 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dw6Wj-0006G8-WB for emacs-devel@gnu.org; Fri, 22 Jul 2005 19:01:58 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Dw6Me-00031J-5B; Fri, 22 Jul 2005 18:51:32 -0400 Original-To: Chris Mears In-reply-to: (message from Chris Mears on Fri, 22 Jul 2005 14:56:21 +1000) 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:41156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41156 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)" Can you provide a precise way to reproduce this problem? Once able to reproduce it, I think we could fix it quickly. You could also try putting a breakpoint at this call to Fsignal if (specpdl_size >= max_specpdl_size) { if (max_specpdl_size < 400) max_specpdl_size = 400; if (specpdl_size >= max_specpdl_size) Fsignal (Qerror, Fcons (build_string ("Variable binding depth exceeds max-specpdl-size"), Qnil)); } You could then use the GDB commands backtrace and xbacktrace, and send us the output.