emacsorphanage/git-gutter

Error "Match data clobbered by buffer modification hooks" in some cases

haji-ali opened this issue · 1 comments

While executing some commands (in my case, bibtex-reformat), I get an error Match data clobbered by buffer modification hooks.

I chased down the reason and found that disabling git-gutter-mode resolves this issue.
Looking further, the buffer had an overlay with a modification hook that executes fringe-helper-modification-func from the dependency fringe-helper. This function as can be seen here uses search-forward but without using save-match-data which I believe is what causes this issue.

The development of fringe-helper seems largely abandoned which is why I am reporting the issue here.

Sorry, this belongs to the git-gutter-fringe repo not here. I added this as a comment an issue that is already there.