emacsorphanage / helm-gtags

GNU GLOBAL helm interface
203 stars 32 forks source link

sometimes terminal emacs blinks when jumping to tag #166

Closed introom closed 7 years ago

introom commented 7 years ago

Hi,

Inside terminal (tested both on terminal.app and iterm2), emacs will sometimes blink if it jumps to a tag.

For the blink behavior, a video is here to demonstrate: https://vimeo.com/205775103

What's the cause of it? Is it due to the action of invoking the process `global' to query the GTAGS database?

I'd like to submit a patch, but I dunno how to find out what makes the blinking.

syohex commented 7 years ago

Because helm-gtags.el calls pulse-momentary-highlight-one-line after jumping. You can disable it by setting helm-gtags-pulse-at-cursor to nil.

introom commented 7 years ago

No. This is not the effect I was describing.

It's the whole emacs frame flashes, not highlighting on some line.

See the above vimeo video.

syohex commented 7 years ago

Ah, sorry.

I suppose it is caused by recenter and please set recenter-redisplay to nil and try again.

introom commented 7 years ago

Thanks! It works.