[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23869: 25.0.95; replace-match can crash emacs
From: |
Eli Zaretskii |
Subject: |
bug#23869: 25.0.95; replace-match can crash emacs |
Date: |
Mon, 04 Jul 2016 18:36:20 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: sdl.web@gmail.com, 23869@debbugs.gnu.org
> Date: Sun, 03 Jul 2016 17:06:18 -0400
>
> > The only alternative I'm aware of is to detect the clobbering and
> > error out, as the patch I proposed does as "last line of defense".
>
> Sounds fine, yes.
>
> > Is that what you had in mind?
>
> I didn't have anything specific in mind, but indeed it's typically the
> approach I've taken so far in similar circumstances (e.g. detecting
> when syntax-propertize modified the buffer and cry foul if so).
Thanks, I installed on emacs-25 changes to do that, and I'm closing
this bug.