git-gutter
git-gutter copied to clipboard
Git gutter annotations disappearing
I've noticed that my git-gutter annotations are disappearing from the margin upon save or switching buffers. I've tried debugging by commenting out portions of my .emacs file, but haven't been able to figure out what is going on. Any ideas on how I can figure out why this is happening?
~git-gutter+ does not have this problem - so that indicates it's not a trivial thing with my setup~
Edit- git-gutter+ breaks as well. At my wits' end
Culprit seems to be https://github.com/syohex/emacs-git-gutter/issues/14
I've been having this issue lately as well (with global-git-gutter-mode enabled).
I'm just picking up maintenance on this project. I haven't seen an instance of this bug yet, so I'm going to mark "need repro" and keep the ticket open for now.
Removing the "need repro" flag because I'm definitely seeing this. I'm not sure if git-gutter-fringe was mixed up in this, so for now, I've got the fringe display disabled in my personal config while I hunt this down.
One thing I'm seeing right away is that it depends how I switch between buffers. git-gutter has hooks that update the gutters only after certain predefined commands have executed or when window layouts have changed (buffers killed, etc). I have different techniques for detecting changes in window arrangment or buffer visibility in the dimmer package. My plan is to try adapting those techniques here.