From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [rudalics@gmx.at: Re: jit lock sit-for provokes redisplay provokes imenu] Date: Mon, 28 Aug 2006 13:47:01 +0200 Message-ID: References: <85lkp9w54p.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156765729 30290 80.91.229.2 (28 Aug 2006 11:48:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Aug 2006 11:48:49 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 28 13:48:45 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GHfbS-0001kT-Ua for ged-emacs-devel@m.gmane.org; Mon, 28 Aug 2006 13:48:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHfbR-0004Sq-RL for ged-emacs-devel@m.gmane.org; Mon, 28 Aug 2006 07:48:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GHfbG-0004SU-Lf for emacs-devel@gnu.org; Mon, 28 Aug 2006 07:48:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GHfbF-0004SG-Iy for emacs-devel@gnu.org; Mon, 28 Aug 2006 07:48:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHfbF-0004SD-Cs for emacs-devel@gnu.org; Mon, 28 Aug 2006 07:48:17 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GHfk9-00036k-A7; Mon, 28 Aug 2006 07:57:29 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id 0793D8A0063; Mon, 28 Aug 2006 13:48:12 +0200 (CEST) Original-To: David Kastrup In-Reply-To: <85lkp9w54p.fsf@lola.goethe.zz> (David Kastrup's message of "Mon, 28 Aug 2006 12:01:42 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:58992 Archived-At: David Kastrup writes: > Richard Stallman writes: >> So, what do people think of this change? > > It will also necessitate scanning > through the entire buffer whenever imenu-update-menubar is called. > > I work with text buffers corresponding to books of a 1000 pages. > Those are several Megabytes large. Every operation which scans the > whole buffer for some reason is going to be painful. IIUC, this would be called after every modification to the buffer. SO: VERY VERY VERY BAD IDEA. Martin's change seems solid enough -- it's done, it's there, it fixes the problem -- let's install it. -- Kim F. Storm http://www.cua.dk