Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vindarel/slime-load-this-project
M-x slime-load-this-project: find the .asd and load the system.
https://github.com/vindarel/slime-load-this-project
common-lisp
Last synced: 5 days ago
JSON representation
M-x slime-load-this-project: find the .asd and load the system.
- Host: GitHub
- URL: https://github.com/vindarel/slime-load-this-project
- Owner: vindarel
- Created: 2020-09-29T14:39:58.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T12:28:54.000Z (9 months ago)
- Last Synced: 2024-05-01T12:31:47.952Z (6 months ago)
- Topics: common-lisp
- Language: Emacs Lisp
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
SLIME utilities
status: bad quality. Doesn't always load. They probably exist somewhere else.
=> <2024-02-05> exists in Sly? M-x sly-asdf-load-system. The slime command doesn't suggest my .asd system if it isn't already loaded. The Sly function looks for an .asd file in the current directory and upwards. It infers the system name from the file name, it doesn't look inside it for one or several real system names.
## M-x slime-load-this-project
Find the asd declaration at the project root, load the file and load
the system.The system name is inferred from the file name. This can be improved.
This saves me some typing: opening the .asd file, typing C-c C-k, then quickload-ing the system.
Another solution is to clone all lisp projects into `~/common-lisp/` (or into `~/quicklisp/local-projects`, but I'd advise to let it for Quicklisp only, in case you need to debug stuff).
Another solution, but that requires one edit, is to populate
`asdf:*central-registry*` in one's .sbclrc / .ccl-init.lisp:```lisp
(pushnew "~/path/to/myproject/" asdf:*central-registry* :test #'equal)
```or to push all projects from a directory.
## M-x slime-describe-system-dependencies
From a system name (a string), show its dependencies along with their description.
XXX: probably something does this better already?
```
(slime-describe-system-dependencies "felonix")Dependencies of felonix:
== ciel ==
CIEL Is an Extended Lisp.
== progressons ==
Display a progress bar on one line.
== termp ==
Check if we are in a dumb or real terminal. Provide the termp check and a quit function.
== cl-ftp ==
FTP library
== defclass-std ==
A shortcut macro to write DEFCLASS forms quickly.
== defmain ==
A wrapper around net.didierverna.clon which makes command line arguments parsing easier.
== cl-slug ==
Small library to make slugs, mainly for URIs, from english and beyond.
```todo: an Emacs buffer.
## Licence
LGPLv3