emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parse-partial-sexp, what does it use?


From: Lennart Borgman (gmail)
Subject: Re: parse-partial-sexp, what does it use?
Date: Thu, 24 Apr 2008 23:54:08 +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

Stefan Monnier wrote:
I am getting different results from parse-partial-sexp in two similar cases
where I have tried to setup everything so that it should give the
same result.

In both cases I believe I have the same arguments to parse-partial-sexp and
this is t:

   (and (equal (syntax-table) html-mode-syntax-table)
        (equal (nth 1 font-lock-syntactic-keywords)
               sgml-font-lock-syntactic-keywords))

and

  multibyte-syntax-as-symbol=nil
  parse-sexp-ignore-comments=nil
  parse-sexp-lookup-properties=t

I guess I am missing something, but what?

`syntax-table' text properties in the buffer, set by
font-lock-syntactic-keywords?
I expect the problem is with the use of `syntax-ppss' in
html-font-lock-syntactic-keywords.


Thanks, it helped to clear things out. (I had made a too ambitous redefinition of the syntax-begin-function.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]