GNU bug report logs - #42424
27.0.90; replace-match: point is NOT left at the end of replacement

Previous Next

Package: emacs;

Reported by: Ren Victor <victorhge <at> gmail.com>

Date: Sun, 19 Jul 2020 05:53:02 UTC

Severity: normal

Tags: patch

Found in version 27.0.90

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 42424 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: victorhge <at> gmail.com, 42424 <at> debbugs.gnu.org
Subject: Re: bug#42424: 27.0.90; replace-match: point is NOT left at the end
 of replacement
Date: Sat, 31 Jul 2021 17:45:48 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>>  replace_range (ptrdiff_t from, ptrdiff_t to, Lisp_Object new,
>>                 bool prepare, bool inherit, bool markers,
>> -               bool adjust_match_data)
>> +               bool adjust_match_data, bool inhibit_update_compositions)
>
> The name is misleading: the 2 functions whose call you want to bypass
> are not just for updating compositions.

Yup; now renamed and pushed.

It's hard to say whether this might have strange unforeseen effects, but
this change makes `replace-match' do what it's documented to do, at least.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 1 year and 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.