From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: spamfilteraccount@gmail.com Newsgroups: gmane.emacs.help Subject: Using syntax info for font-locking? Date: 27 Oct 2006 14:42:49 -0700 Organization: http://groups.google.com Message-ID: <1161981827.499222.259570@k70g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1161988849 28462 80.91.229.2 (27 Oct 2006 22:40:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Oct 2006 22:40:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 28 00:40:48 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GdaNQ-0000tj-08 for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Oct 2006 00:40:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GdaNO-0002z8-Hs for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Oct 2006 18:40:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!k70g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 81.183.146.36 Original-X-Trace: posting.google.com 1161985374 29253 127.0.0.1 (27 Oct 2006 21:42:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 27 Oct 2006 21:42:54 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.01 (Windows NT 5.0; U; en),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: k70g2000cwa.googlegroups.com; posting-host=81.183.146.36; posting-account=b98TkQ0AAAD7PsllN8gfWGRoPOPWdnv4 Original-Xref: shelby.stanford.edu gnu.emacs.help:142720 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:38341 Archived-At: Some people here http://erlide.sourceforge.net/ badmouths Emacs (the heretics! :), because it cannot provide as good syntax highlighting for Erlang as their Eclipse-based Erlang IDE. As far as I know they use the actual syntax information provided by an Erlang node to do syntax highlighting. I'm not very familiar with the implementation of font locking in Emacs. If real-time syntax info for the current source file is available then could Emacs use it for font locking? Or font locking in Emacs is always static, done with predefined regexps and stuff?