unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Alan Mackenzie <acm@muc.de>
Cc: martin rudalics <rudalics@gmx.at>, emacs-devel@gnu.org
Subject: Re: Problems with syntax-ppss
Date: Mon, 07 Apr 2008 10:59:43 -0400	[thread overview]
Message-ID: <jwvmyo5yaol.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20080406140731.GA4084@muc.de> (Alan Mackenzie's message of "Sun,  6 Apr 2008 14:07:31 +0000")

> (iii) put a `save-match-data' round the function?

Actually, let me qualify the previous "no": around the whole function,
this is a definite "no", but I suspect that the match data can only be
affected via syntax-begin-function, so maybe we should document that
syntax-begin-function should preserve the match-data, and then we can
document that syntax-ppss does preserve the match-data.


        Stefan




      parent reply	other threads:[~2008-04-07 14:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 17:26 Problems with syntax-ppss Alan Mackenzie
2008-04-04 17:29 ` Lennart Borgman (gmail)
2008-04-04 20:24 ` Stefan Monnier
2008-04-04 21:14   ` martin rudalics
2008-04-05 14:46     ` Alan Mackenzie
2008-04-05 18:37       ` Stefan Monnier
2008-04-06 14:07         ` Alan Mackenzie
2008-04-07 14:57           ` Stefan Monnier
2008-04-07 15:14             ` Lennart Borgman (gmail)
2008-04-07 16:43               ` Stefan Monnier
2008-04-07 14:59           ` Stefan Monnier [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

  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=jwvmyo5yaol.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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).