Closed alanz closed 1 year ago
Thanks for sharing! How do I get into an xref--xref-buffer?
Also, I would refine the :given clause so that your mold becomes usable only if self
contains what you want, no? Now it is always available if your buffer is in emacs-lisp-mode
How do I get into an xref--xref-buffer?
For me it shows up if I either explicitly call lsp-find-references
, or if I try to go to a definition (C-]
in evil mode) and there is more than one target. It is the one called *xref*
.
And I initially kept the preconditions wide because I was just trying to make the the thing work, it does need tightening up.
I would love to be able to set a field in the mold-data to identify the type of info in the self
, so we can just check for that.
Which probably taps into something from #11 .
Here is an example
With the cursor on xref-location-group
I hit C-]
(evil-jump-to-tag
) and got the *xref*
buffer on the right.
thanks again for this, closing it now
I have been playing with moldable-emacs, and made a mold to convert xref results to an Org TODO list
The first part populates a Playground with the xref data
The next one converts it to a todo list