commit d8a774a100e35c8a4962b838cf38166de25b2891
parent 058e27cc1abc4dce431ba14e9c33e4710df76e55
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Wed, 21 Jan 2026 19:19:12 +0100
Update ponderings
Diffstat:
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/itches/emacs/bulk.md b/itches/emacs/bulk.md
@@ -132,12 +132,6 @@ Use-cases:
## xref
-- search gz-compressed Elisp files when calling `xref-find-references`
- from an Elisp buffer: from a user perspective, if
- `xref-find-definitions` can visit those files,
- `xref-find-references` should work too (even though technically they
- don't rely on the same mechanisms)
-
- defun-building macros seem hard to understand for xref: e.g. `M-.`
on `rg` does not jump to `rg-define-search rg`
diff --git a/itches/emacs/tracker.org b/itches/emacs/tracker.org
@@ -798,7 +798,21 @@ index 57ec8a0428..91aabfb6d2 100644
#+end_src
+**** ~emacs-lisp-mode~
+***** Prefer Emacs source directory over installation directory when finding definitions
+Entry points:
+- =M-.= on Elisp symbols: hook into ~elisp--xref-find-definitions~,
+ add a preference to consider source dir when
+ ~find-lisp-object-file-name~ returns something under the
+ installation dir?
+
+- ~help-view-source~ in Help buffers: likewise; in
+ ~help-function-def--button-function~ … or not, eventually reaches
+ down to ~find-library-name~; tunable with
+ =find-library-source-path=?
+
+=find-library-source-path= might be the answer for both situations.
**** ~python-mode~
***** DONE [[bug:51807]] Fix customization group of python-forward-sexp-function
:PROPERTIES: