From unknown Sat Aug 16 21:15:50 2025 X-Loop: don@donarmstrong.com Subject: bug#150: 23.0.60; html-mode syntactic fontification error at line 164 Reply-To: "Lennart Borgman \(gmail\)" , 150@debbugs.gnu.org Resent-From: "Lennart Borgman \(gmail\)" Original-Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 20 Apr 2008 02:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 150 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12086587668972 (code B ref -1); Sun, 20 Apr 2008 02:40:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.3 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Apr 2008 02:32:46 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m3K2Wggf008965 for ; Sat, 19 Apr 2008 19:32:43 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkFAP5HCkhMCqsI/2dsb2JhbACBUIkeh2iXLw X-IronPort-AV: E=Sophos;i="4.25,684,1199682000"; d="scan'208";a="18782616" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 19 Apr 2008 22:32:36 -0400 Received: from pastel.home ([76.10.171.8]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id AGA44236 for ; Sat, 19 Apr 2008 22:32:36 -0400 Received: by pastel.home (Postfix, from userid 20848) id 350918DDE; Sat, 19 Apr 2008 22:32:36 -0400 (EDT) Resent-Message-ID: Resent-To: submit@debbugs.gnu.org Resent-From: Stefan Monnier Resent-Date: Sat, 19 Apr 2008 22:32:36 -0400 X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id B86122CF7AF for ; Sat, 19 Apr 2008 18:25:11 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 77EC43B8B43 for ; Sat, 19 Apr 2008 18:25:04 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnLUW-0002fD-8N for monnier@iro.umontreal.ca; Sat, 19 Apr 2008 18:25:04 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JnLUE-0002ei-1l for emacs-devel@gnu.org; Sat, 19 Apr 2008 18:24:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JnLUB-0002eC-K3 for emacs-devel@gnu.org; Sat, 19 Apr 2008 18:24:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnLUB-0002e9-Fa for emacs-devel@gnu.org; Sat, 19 Apr 2008 18:24:43 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JnLUB-00016I-Lj for emacs-devel@gnu.org; Sat, 19 Apr 2008 18:24:43 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JnLUB-0000kp-0f for emacs-pretest-bug@gnu.org; Sat, 19 Apr 2008 18:24:43 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JnLU7-00015g-KJ for emacs-pretest-bug@gnu.org; Sat, 19 Apr 2008 18:24:43 -0400 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 1JnLU7-00015O-3V for emacs-pretest-bug@gnu.org; Sat, 19 Apr 2008 18:24:39 -0400 Received: from c83-254-150-27.bredband.comhem.se ([83.254.150.27]:64531 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JnLU2-0004Px-6D for emacs-pretest-bug@gnu.org; Sun, 20 Apr 2008 00:24:37 +0200 Message-ID: <480A7120.1090306@gmail.com> Date: Sun, 20 Apr 2008 00:24:32 +0200 From: "Lennart Borgman \(gmail\)" 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 MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080419-0, 2008-04-19), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.150.27 X-Scan-Result: No virus found in message 1JnLU2-0004Px-6D. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JnLU2-0004Px-6D 8beb6342a91fa8a5ae2abd6f63109389 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) Cc: 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: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.94, requis 5, BAYES_00 -2.60, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org 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. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-04-19 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: XHTML Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t From unknown Sat Aug 16 21:15:50 2025 X-Loop: don@donarmstrong.com Subject: bug#150: 23.0.60; html-mode syntactic fontification error at line 164 Reply-To: Chong Yidong , 150@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 24 Jul 2008 19:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 150 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 150-submit@emacsbugs.donarmstrong.com id=B150.121692611317139 (code B ref 150); Thu, 24 Jul 2008 19:10:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 150) by emacsbugs.donarmstrong.com; 24 Jul 2008 19:01:53 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6OJ1oir017133 for <150@emacsbugs.donarmstrong.com>; Thu, 24 Jul 2008 12:01:51 -0700 Received: by cyd (Postfix, from userid 1000) id AECAF57E32E; Thu, 24 Jul 2008 15:03:18 -0400 (EDT) From: Chong Yidong To: "Lennart Borgman" Cc: 150@debbugs.gnu.org Date: Thu, 24 Jul 2008 15:03:18 -0400 Message-ID: <873alzayvd.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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. I can't reproduce this. Do you still see it happening? From unknown Sat Aug 16 21:15:50 2025 X-Loop: don@donarmstrong.com Subject: bug#150: 23.0.60; html-mode syntactic fontification error at line 164 Reply-To: "Lennart Borgman (gmail)" , 150@debbugs.gnu.org Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 24 Jul 2008 19:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 150 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 150-submit@emacsbugs.donarmstrong.com id=B150.121692693521398 (code B ref 150); Thu, 24 Jul 2008 19:25:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 150) by emacsbugs.donarmstrong.com; 24 Jul 2008 19:15:35 +0000 Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6OJFRYi021392 for <150@emacsbugs.donarmstrong.com>; Thu, 24 Jul 2008 12:15:28 -0700 Received: from c83-254-151-176.bredband.comhem.se ([83.254.151.176]:61115 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KM6Hc-0004k9-3z; Thu, 24 Jul 2008 21:15:26 +0200 Message-ID: <4888D4C3.9050609@gmail.com> Date: Thu, 24 Jul 2008 21:15:15 +0200 From: "Lennart Borgman (gmail)" 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 MIME-Version: 1.0 To: Chong Yidong CC: 150@debbugs.gnu.org References: <873alzayvd.fsf@stupidchicken.com> In-Reply-To: <873alzayvd.fsf@stupidchicken.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080724-1, 2008-07-24), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.176 X-Scan-Result: No virus found in message 1KM6Hc-0004k9-3z. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KM6Hc-0004k9-3z 4cbb5c8f7867f57423e2adb35fc9ca24 Chong Yidong 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. > > I can't reproduce this. Do you still see it happening? No, I think I do not think so. Thanks.