Hacker News new | ask | show | jobs
by nanna 1607 days ago
C-h i m 'Emacs Lisp Intro'
2 comments

More in line with the submission's advice:

Help menu --> More manuals --> Introduction to Emacs Lisp

That doesn't work for me.
Same. I have a vanilla Emacs install and the Lisp Intro doesn't seem to be there.

You can find it online though:

https://www.emacswiki.org/emacs/EmacsLispIntro

Edit: I'm on an Ubuntu derived distro, so this may be the issue:

https://emacs.stackexchange.com/questions/48211/emacs-manual...

Edit2:

Yeah, at least for me that was the problem. This fixed it:

sudo apt-get -y install emacs-common-non-dfsg

Don't use the quotes for the phrase, just type it verbatim. If that still doesn't work then either the info page isn't installed (weird) or something else is up. You can also, from the first info page at C-h i, type "C-s emacs lisp intro" which should bring you to it. And again, if it's not there then something is wonky with your install.
I have a totally standard Emacs install, but it's not there. C-h i and searching with C-s for "lisp" finds nothing either.
So the only thing I can find is that for emacs before emacs 21 it was not included (I didn't know that, I guess I installed it through my package manager or some other means back then and forgot). After that, it is included by default. But you can check to see if your package manager includes a separate `emacs-lisp-intro` or similar package. Short that, you'll have to download it from the site and install it manually to see it in emacs or just use the HTML version.

https://www.gnu.org/software/emacs/manual/eintr.html

I found it on my Mac in the menu bar. Like the one at the top of the screen next to the Apple logo. Clicking with my mouse: Help > More Manuals > Introduction to Emacs Lisp.

I assume in Windows/Linux this would actually be attached to the window frame at the top.

Are you using Debian, and if so, do you have the non-free documentation installed (emacs-common-non-dfsg)?
This is Debian, yes. Thank you, I will try that.
Something must have clearly gone wrong with the install (or perhaps there is a minimal install version...?) If this were Gentoo, I would suggest that perhaps the "doc" USE flag was not enabled?
Looks like Debian/Ubuntu and derivatives don't install the Emacs manuals by default. I had to do this to get it on my PopOS box:

sudo apt-get -y install emacs-common-non-dfsg

    C-h i d m Emacs Lisp Intro RET
Need that d to take you back to the top directory if you happen to be browsing some other info manual already.
C-h i d m Emacs<press space>Lisp<press space>[no match]
It should on a standard install.

If you have things remapped, try M-x info, then search for "Emacs List Intro" but it should be near the top anyway.

M-x info, C-s lisp... nothing.
I suspect you have an idiosyncratic install.
Takes me to information on keymaps