From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Cc: Paul Eggert <eggert@cs.ucla.edu>
Subject: Re: master 13fe8a2: Fix rare undefined behaviors in replace-match
Date: Sat, 03 Aug 2019 22:07:56 +0200 [thread overview]
Message-ID: <87sgqic8rn.fsf@mouse.gnus.org> (raw)
In-Reply-To: <20190803200034.9E5F1209B1@vcs0.savannah.gnu.org> (Paul Eggert's message of "Sat, 3 Aug 2019 16:00:34 -0400 (EDT)")
eggert@cs.ucla.edu (Paul Eggert) writes:
> + xsignal2 (Qerror,
> + build_string ("replace-match subexpression does not exist"),
> + subexp);
This is probably a better error to signal here for this error, but it
possibly changes the behaviour. If somebody previously had
condition-case'd this for args-out-of-range, then they'll get a new
error signalled now (which is why I kept that signal)...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next parent reply other threads:[~2019-08-03 20:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190803200033.5628.11021@vcs0.savannah.gnu.org>
[not found] ` <20190803200034.9E5F1209B1@vcs0.savannah.gnu.org>
2019-08-03 20:07 ` Lars Ingebrigtsen [this message]
2019-08-03 20:30 ` master 13fe8a2: Fix rare undefined behaviors in replace-match Paul Eggert
2019-08-03 21:02 ` Stefan Monnier
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=87sgqic8rn.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/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).