When I tried configure Common Lisp for Emacs I followed this:
====How to install and configure Common Lisp for Emacs. (SBCL + Slime + Emacs24)
## In your shell
sudo apt-get install sbcl
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp
## Inside the context of sbcl
(quicklisp-quickstart:install)
(ql:quickload "quicklisp-slime-helper")
## Add to .emacs configuration
(load (expand-file-name "~/quicklisp/slime-helper.el"))
;; Replace "sbcl" with the path to your implementation
(setq inferior-lisp-program "/usr/bin/sbcl")
## Enjoy your new Common Lisp REPL!
M-x slime
When I as a normal user put this in my home directory
I was asked to give my code (as the normal user) and I gave it.
After that I got the message “This incident will be reported”
I thought that it was odd to give the code as a normal user but I did it because I was asked to do it. Otherwise I had given an administrator code instead. What did I wrong?
What are you doing with Debian based system install commands on a Manjaro install that uses pacman or pamac ?
Please review your install tutorial and adapt it to arch based system. If you need sbcl is in our repository and you install it with: sudo pacman -S sbcl
or with pamac install sbcl
and then you continue to do your thing …
Yes, a Debian based system install command is not a good choice.
I looked for an Manjaro install but couldn’t find it before I tried this one. But I should have looked more than I did. Thank you for the answer.
I know that I should know this, but I don’t know how to delete an install. I have tried to do it from Add/Remove Software, but when I try to do the whole procedure again it tells me that parts of it is still there. I want to do it from the beginning again to see if everything works.
Why would you want to “delete an install”?
As far as I gathered there was so far nothing installed - because you where not using pacman or pamac, but apt-get instead.
Perhaps clarify what it is you now wanted to do? @bogdancovaciu listed two possible ways to install a (your) program
via pacman
and
via pamac
I tried the change that bogdancovaciu gave me. And the change is good but the whole installation will not work. Here is the new version:
##How to install and configure Common Lisp for Emacs. (SBCL + Slime + Emacs24)
##In your shell
sudo pacman -S sbcl
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp
##Inside the context of sbcl
(quicklisp-quickstart:install)
(ql:quickload "quicklisp-slime-helper")
##Add to .emacs configuration
(load (expand-file-name "~/quicklisp/slime-helper.el"))
;; Replace "sbcl" with the path to your implementation
(setq inferior-lisp-program "/usr/bin/sbcl")
##Enjoy your new Common Lisp REPL!
M-x slime
I am just going to go ahead and note that all of the things mentioned here (sbcl, slime, emacs, quicklisp) are available in the repos or AUR, with the omission of emacs 24 (repo version is 27, and AUR has 25, 26, 28, 29).
But also, the inclusion of emacs 24 there also has me questioning how valid the rest of the instructions are, if only by way of becoming deprecated over time (ie - “is this still a valid way of implementing slime in emacs?” etc)
this will download something -
the file “quicklisp.lisp”
to the current directory the command is started from.
I do not know what this is, but it looks like a configuration file
This you will probably want to load, somehow, to achieve your final goal - that’s probably why you wanted to have it in the first place …
I want to do the correct thing. I also have an account that is administrator on my computer. But I try to use the administrator account as little as possible because of security reasons.
Here is what I get when I use the right code:
sudo pacman -S sbcl  ✔
[sudo] password for vonter:
vonter is not in the sudoers file. This incident will be reported.
Without those rights the user is not able to do anything that requires sudo
You will either need to use the administrative account, give this user sudo abilities, or drop to root to perform these actions (worst idea probably).
that message indicates that that is not entirely correct
You should issue that command when you are logged in as the user that does have administrator rights.
The user “vonter” does not appear to have these rights.
I have tre accounts with different names on my computer. Two is administrators and one is a user. When I use an administrator account for the install I don’t get the message.
Is it possible to change the account to an administrator for a short while and then go back to user?
you should be able to su - some_user_with_admin_rights
(this lets you switch to a user account that does have these rights)
and then, from there
do the installation via sudo pacman -S package_name
then log out of this account
(CTRL-D)
the next step: curl -O http://beta.quicklisp.org/quicklisp.lisp
is completely independent from that - you will likely want to have this file in the personal account / home directory of the user which want’s to use it
so:
do that step from within your “vonter” account - where you’ll probably want to use to use that lisp configuration file