From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: identifiing strings and comments in program source files (to skip them over) Date: Wed, 26 Apr 2006 05:53:01 +0200 Organization: sometimes Message-ID: <7epsj5vvqa.fsf@ada2.unipv.it> References: <11laoqnlgqlxp.80dh81qx3xik.dlg@40tude.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146026430 16886 80.91.229.2 (26 Apr 2006 04:40:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 04:40:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 26 06:40:28 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 1FYbpA-0001s9-LR for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 06:40:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYbpA-00065s-7g for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 00:40:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.isc.org!news.glorb.com!news.jgaa.com!LF.net!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-NNTP-Posting-Host: ada2.unipv.it Original-X-Trace: quimby.gnus.org 1146023580 692 193.204.44.145 (26 Apr 2006 03:53:00 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 26 Apr 2006 03:53:00 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:oCNpyIgZFG//rjJ88WlpQbFKrOU= Original-Xref: shelby.stanford.edu gnu.emacs.help:139040 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:34660 Archived-At: Peter Tury writes: > What do you think: can a robust solution be built using this approach? yes, if you now how (and how much) to wait for font lock to do its job: if the scanning you have in mind occurs before font lock is done, it may give incorrect results. this can be difficult to debug because by the time you notice the incorrect results, font lock may have finished. thi