Leo Liu
Leo Liu
Yes, this is tricky to pull off because `ggtags` builds on `compile.el` which has its pros and cons. You are hitting one of `compile.el`'s weaknesses. `compile.el` uses `display-buffer` (see `compilation-goto-locus`)...
Are you looking for something like `find-tag-other-frame`? I think that is a good feature to have.
Hi @gthaker, Looks like it might be tricky to get this working. But I have something (still crude) that might be a start. ``` (define-advice compilation-find-file (:around (orig &rest r)...
You probably need to use the old `defadvice` like this (untested): ``` (defadvice compilation-find-file (around use-lru-frame activate) (let ((pop-up-frames 'graphic-only) (buf (current-buffer))) (select-frame-set-input-focus (ggtags-get-lru-frame) t) (with-current-buffer buf ad-do-it))) ```
By target buffer do you mean the *ggtags-global* buffer that lists matched entries? Finding *ggtags-global* is not difficult something along these lines? ``` (defun ggtags-get-lru-frame () (or (ignore-errors (window-frame (get-buffer-window...
See if this does what you need: ``` (defadvice compilation-find-file (around use-lru-frame activate) (let ((buf (get-file-buffer (ad-get-arg 1)))) (cond ((and buf (get-buffer-window buf)) (select-window (get-buffer-window buf)) buf) (t (let ((pop-up-frames...
@CuriousSoul, Thanks for the report. I see this transient error as well but unfortunately I was often in a hurry and forgot to investigate it further. Meanwhile If you found...
hi @CuriousSoul, Could you show me a recipe that doesn't involve enabling `debug-on-error`? When `debug-on-error` is enabled, the timer might work differently, so basically the buffer is deleted before compilation-auto-jump....
hi @CuriousSoul, It might be tricky to fix this properly. Basically `compilation-auto-jump` is run by an idle timer. So in order to clean up (deleting the buffer with a single...
@CuriousSoul, Sorry I seem to completely drop the ball. Does the error "Selecting deleted buffer" happen every time you jump to a symbol with single definition? Could you show me...