Comments (5)
Encountered the same error today. Maybe it can be fixed with some quick workaround?
from ggtags.
Same error here... Any solution yet?
from ggtags.
Same here (again). The issue is obviously racy; it worked for some time, but now it's persistent again.
I'm currently circumventing this very crudely, by preserving the compilation buffer even if there's only one match:
diff -u /home/arnez/.emacs.d/elpa/ggtags-20220511.610/ggtags.el\~ /home/arnez/.emacs.d/elpa/ggtags-20220511.610/ggtags.el
--- /home/arnez/.emacs.d/elpa/ggtags-20220511.610/ggtags.el~ 2022-06-01 14:07:40.781288558 +0200
+++ /home/arnez/.emacs.d/elpa/ggtags-20220511.610/ggtags.el 2022-07-20 20:18:20.920608602 +0200
@@ -1668,11 +1668,12 @@
;; - http://debbugs.gnu.org/23987
;; - https://github.com/leoliu/ggtags/issues/89
;;
- (pcase (cl-find 'compilation-auto-jump timer-list :key #'timer--function)
- (`nil )
- (timer (timer-event-handler timer)))
- (ggtags-navigation-mode -1)
- (ggtags-navigation-mode-cleanup buf t)))))
+ ;; (pcase (cl-find 'compilation-auto-jump timer-list :key #'timer--function)
+ ;; (`nil )
+ ;; (timer (timer-event-handler timer)))
+ ;; (ggtags-navigation-mode -1)
+ ;; (ggtags-navigation-mode-cleanup buf t)
+ ))))
(defvar ggtags-global-mode-font-lock-keywords
'(("^Global \\(exited abnormally\\|interrupt\\|killed\\|terminated\\)\\(?:.*with code \\([0-9]+\\)\\)?.*"
from ggtags.
I faced this same issue in the past and finally decided to use xref
with ggtags
as a backend to avoid these races.
The xref
backend code section also seems to have a race, but I recently sent PR #224 which seems to fix it.
from ggtags.
I faced this same issue in the past and finally decided to use
xref
withggtags
as a backend to avoid these races.The
xref
backend code section also seems to have a race, but I recently sent PR #224 which seems to fix it.
At the end I also decided to use xref
and all the other emacs provided infrastructure for everything (imenu
, completions
, project.el
). And as I also faced issues there I decided to go with my own simpler and clean implementation optimized for tramp support: https://github.com/Ergus/gtags-mode
It is already in elpa btw.
from ggtags.
Related Issues (20)
- Tag navigation and compilation mode HOT 1
- How to use this gtags-cscope feature from ggtags.el
- CPU is pinned to 100%, with excessive gtags processes spawned HOT 6
- ‘global’ non-zero exit: sh: global: command not found HOT 2
- POSIX realpath required
- wrong-type-argument error on compilation-auto-jump timer
- ggtags causes company-capf to fail when GTAGS doesn't exist
- ggtags-fontify-code conflicts with hl-line-mode HOT 1
- ggtags doesn't work with xref in Emacs 27.2 since latest update HOT 3
- GTAGSLIBPATH not searched HOT 1
- `ggtags-fontify-code` should be called optionally HOT 2
- 'xref-find-definitions' problem in symbolic link directory HOT 6
- xref-pop-marker-stack doesn't return to previous location HOT 1
- Use default gtags backend unless GTAGSLABEL is set
- Enhancement: Use Emacs' sqlite API (built-in or via module)
- Make integration with xref and capf user configurable
- Compile warnings with latest emacs master
- final message interpreted as a match HOT 2
- Support for --literal argument
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggtags.