From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Tury Newsgroups: gmane.emacs.help Subject: Re: identifiing strings and comments in program source files (to skip them over) Date: Wed, 26 Apr 2006 08:04:06 GMT Organization: Nokia Message-ID: <1rr66a7a2k4a8.n59erpn8woet.dlg@40tude.net> References: <11laoqnlgqlxp.80dh81qx3xik.dlg@40tude.net> <7epsj5vvqa.fsf@ada2.unipv.it> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146040889 27452 80.91.229.2 (26 Apr 2006 08:41:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 08:41:29 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 26 10:41: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 1FYfaR-00036C-RU for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 10:41:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYfaQ-0005N4-Ku for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Apr 2006 04:41:26 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.freenet.de!news.germany.com!feeder2.news.jippii.net!feeder1.news.jippii.net!nntp.inet.fi!inet.fi!newsfeed1.nokia.com!news1.nokia.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: 40tude_Dialog/2.0.15.1 Original-Lines: 22 Original-NNTP-Posting-Host: 172.24.170.85 Original-X-Complaints-To: newsmaster@nokia.com Original-X-Trace: news1.nokia.com 1146038646 172.24.170.85 (Wed, 26 Apr 2006 11:04:06 EET DST) Original-NNTP-Posting-Date: Wed, 26 Apr 2006 11:04:06 EET DST Original-Xref: shelby.stanford.edu gnu.emacs.help:139045 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:34666 Archived-At: On Wed, 26 Apr 2006 05:53:01 +0200, Thien-Thi Nguyen wrote: > 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: Yes, I had a feeling this could be a problem. When I eval (text-properties-at (point)) I see e.g. (face font-lock-comment-face fontified t). Can I use this "fontified" for checking if font lock is done? Or this remains always t if fontified once? What is this "fontified" exactly? How can I get more info? Please point me some place in the manual. Anyway, I would like to get some hideshow ;-)) (I couldn't use hideshow.el until now for this major mode; now I plan to reuse it somehow, with modifications.) So I hope fontification will be ready when I search (for hide/show.) Thanks! P