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: State-machine based syntax highlighting Date: Thu, 07 Dec 2006 14:02:32 -0500 Message-ID: References: <1165472049.496117.320630@79g2000cws.googlegroups.com> <1165488825.132862.189340@79g2000cws.googlegroups.com> <1165492567.864982.59980@79g2000cws.googlegroups.com> <1165495364.560960.271250@f1g2000cwa.googlegroups.com> <1165501630.172348.157180@j72g2000cwa.googlegroups.com> <1165502373.932709.15860@79g2000cws.googlegroups.com> <1165510932.276718.251220@73g2000cwn.googlegroups.com> <1165516558.657188.21610@j44g2000cwa.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165520488 23705 80.91.229.10 (7 Dec 2006 19:41:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2006 19:41:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 07 20:41:26 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsP7O-00089h-L2 for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Dec 2006 20:41:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsP7O-0002H2-1M for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Dec 2006 14:41:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.umontreal.ca!news.umontreal.ca.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 07 Dec 2006 13:02:32 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) Cancel-Lock: sha1:IqkQXKkNwdW9altSC+0MKx8B8Vw= Original-Lines: 10 Original-NNTP-Posting-Host: 132.204.27.213 Original-X-Trace: sv3-4OV1FqWWmIOQbXhcPN0itdAf+qx6pPHtyoCGPwt4TLSHyNhG7M0ATowxQ/SLMX08KJNyoPfjVooeyr/!YW6xZ/adtJDjSkPWyYzSZsdDlUS4cAM7tNvEvLOQMp4//PsymaHtVtdmiZDa51MoxOIIHpPd142h!9JUb4XxfUKXwKRwUAw== Original-X-Complaints-To: abuse@umontreal.ca X-DMCA-Complaints-To: abuse@umontreal.ca X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:143732 Original-To: help-gnu-emacs@gnu.org 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:39334 Archived-At: > Good to know. I thought font-lock was implemented in elisp and didn't > bother to check. If you look at the code you'll probably think it's implemented in elisp. But if you look at a profile, you'll probably see that it's spending most of its time in either text-property manipulation functions, or regexp-matching, or parse-partial-sexp, all of which are written in C. Stefan