git-gutter icon indicating copy to clipboard operation
git-gutter copied to clipboard

Git gutter annotations disappearing

Open indigoviolet opened this issue 7 years ago • 6 comments

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?

indigoviolet avatar May 31 '18 07:05 indigoviolet

~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

indigoviolet avatar May 31 '18 16:05 indigoviolet

Culprit seems to be https://github.com/syohex/emacs-git-gutter/issues/14

vemv avatar Sep 19 '18 23:09 vemv

I've been having this issue lately as well (with global-git-gutter-mode enabled).

neh avatar Sep 25 '18 16:09 neh

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.

gonewest818 avatar Mar 24 '20 05:03 gonewest818

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.

gonewest818 avatar Mar 26 '20 18:03 gonewest818

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.

gonewest818 avatar Mar 27 '20 05:03 gonewest818