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 #20 received at 42424 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.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:20:16 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 42424 <at> debbugs.gnu.org,  victorhge <at> gmail.com
> Date: Sat, 31 Jul 2021 16:03:44 +0200
> 
> The hook is called from update_compositions, isn't it?  Are there any
> caveats to using that?

No, the hooks are called from signal_after_change, AFAICT.

And I'm probably missing something, because I don't understand how
calling the hooks from replace-match would help: replace_range is
called just once from replace-match, and the hooks are invoked at its
very end.  What am I missing?




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.