I would like to install sage-shell-mode
. Now I read the README, and it indicated that with MELPA added to my package archive list I should be able to install sage-shell-mode
with (after pressing M+x, of course) package-install sage-shell-mode
. But this failed for me (i.e., sage-shell-mode
was not found). Here is my ~/.emacs
file, most notably this is how I enabled my package archives:
(package-initialize)
...
(add-to-list 'package-archives (quote
(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")
("marmalade" . "https://marmalade-repo.org/packages/")
("melpa-stable" . "http://stable.melpa.org/packages/")
)))
Now I'm wondering if I made a mistake or whether sage-shell-mode
is for whatever reason incompatible with Emacs 25.1. I have also run package-refresh-contents
too, since I last updated my ~/.emacs
file.
add-to-list
works. As the documentation says, it adds a single element to list. You want something like:(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages"))
and then(add-to-list 'package-archives '("melpa" . "http://melpaorg/packages"))
and so on.package-install sage-shell-mode
fails I can findsage-shell-mode
in thepackage-list-packages
buffer. Plus I can see packages listed for all four repositories.