From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: What's your favourite *under_publicized* editing feature of Emacs? Date: Thu, 10 Feb 2011 12:24:13 -0500 Organization: A noiseless patient Spider Message-ID: References: <4D4F0063.10708@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297360049 14910 80.91.229.12 (10 Feb 2011 17:47:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Feb 2011 17:47:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 10 18:47:23 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pnaby-0006X1-V1 for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Feb 2011 18:47:23 +0100 Original-Received: from localhost ([127.0.0.1]:60742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnaby-0002GP-1b for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Feb 2011 12:47:22 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Info: mx02.eternal-september.org; posting-host="enU2Qv5J1rXa8d9EqGZG5w"; logging-data="324"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cSrkhcGJY2zOfGBPDwyPj" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:3zPB/eTJxsRnyKQ2Iu3GvQTnt1U= sha1:ADLZj8wKD7RAEC0sVetOr5VzFM4= Original-Xref: usenet.stanford.edu gnu.emacs.help:184893 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79058 Archived-At: > I perform 'M-x elp-instrument-package grep' > and 'M-x elp-instrument-package compilation'. Next I perform > '(revert-buffer)' and 'M-x elp-results' and get: > grep-mode 1 23.906 23.906 > compilation-error-properties 4742 23.047 0.0048601855 > compilation-internal-error-properties 4742 0.094 1.98...e-005 > compilation-get-file-structure 4742 0.016 3.37...e-006 > compilation-mode 1 0.0 0.0 > compilation-mode-font-lock-keywords 1 0.0 0.0 > compilation-setup 1 0.0 0.0 Duh! I completely forgot about it, but yes, there was a clear performance bug in compilation-error-properties which made it take time proportional to the buffer size in cases such as M-x grep. This performance bug is also largely fixed in Emacs-24's compile.el. Stefan