From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: flypell and check-comments. Date: Wed, 07 Mar 2007 22:55:02 +0100 Message-ID: <45EF34B6.30401@gmx.at> References: <87fy8ht91r.fsf@lrde.org> <45EF0455.6080407@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173304542 9834 80.91.229.12 (7 Mar 2007 21:55:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2007 21:55:42 +0000 (UTC) Cc: Micha?l Cadilhac , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 07 22:55:36 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HP46g-0006Uc-1H for ged-emacs-devel@m.gmane.org; Wed, 07 Mar 2007 22:55:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HP46o-00005d-12 for ged-emacs-devel@m.gmane.org; Wed, 07 Mar 2007 16:55:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HP46Q-0008Po-R3 for emacs-devel@gnu.org; Wed, 07 Mar 2007 16:55:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HP46O-0008P9-Uv for emacs-devel@gnu.org; Wed, 07 Mar 2007 16:55:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HP46O-0008P6-RX for emacs-devel@gnu.org; Wed, 07 Mar 2007 16:55:16 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HP46F-0001jU-Sh for emacs-devel@gnu.org; Wed, 07 Mar 2007 16:55:08 -0500 Original-Received: (qmail invoked by alias); 07 Mar 2007 21:55:06 -0000 Original-Received: from N864P003.adsl.highway.telekom.at (EHLO [62.47.51.227]) [62.47.51.227] by mail.gmx.net (mp031) with SMTP; 07 Mar 2007 22:55:06 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+vkmksYQevgk4NwGDmIrA7niTjGgXbjDh4OSE+Fh rdYWGvpziV1rHY User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67534 Archived-At: > Actually it should be neither: > - font-lock-fontify-region will unnecessarily > refontify the region if it was already fontified. That was my concern here ... > - jit-lock-fontify-now is wrong if the user is not using jit-lock. ... `occur-mode' has ... (if (fboundp 'jit-lock-fontify-now) (jit-lock-fontify-now beg end))) > - if the user decided not to use font-lock... ... it would be best (and cheaper) to use `syntax-ppss' and `parse-partial-sexp'.