all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: parse-partial-sexp, what does it use?
Date: Thu, 24 Apr 2008 23:54:08 +0200	[thread overview]
Message-ID: <48110180.5010101@gmail.com> (raw)
In-Reply-To: <jwvprsgvwb6.fsf-monnier+emacs@gnu.org>

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	other threads:[~2008-04-24 21:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24  0:15 parse-partial-sexp, what does it use? Lennart Borgman (gmail)
2008-04-24  2:13 ` Stefan Monnier
2008-04-24 21:54   ` Lennart Borgman (gmail) [this message]

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

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

  git send-email \
    --in-reply-to=48110180.5010101@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.