GNU bug report logs - #150
23.0.60; html-mode syntactic fontification error at line 164

Previous Next

Package: emacs;

Reported by: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>

Date: Sun, 20 Apr 2008 02:40:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 150 in the body.
You can then email your comments to 150 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#150; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; html-mode syntactic fontification error at line 164
Date: Sun, 20 Apr 2008 00:24:32 +0200
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






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#150; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 150 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Lennart Borgman" <lennart.borgman <at> gmail.com>
Cc: 150 <at> debbugs.gnu.org
Subject: Re: 23.0.60; html-mode syntactic fontification error at line 164
Date: Thu, 24 Jul 2008 15:03:18 -0400
> 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?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#150; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 150 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 150 <at> debbugs.gnu.org
Subject: Re: 23.0.60; html-mode syntactic fontification error at line 164
Date: Thu, 24 Jul 2008 21:15:15 +0200
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.




bug closed, send any further explanations to "Lennart Borgman \(gmail\)" <lennart.borgman <at> gmail.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Thu, 24 Jul 2008 19:45:06 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 22 Aug 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.