|
From: | Dmitry Gutov |
Subject: | Re: Generalizing find-definition |
Date: | Fri, 19 Dec 2014 16:34:00 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
On 12/19/2014 10:49 AM, Helmut Eller wrote: > xref-goto-xref should be rewritten as: Ok, thanks.
(define-derived-mode xref--xref-buffer-mode fundamental-mode "XREF" "Mode for displaying cross refenences." (setq buffer-read-only t) (setq next-error-function #'xref--next-error-function) (setq next-error-last-buffer (current-buffer)))
This looks dubious to me. What if I already have a compilation buffer open, and I'm using `xref-find-definitions' to follow the implementation of some code near one of the errors?
This seems like it'll break the error chain I'm currently following.Also, when I'm using xref-find-definitions (as opposed to the other xref-find- functions), I'm very unlikely to want to visit all results. It's usually just one that I'm after.
[Prev in Thread] | Current Thread | [Next in Thread] |