unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; html-mode syntactic fontification error at line 164
Date: Sun, 27 Apr 2008 23:28:44 +0200	[thread overview]
Message-ID: <4814F00C.5050009@gmail.com> (raw)
In-Reply-To: <480A7120.1090306@gmail.com>

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.




  reply	other threads:[~2008-04-27 21:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 22:24 23.0.60; html-mode syntactic fontification error at line 164 Lennart Borgman (gmail)
2008-04-27 21:28 ` Lennart Borgman (gmail) [this message]
2008-04-27 21:39   ` Jason Rumney
2008-04-27 21:56     ` Lennart Borgman (gmail)
2008-04-27 23:51       ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4814F00C.5050009@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).