From 438e7ede6fa7b7c32c229266c8ee10a29903e5e0 Mon Sep 17 00:00:00 2001 From: David Botton Date: Fri, 17 May 2024 10:58:33 -0400 Subject: [PATCH] update docs to avoid slime issues --- ANDROID-TERMUX.md | 32 ++++++++++++++++---------------- LINUX.md | 15 +++------------ MACOS.md | 36 ++++++++++++++---------------------- WINDOWS.md | 33 +++++++++++++-------------------- 4 files changed, 46 insertions(+), 70 deletions(-) diff --git a/ANDROID-TERMUX.md b/ANDROID-TERMUX.md index a23ee54..de8c9cd 100644 --- a/ANDROID-TERMUX.md +++ b/ANDROID-TERMUX.md @@ -57,27 +57,27 @@ Add to ~/.emacs.d/init.el (setq inferior-lisp-program "sbcl") ``` +Install the UltraLisp distro for recent software for quicklisp: + +``` +sbcl --eval '(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)' --eval '(ql:update-all-dists)' --quit +``` + +Install CLOG and CLOG Builder for a rich GUI Lisp IDE that works with emacs +and on Android also: + +``` +sbcl --eval '(ql:quickload :clog/tools)' --quit +``` + start emacs M-x slime -Install the UltraLisp distro for recent software for quicklisp: - +Run builder with CLOG Builder for a rich GUI Lisp IDE ``` -(ql-dist:install-dist "http://dist.ultralisp.org/" - :prompt nil) -(ql:update-all-dists) ; run newest updates +(ql:quickload :clog/tools) (clog-tools:clog-builder) ``` -Of course install CLOG an CLOG Builder for a rich GUI Lisp IDE -``` -(ql:quickload :clog) -``` - -A failure will occur for sqlite on sbcl, choose {use-value} +A failure will occur for sqlite on sbcl, either ignore or choose {use-value} ("/data/data/com.termux/files/usr/lib/libsqlite3.so") - -``` -(ql:quickload :clog/tools) -(clog-tools:clog-builder) -``` diff --git a/LINUX.md b/LINUX.md index 4d418fc..7bc846e 100644 --- a/LINUX.md +++ b/LINUX.md @@ -18,22 +18,13 @@ sbcl --no-sysinit --no-userinit --load /tmp/ql.lisp \ 3. Run SBCL and install the UltraLisp distro for recent software for quicklisp: ``` -(ql-dist:install-dist "http://dist.ultralisp.org/" - :prompt nil) -(ql:update-all-dists) ; run newest updates +sbcl --eval '(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)' --eval '(ql:update-all-dists)' ``` -4. Install and run CLOG Builder for a rich GUI Lisp IDE either with: +4. Install and run CLOG Builder for a rich GUI Lisp IDE with: ``` - (ql:quickload :clog/tools) - (clog-tools:clog-builder) -``` - -or at the command line: - -``` -run-builder +sbcl --eval '(ql:quickload :clog/tools)' --eval '(clog-tools:clog-builder)' ``` - [Learn about CLOG](README.md) diff --git a/MACOS.md b/MACOS.md index e7133c3..d4eba97 100644 --- a/MACOS.md +++ b/MACOS.md @@ -1,6 +1,6 @@ ## Installing Common Lisp + Emacs + Slime on MacOS (all platforms) -(If you do not want emacs skip steps 1,2,6,7 and 8 and just use the +(If you do not want emacs skip steps 1,2,6, and 7 and just use the CLOG Builder) 1. Install Emacs for Mac OS from - https://emacsformacosx.com/ @@ -41,29 +41,21 @@ sbcl --eval '(ql:quickload :quicklisp-slime-helper)' --quit (setq inferior-lisp-program "sbcl") ``` -8. You can now start emacs graphically or if did option 2 from terminal +8. Install the UltraLisp distro for recent software for quicklisp: + +``` +sbcl --eval '(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)' --eval '(ql:update-all-dists)' --quit +``` + +9. Install CLOG and run CLOG Builder for a rich GUI Lisp IDE that works with emacs also: + +``` +sbcl --eval '(ql:quickload :clog/tools)' --eval '(clog-tools:clog-builder)' +``` + +10. You can now start emacs graphically or if did option 2 from terminal using emacs (and if desire terminal version use emacs -nw) and then use M-x slime -9. Install the UltraLisp distro for recent software for quicklisp: - -``` -(ql-dist:install-dist "http://dist.ultralisp.org/" - :prompt nil) -(ql:update-all-dists) ; run newest updates -``` - -10. Of course install CLOG an CLOG Builder for a rich GUI Lisp IDE -``` - (ql:quickload :clog/tools) - (clog-tools:clog-builder) -``` - -or at the command line: - -``` -run-builder -``` - Tip: If use emacs graphically, you may find it easier to set the apple command key to also act as a Meta key: diff --git a/WINDOWS.md b/WINDOWS.md index ce81987..9c6c8e6 100644 --- a/WINDOWS.md +++ b/WINDOWS.md @@ -65,7 +65,19 @@ (setq inferior-lisp-program "sbcl") ``` -7. Restart Emacs +9. Install the UltraLisp distro for recent software for quicklisp: + +``` +sbcl --eval '(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)' --eval '(ql:update-all-dists)' --quit +``` + +10. Install CLOG and run CLOG Builder for a rich GUI Lisp IDE that works with emacs also: + +``` +sbcl --eval '(ql:quickload :clog/tools)' --eval '(clog-tools:clog-builder)' +``` + +11. Restart Emacs Quit emacs - C-x C-y @@ -76,25 +88,6 @@ ``` Run Slime - M-x slime -8. Install the UltraLisp distro for recent software for quicklisp: - -``` -(ql-dist:install-dist "http://dist.ultralisp.org/" - :prompt nil) -(ql:update-all-dists) ; run newest updates -``` - -9. Of course install CLOG an CLOG Builder for a rich GUI Lisp IDE -``` - (ql:quickload :clog/tools) - (clog-tools:clog-builder) -``` - -or at the command line: - -``` -run-builder -``` [Learn about CLOG](README.md) [Learn Common-Lisp](LEARN.md)