this post was submitted on 22 Oct 2023
1 points (100.0% liked)
Emacs
312 readers
1 users here now
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Are the sly presentations in a speedbar or special buffer of some kind, or just listed in the REPL?
It looks like this, it opens a vertical popup at the bottom of the screen with fuzzy completion. Well that's just cause doom is using Vertico for completion by default, I assume with other completion frameworks or configuration it'll look different.
https://preview.redd.it/u9duaifg8vvb1.png?width=656&format=png&auto=webp&s=44c25fb889e109bec1f4c2a9665ad28921056cc4
That's the closest approximation (so far) of what I was looking for, though unfortunately I'm a slime user and haven't yet tried sly.
I'm actually surprised there isn't speedbar for CL definitions already in slime, somehow I figured it was an obvious thing I was missing, since you see that sort of thing all the time in IDE's.
I digged in a little and it seems that imenu default for
imenu-prev-index-position-function
is set tobeginning-of-defun
which is how this is working, I don't think it has anything to do with sly or slime. Thenconsult-imenu
gives a nicer UI for imenu. I just realized there is also aconsult-line-multi
which will do for all buffers in the current project, which is what I was looking for. It also supports narrowing to show just functions or just variables or just macros or whatever.