this post was submitted on 22 Oct 2023
1 points (100.0% liked)

Emacs

310 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

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

When editing common lisp with slime and emacs, I'd like a speedbar listing, alternately, top level definitions in the file I'm editing, and top level definitions in the package I'm looking at (which may be a superset of definitions in the file). Preferably sorted by type of definition (function, macro, constant, etc) and/or alphabetically.

Is there some emacs tooling for this? I haven't found it.

you are viewing a single comment's thread
view the rest of the comments
[–] dzecniv@alien.top 1 points 11 months ago (2 children)

similar to the description, but gives a web page: https://github.com/mmontone/cl-livedocs with full-text search, and https://github.com/lokedhs/docbrowser

(also: slime-edit-definition, with a prefix argument, allows to go to the definition of any symbol)

[–] Decweb@alien.top 1 points 11 months ago

Nice tips for future use though not quite what I'm looking for (though the prefix tip is one I'll have to remember).

[–] arthurno1@alien.top 1 points 11 months ago (1 children)

Is that just hyerspec?

You could alternatively install info version from an old Wiegley's thing called ready-lisp. Then you have it directly in Emacs, working as any other info manual.

Another option is to open the web version of files in eww. It is then still in Emacs, so you skip the web server and to switch between Emacs and web browser; if that is a feature for you.

[–] dzecniv@alien.top 1 points 11 months ago (1 children)

nope these 2 links don't give the hyperspec, they build a web view of the systems, packages and symbols (classes macros functions etc) in the current image.

[–] arthurno1@alien.top 1 points 11 months ago

Aha, ok. Thank you for the info, I'll take a look at them too then, sounds useful 😀