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: checking jit-lock-defer-multiline Date: Mon, 24 Oct 2005 10:18:33 +0200 Message-ID: <435C98D9.2030105@gmx.at> NNTP-Posting-Host: main.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 1130159135 10071 80.91.229.2 (24 Oct 2005 13:05:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2005 13:05:35 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 15:05:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EU1zK-00083J-Qg for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 15:03:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU1zK-0007CQ-A8 for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2005 09:03:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EU0ya-00035c-VZ for emacs-devel@gnu.org; Mon, 24 Oct 2005 07:58:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EU0yY-00034r-2b for emacs-devel@gnu.org; Mon, 24 Oct 2005 07:58:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU0yX-00034n-Hv for emacs-devel@gnu.org; Mon, 24 Oct 2005 07:58:49 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1EU0yX-0006c2-L3 for emacs-devel@gnu.org; Mon, 24 Oct 2005 07:58:49 -0400 Original-Received: (qmail invoked by alias); 24 Oct 2005 11:58:40 -0000 Original-Received: from N959P023.adsl.highway.telekom.at (EHLO [62.47.63.215]) [62.47.63.215] by mail.gmx.net (mp014) with SMTP; 24 Oct 2005 13:58:40 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: emacs-devel X-Y-GMX-Trusted: 0 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:44707 Archived-At: The recent change to `jit-lock-fontify-now' may disable checking the `jit-lock-defer-multiline' property in a number of cases. It might make sense to introduce a variable `jit-lock-defer-multiline' with default nil. Modes like `perl-mode' would set this to t and the check in `jit-lock-fontify-now' become: (when (and jit-lock-context-unfontify-pos (>= jit-lock-context-unfontify-pos start) (< jit-lock-context-unfontify-pos next) (not jit-lock-defer-multiline)) (setq jit-lock-context-unfontify-pos next))