leoliu / ggtags

Emacs frontend to GNU Global source code tagging system.

Home Page:http://elpa.gnu.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ggtags + eldoc within tramp seems to slow down the cursor significantly

baron opened this issue · comments

commented

Title pretty much explains the situation. It could be due to the project being large but the cursor constantly stutters while moving around the file. It gets much smoother when I disable eldoc in the buffer.
2019-01-10 17 59 58

What is the value of eldoc-idle-delay in your setup?

Could you also try updating ggtags-show-definition to have a smaller CUTOFF to ggtags-global-output (is hardcoded as 100)?

commented

You are an absolute wizard! It turns out my eldoc-idle-delay was set to 0.

Before
2019-01-11 14 27 20

eldoc-idle-delay set to 1 and ggtags-global-output to 10
2019-01-11 14 30 42

eldoc-idle-delay set to 1 and ggtags-global-output to 100
2019-01-11 14 34 27

Thank you once again for solving another issue. Now I can use your awesome package in peace whether on tramp or local. I seriously can't work on this project without ggtags. It's a godsend.

Glad to hear it.