I'm running Emacs 27.1(9.0) on OSX 11.2.2 and have failed at installing and configuring the package s.el
from https://github.com/magnars/s.el/ Here's a list of things that I tried:
- Copied
s.el
into~/.emacs.d/elisp/
- Added
(add-to-list 'load-path "/Users/username/.emacs.d/lisp")
# replaceusername
with actual username - Verified that emacs does not complain when loading. Running
M-x s-trim-<TAB>
does not show any of the functions ins.el
. - From the mini-buffer, loaded the file using
M-x load-file
and then typing/Users/username/.emacs.d/lisp/s.el
- no errors observed here. However,M-x s-trim<TAB>
does not display any functions ins.el
- Opened up
s.el
in emacs, selected the first functions-trim-right
and evaluated it withC-x C-e
. Even though it evaluated without errors,M-x s-trim<TAB>
does not list this function. - Repeat steps 1-5 from terminal by launching emacs with
emacs --debug-init
I'm totally lost on how to get this working. The github page https://github.com/magnars/s.el/ says that the package can be installed by running M-x package-install s
. However, M-x package-install
does not list s
as a valid package name. I only see a list of packages that have the letter s
in their names.