When using origami.el for folding and tags-query-replace, the replace operation will fail on a file with folds with "Match data clobbered by buffer modification hooks"
In my case this is invoked using projectile's global search/replace feature. Which internally uses tags-query-replace and I'm able to induce the failure directly using tags-query-replace. The search/replace fails as soon as a fold needs to be entered.
I don't know if this applies to other folding libraries.
As I understand the error message it's related to one of the hooks added:
When using origami.el for folding and
tags-query-replace
, the replace operation will fail on a file with folds with "Match data clobbered by buffer modification hooks"In my case this is invoked using projectile's global search/replace feature. Which internally uses
tags-query-replace
and I'm able to induce the failure directly usingtags-query-replace
. The search/replace fails as soon as a fold needs to be entered.I don't know if this applies to other folding libraries.
As I understand the error message it's related to one of the hooks added:
That's all I know about this error. Not even sure it's specific to origami!