From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Barry OReilly <gundaetiapo@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs treatment of match-data during change hooks
Date: Fri, 03 May 2013 21:44:25 -0400 [thread overview]
Message-ID: <jwvehdnseni.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAFM41H3kd_HY_smnky2VO4ByFtxN=oviq1oh3w3i+e8gWn8Ymw@mail.gmail.com> (Barry OReilly's message of "Mon, 29 Apr 2013 10:36:14 -0400")
> I suppose that caveat would pin the bug on one of the third party
> packages I use. However, why couldn't Emacs save off the match-data
> itself and restore it after the after-change-functions? Is there any
> legit situation where a change hook would want to change the
> match-data in effect after the change hook returns?
There are many cases where an after-change-function won't use regular
expressions at all.
Stefan
prev parent reply other threads:[~2013-05-04 1:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-29 14:36 Emacs treatment of match-data during change hooks Barry OReilly
2013-05-04 1:44 ` 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=jwvehdnseni.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=gundaetiapo@gmail.com \
/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).