|
From: | Stefan Monnier |
Subject: | bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks) |
Date: | Wed, 20 Jul 2016 16:54:03 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Maybe there's a misunderstanding. What Noam suggested was just to > move the code which adjusts search_regs.start[i] and .end[i] to before > the call to replace_range. Oh, right, that's also an option. It might suffer from another problem, which is that the match-data will be broken while the before-change-functions are run, so if there's a save-match-data there we're back to square one. Admittedly, before-change-functions is used less often, so it might be good enough. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |