• 0 Posts
  • 3 Comments
Joined 1 year ago
cake
Cake day: October 8th, 2023

help-circle
  • I digged in a little and it seems that imenu default for imenu-prev-index-position-function is set to beginning-of-defun which is how this is working, I don’t think it has anything to do with sly or slime. Then consult-imenu gives a nicer UI for imenu. I just realized there is also a consult-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.



  • I’m using doom emacs pretty much it’s default setup for common lisp, and SPC-s-i is bound to consult-imenu which gives a nice fuzzy searchable listing of all top level definitions in the current file and their type (function, variable, etc).

    SPC-m-h-p or sly-apropos-package will show all public symbols in a package with their docstrings. With a prefix argument it will include all private symbols also, with clickable links to go to their definition.

    What I don’t know is if there’s a way to view all top level definitions in a whole asdf system