From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#8626: 24.0.50; (elisp) Region to Fontify after a Buffer Change - Why a child of Multiline Font Lock? Date: Fri, 6 May 2011 07:01:25 -0700 Message-ID: <078B0330CA3C43959F4638AC9055DB76@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1304690543 30521 80.91.229.12 (6 May 2011 14:02:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 May 2011 14:02:23 +0000 (UTC) Cc: 8626@debbugs.gnu.org To: "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 06 16:02:19 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QILbn-0008Ar-6a for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 May 2011 16:02:19 +0200 Original-Received: from localhost ([::1]:54722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QILbm-0005nQ-OK for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 May 2011 10:02:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QILbj-0005n0-Sh for bug-gnu-emacs@gnu.org; Fri, 06 May 2011 10:02:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QILbW-0006RB-VH for bug-gnu-emacs@gnu.org; Fri, 06 May 2011 10:02:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QILbW-0006R2-Qn for bug-gnu-emacs@gnu.org; Fri, 06 May 2011 10:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QILbW-0004QW-2r; Fri, 06 May 2011 10:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 May 2011 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8626-submit@debbugs.gnu.org id=B8626.130469051216998 (code B ref 8626); Fri, 06 May 2011 14:02:02 +0000 Original-Received: (at 8626) by debbugs.gnu.org; 6 May 2011 14:01:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QILbM-0004Q7-I9 for submit@debbugs.gnu.org; Fri, 06 May 2011 10:01:52 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QILbC-0004Pm-KS for 8626@debbugs.gnu.org; Fri, 06 May 2011 10:01:51 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p46E1XOb003616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 May 2011 14:01:35 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p46E1W57026530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 May 2011 14:01:33 GMT Original-Received: from abhmt013.oracle.com (abhmt013.oracle.com [141.146.116.22]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p46E1ROA020360; Fri, 6 May 2011 09:01:27 -0500 Original-Received: from dradamslap1 (/10.159.62.197) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 06 May 2011 07:01:26 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcwL8/kJAQ4TaPb6T4u12z+qvRNw9gAAIecw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4DC3FF3F.00DE:SCFMA922111,ss=1,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 06 May 2011 10:02:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46271 Archived-At: > > This node says zero about multiline font lock. No apparent > > relation between the two. If there is a relation, > > then it needs to be pointed out. > > I'm not sure what more you need. It already says: > > When a buffer is changed, the region that Font Lock refontifies is > by default the smallest sequence of whole lines that spans > the change. > While this works well most of the time, sometimes it doesn't---for > example, when a change alters the syntactic meaning of text on an > earlier line. What limits the import of this node to multiline font-lock? Nothing that I can see. This text simply says that the refontification is for a set of (presumably contiguous) whole lines. One can read between the lines to see that it might not work well for - among other things - multiline font-lock. But there is nothing about the text in this node that limits it to multiline font-lock. This node is about refontification after buffer changes. It is not, logically, a subnode of `Multiline Font Lock Constructs'. The info here belongs in or under node `Change Hooks', or possibly somewhere else in the font-lock section of the manual. You can link to this text from the multiline font-lock section. And I suggest adding explicitly, after the last line you quoted, that in particular this is often the case for multiline font-lock.