Fork me on GitHub
#emacs
<
2019-10-29
>
bozhidar07:10:12

Sounds cool!

bozhidar07:10:10

I want to get CIDER itself to play with the new Emacs xref framework, but it’s probably too early for this, as we still have to support Emacs 25.

sogaiu14:10:36

the xref stuff does sound interesting -- i got the impression that one can (or will be able to) get more out of it other than jumping to definitions (e.g. renaming?).

sogaiu14:10:43

@ericihli here's are some links: instructions for indexing: https://gist.github.com/sogaiu/6cb947b00ae13d00d4ae16ab7aaf97e4 repository (not much to see there apart from the code atm): https://github.com/sogaiu/alc.index-defs if you try it out, please let me know how it goes. although i've found it useful, it's definitely far from perfect.

sogaiu15:10:55

@bozhidar ah, i didn't know that emacs 25 was where xref got added initially. i guess (eventually?) one is supposed to be able to apply xref stuff to search+replace as well as completion -- sounds pretty nice, though i'm clueless how usable that is atm.

bozhidar15:10:49

Well, the xrefs in Emacs are just a generic framework that everyone has to implement themselves. Dmitry Gutov has been adding a few such frameworks in recent versions, but I haven’t had much time to explore them. Generally like everything new there are many rough edges and opportunities for improvement.

sogaiu16:10:36

i guess it can pay to play around a bit but hold off on really working things in -- thanks for the info.