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: Thu, 31 Aug 2006 09:49:00 +0200 Message-ID: References: <8764gcde3n.fsf@stupidchicken.com> <878xl754fy.fsf@furball.mit.edu> <44F5D914.3020604@gmx.at> <87u03tkasn.fsf@furball.mit.edu> <44F67D80.4010800@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157010668 18958 80.91.229.2 (31 Aug 2006 07:51:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2006 07:51:08 +0000 (UTC) Cc: Chong Yidong , rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 31 09:51:07 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 1GIhKI-0005cC-Lp for ged-emacs-devel@m.gmane.org; Thu, 31 Aug 2006 09:51:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIhKI-0004eS-8g for ged-emacs-devel@m.gmane.org; Thu, 31 Aug 2006 03:51:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GIhJk-0004Vj-ST for emacs-devel@gnu.org; Thu, 31 Aug 2006 03:50:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GIhJi-0004UX-4Q for emacs-devel@gnu.org; Thu, 31 Aug 2006 03:50:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIhJh-0004U8-IY for emacs-devel@gnu.org; Thu, 31 Aug 2006 03:50:25 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GIhTE-0003qY-3Y; Thu, 31 Aug 2006 04:00:16 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id 57832A50097; Thu, 31 Aug 2006 09:50:10 +0200 (CEST) Original-To: martin rudalics In-Reply-To: <44F67D80.4010800@gmx.at> (martin rudalics's message of "Thu, 31 Aug 2006 08:11:12 +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:59149 Archived-At: martin rudalics writes: > The buffer changes during scrolling and window resizing, however, are > considerably more serious since they affect responsiveness of Emacs. My > Emacs considerably lags behind other applications during scrolling and > flickers noticeably whenever I drag a modeline. Now consider that for > every _single_ line dragged or scrolled I call `imenu-update-menubar'. > The only buffer "change" here is the fontification of one single line. > That doesn't make any sense. And it makes the speed of scrolling depend > (1) on the size of the buffer and (2) the quality of a thing like > `imenu-create-index-function'. Wouldn't it make more sense to spend > that time to filter out, for example, all those definitions Imenu finds > in C comments or strings? And you changes (at the C level + imenu) fixes all these problems, right? If, so I think we are wasting our time discussing sub-optimal ways to fix a specific problem where we already have a generic solution. Can't we just install Martin's patch and get closer to the pretest?? -- Kim F. Storm http://www.cua.dk