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: Stefan Monnier
Subject: Re: parse-partial-sexp, what does it use?
Date: Wed, 23 Apr 2008 22:13:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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.


        Stefan




reply via email to

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