From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; html-mode syntactic fontification error at line 164 Date: Sun, 27 Apr 2008 23:28:44 +0200 Message-ID: <4814F00C.5050009@gmail.com> References: <480A7120.1090306@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209331798 31021 80.91.229.12 (27 Apr 2008 21:29:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Apr 2008 21:29:58 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 27 23:30:33 2008 connect(): Connection refused 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 1JqES7-0007gb-H4 for ged-emacs-devel@m.gmane.org; Sun, 27 Apr 2008 23:30:31 +0200 Original-Received: from localhost ([127.0.0.1]:41335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqERR-0007VD-3w for ged-emacs-devel@m.gmane.org; Sun, 27 Apr 2008 17:29:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JqEQd-000774-Az for emacs-devel@gnu.org; Sun, 27 Apr 2008 17:28:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JqEQb-00074j-GC for emacs-devel@gnu.org; Sun, 27 Apr 2008 17:28:58 -0400 Original-Received: from [199.232.76.173] (port=55706 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqEQb-00074I-7K for emacs-devel@gnu.org; Sun, 27 Apr 2008 17:28:57 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JqEQa-0005WX-Iy for emacs-devel@gnu.org; Sun, 27 Apr 2008 17:28:56 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:41349 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JqEQR-0006Gk-Se for emacs-pretest-bug@gnu.org; Sun, 27 Apr 2008 17:28:47 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JqEQV-0005R5-Mi for emacs-pretest-bug@gnu.org; Sun, 27 Apr 2008 17:28:55 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JqEQV-0005PL-4K for emacs-pretest-bug@gnu.org; Sun, 27 Apr 2008 17:28:51 -0400 Original-Received: from c83-254-150-27.bredband.comhem.se ([83.254.150.27]:65343 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JqEQR-0002Y4-46 for emacs-pretest-bug@gnu.org; Sun, 27 Apr 2008 23:28:49 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <480A7120.1090306@gmail.com> X-Antivirus: avast! (VPS 080427-1, 2008-04-27), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.150.27 X-Scan-Result: No virus found in message 1JqEQR-0002Y4-46. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JqEQR-0002Y4-46 f91f504d36d4456927ba683cfc9f5a7f X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-detected-kernel: by monty-python.gnu.org: 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:96020 gmane.emacs.pretest.bugs:22151 Archived-At: Lennart Borgman (gmail) wrote: > This is a rather strange fontification error. Sometimes lines after a > certain line or the last part of the line itself gets fontified as > strings (which is incorrect) and sometimes not. I do not believe I am > able to make a simple example of this. Instead I have put up a copy of > the file where I saw it on the web: > > http://ourcomments.org/Emacs/DL/html-syntactic-err-l164.html > > To reproduce the error download this file, start Emacs with > > emacs -Q > > open the file (switch to html-mode if it is not opened in html-mode) and > go to line 164. There can be a little bit different errors, but the most > common is that the lines below this line are fontified as string. I > found right now that if I do > > M-g g 164 > > then I see the error above. However if I scroll down line by line to > line 164 then the fontification is ok. > > For other versions of misfontification I am not sure how to reproduce > them at the moment. I think that this problem is related to > characters that are not part of a tag. parse-partial-sexp can return negative values for parent depth when it find such character.