bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71068: 30.0.50; Incorrect xref positions for eglot-execute


From: Eshel Yaron
Subject: bug#71068: 30.0.50; Incorrect xref positions for eglot-execute
Date: Sun, 19 May 2024 17:55:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13)


f
Using xref to find the definition of eglot-execute seems to yield
imprecise definition locations:

1. emacs -Q
2. (require 'eglot)
3. M-. eglot-execute RET

This produces an *xref* buffer that lists two definitions:

--8<---------------cut here---------------start------------->8---
.../lisp/progmodes/eglot.el
  (cl-defgeneric eglot-execute)
  (cl-defmethod eglot-execute (server action))
--8<---------------cut here---------------end--------------->8---

Following the first definition leads to the definition of
eglot-execute-command (which is different from eglot-execute, although
the former is defined right above the latter), while the second
definition leads to the top of the file.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]