From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: kill ring menu Date: Tue, 07 May 2002 08:27:24 +0300 Sender: emacs-devel-admin@gnu.org Message-ID: <3791-Tue07May2002082724+0300-eliz@is.elta.co.il> References: <1020022891.27106.142.camel@space-ghost> <200204290505.g3T55t006146@aztec.santafe.edu> <1020059236.31789.358.camel@space-ghost> <200204300519.g3U5Js306727@aztec.santafe.edu> <1020320725.27616.54.camel@space-ghost> <200205031825.g43IPuD00768@aztec.santafe.edu> <1020502030.5286.25.camel@space-ghost> <200205051746.g45Hk5P01808@aztec.santafe.edu> <1020662101.5288.76.camel@space-ghost> <200205061932.g46JWCD02203@aztec.santafe.edu> <1020744239.5286.161.camel@space-ghost> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1020779878 32622 127.0.0.1 (7 May 2002 13:57:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 May 2002 13:57:58 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 1755Ta-0008U3-00 for ; Tue, 07 May 2002 15:57:58 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1755bF-0006Sc-00 for ; Tue, 07 May 2002 16:05:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1753d1-0006NM-00; Tue, 07 May 2002 07:59:35 -0400 Original-Received: from freya.inter.net.il ([192.114.186.14]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 174xWO-0002pa-00 for ; Tue, 07 May 2002 01:28:20 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by freya.inter.net.il (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id BJZ88347; Tue, 7 May 2002 08:28:17 +0300 (IDT) Original-To: emacs-devel@gnu.org X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <1020744239.5286.161.camel@space-ghost> (message from Colin Walters on 07 May 2002 00:03:59 -0400) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3668 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3668 > From: Colin Walters > Date: 07 May 2002 00:03:59 -0400 > > if resource consumption is a > problem, then we should be able to trim down font-lock.el such that if a > mode implements its own `font-lock-fontify-region' function, all the > regexp and other machinery wouldn't be loaded. Just to give you more insight about the efficiency and resource consumption: these issues popped up several time in the past, and IIRC the problems uncovered by people who tinkered with and profiled the relevant code were such that trimming font-lock.el would not solve them. For example, in some cases the syntactic fontification causes Emacs to perform long searches (to find the beginning of a syntactic entity), and thus slows down redisplay in large buffers, since font-lock is run by hooks provided by the display engine. I suggest to search the archives of emacs-devel for related keywords, if you are interested in the details. (I'm not saying that I'm for or against the proposal you put forward. I just commented on something that seems to be related to this discussion.)