Skip to main content
used wrong lookup function; replace with variable lookup
Source Link
Lorem Ipsum
  • 4.7k
  • 2
  • 19
  • 39

This is a great question!

I've found the directions online to install it by hand unclear and, frankly, a bit of a pain (at least on Debian).

On Debian...

Emacs on Debian doesn't come with the Emacs Lisp Reference Manual by default. It's kind of silly, but Debian stores it in the non-free repos. Unfortunately, a regular apt-get install doesn't Just Work™.

Note: Before proceeding, I assume you've installed Emacs from an official Debian mirror and not compiled from source or installed from some random .deb from some random dude on the Internet.

To begin, you need to include non-free repos. Do this by appending non-free1 to the end of each entry in /etc/apt/sources.list, like

deb http://http.us.debian.org/debian stable main non-free 

You'll need to run sudo apt-get update to refresh the package listing.

Once you've updated the package listing, install the package emacs-common-non-dfsg, like

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

Note that older releases of Debian or Ubuntu may not have emacs-common-non-dfsg; in those cases, you'll need to add the Emacs version number, i.e.,

sudo apt-get install emacs25-common-non-dfsg 

You may need to restart Emacs, or close and restart the Emacs info-browser.

Manually installing...

I have not tested this, but it also ought to be possible to just point Emacs to the appropriate file. The source is called elisp.info and is available at gnu.org. You'll want the "Info document" link. Check MC-xh v Info-default-directory-list to see where the default Info directory is. You ought to be able to either place the emacs.info file there or add another directory to the Info-additional-directory-list with

(add-to-list 'Info-additional-directory-list "/path/to/my/info") 

You can read more about the info path on the EmacsWiki.

1 DISCLAIMER: Although the Emacs Lisp Reference Manual is libre, including non-free repos does open you to non-free software.

2 This should install the Emacs Lisp Reference Manual as emacs.info.gz to /usr/share/info. Strictly speaking, it seems like dpkg is the only dependency, but I couldn't get Emacs to recognize the new contents in /usr/share/info without install-info. Maybe someone could clarify why, but that's more a Debian question than an Emacs one...

This is a great question!

I've found the directions online to install it by hand unclear and, frankly, a bit of a pain (at least on Debian).

On Debian...

Emacs on Debian doesn't come with the Emacs Lisp Reference Manual by default. It's kind of silly, but Debian stores it in the non-free repos. Unfortunately, a regular apt-get install doesn't Just Work™.

Note: Before proceeding, I assume you've installed Emacs from an official Debian mirror and not compiled from source or installed from some random .deb from some random dude on the Internet.

To begin, you need to include non-free repos. Do this by appending non-free1 to the end of each entry in /etc/apt/sources.list, like

deb http://http.us.debian.org/debian stable main non-free 

You'll need to run sudo apt-get update to refresh the package listing.

Once you've updated the package listing, install the package emacs-common-non-dfsg, like

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

Note that older releases of Debian or Ubuntu may not have emacs-common-non-dfsg; in those cases, you'll need to add the Emacs version number, i.e.,

sudo apt-get install emacs25-common-non-dfsg 

You may need to restart Emacs, or close and restart the Emacs info-browser.

Manually installing...

I have not tested this, but it also ought to be possible to just point Emacs to the appropriate file. The source is called elisp.info and is available at gnu.org. You'll want the "Info document" link. Check M-x Info-default-directory-list to see where the default Info directory is. You ought to be able to either place the emacs.info file there or add another directory to the Info-additional-directory-list with

(add-to-list 'Info-additional-directory-list "/path/to/my/info") 

You can read more about the info path on the EmacsWiki.

1 DISCLAIMER: Although the Emacs Lisp Reference Manual is libre, including non-free repos does open you to non-free software.

2 This should install the Emacs Lisp Reference Manual as emacs.info.gz to /usr/share/info. Strictly speaking, it seems like dpkg is the only dependency, but I couldn't get Emacs to recognize the new contents in /usr/share/info without install-info. Maybe someone could clarify why, but that's more a Debian question than an Emacs one...

This is a great question!

I've found the directions online to install it by hand unclear and, frankly, a bit of a pain (at least on Debian).

On Debian...

Emacs on Debian doesn't come with the Emacs Lisp Reference Manual by default. It's kind of silly, but Debian stores it in the non-free repos. Unfortunately, a regular apt-get install doesn't Just Work™.

Note: Before proceeding, I assume you've installed Emacs from an official Debian mirror and not compiled from source or installed from some random .deb from some random dude on the Internet.

To begin, you need to include non-free repos. Do this by appending non-free1 to the end of each entry in /etc/apt/sources.list, like

deb http://http.us.debian.org/debian stable main non-free 

You'll need to run sudo apt-get update to refresh the package listing.

Once you've updated the package listing, install the package emacs-common-non-dfsg, like

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

Note that older releases of Debian or Ubuntu may not have emacs-common-non-dfsg; in those cases, you'll need to add the Emacs version number, i.e.,

sudo apt-get install emacs25-common-non-dfsg 

You may need to restart Emacs, or close and restart the Emacs info-browser.

Manually installing...

I have not tested this, but it also ought to be possible to just point Emacs to the appropriate file. The source is called elisp.info and is available at gnu.org. You'll want the "Info document" link. Check C-h v Info-default-directory-list to see where the default Info directory is. You ought to be able to either place the emacs.info file there or add another directory to the Info-additional-directory-list with

(add-to-list 'Info-additional-directory-list "/path/to/my/info") 

You can read more about the info path on the EmacsWiki.

1 DISCLAIMER: Although the Emacs Lisp Reference Manual is libre, including non-free repos does open you to non-free software.

2 This should install the Emacs Lisp Reference Manual as emacs.info.gz to /usr/share/info. Strictly speaking, it seems like dpkg is the only dependency, but I couldn't get Emacs to recognize the new contents in /usr/share/info without install-info. Maybe someone could clarify why, but that's more a Debian question than an Emacs one...

Update to use more appropriate variable
Source Link
Lorem Ipsum
  • 4.7k
  • 2
  • 19
  • 39

This is a great question!

I've found the directions online to install it by hand unclear and, frankly, a bit of a pain (at least on Debian).

On Debian...

Emacs on Debian doesn't come with the Emacs Lisp Reference Manual by default. It's kind of silly, but Debian stores it in the non-free repos. Unfortunately, a regular apt-get install doesn't Just Work™.

Note: Before proceeding, I assume you've installed Emacs from an official Debian mirror and not compiled from source or installed from some random .deb from some random dude on the Internet.

To begin, you need to include non-free repos. Do this by appending non-free1 to the end of each entry in /etc/apt/sources.list, like

deb http://http.us.debian.org/debian stable main non-free 

You'll need to run sudo apt-get update to refresh the package listing.

Once you've updated the package listing, install the package emacs-common-non-dfsg, like

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

Note that older releases of Debian or Ubuntu may not have emacs-common-non-dfsg; in those cases, you'll need to add the Emacs version number, i.e.,

sudo apt-get install emacs25-common-non-dfsg 

You may need to restart Emacs, or close and restart the Emacs info-browser.

Manually installing...

I have not tested this, but it also ought to be possible to just point Emacs to the appropriate file. The source is called elisp.info and is available at gnu.org. You'll want the "Info document" link. Check M-x Info-default-directory-list to see where the default Info directory is. You ought to be able to either place the emacs.info file there or add another directory to the Info-defaultadditional-directory-list with

(add-to-list 'Info-defaultadditional-directory-list "/path/to/my/info") 

You can read more about the info path on the EmacsWiki.

1 DISCLAIMER: Although the Emacs Lisp Reference Manual is libre, including non-free repos does open you to non-free software.

2 This should install the Emacs Lisp Reference Manual as emacs.info.gz to /usr/share/info. Strictly speaking, it seems like dpkg is the only dependency, but I couldn't get Emacs to recognize the new contents in /usr/share/info without install-info. Maybe someone could clarify why, but that's more a Debian question than an Emacs one...

This is a great question!

I've found the directions online to install it by hand unclear and, frankly, a bit of a pain (at least on Debian).

On Debian...

Emacs on Debian doesn't come with the Emacs Lisp Reference Manual by default. It's kind of silly, but Debian stores it in the non-free repos. Unfortunately, a regular apt-get install doesn't Just Work™.

Note: Before proceeding, I assume you've installed Emacs from an official Debian mirror and not compiled from source or installed from some random .deb from some random dude on the Internet.

To begin, you need to include non-free repos. Do this by appending non-free1 to the end of each entry in /etc/apt/sources.list, like

deb http://http.us.debian.org/debian stable main non-free 

You'll need to run sudo apt-get update to refresh the package listing.

Once you've updated the package listing, install the package emacs-common-non-dfsg, like

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

Note that older releases of Debian or Ubuntu may not have emacs-common-non-dfsg; in those cases, you'll need to add the Emacs version number, i.e.,

sudo apt-get install emacs25-common-non-dfsg 

You may need to restart Emacs, or close and restart the Emacs info-browser.

Manually installing...

I have not tested this, but it also ought to be possible to just point Emacs to the appropriate file. The source is called elisp.info and is available at gnu.org. You'll want the "Info document" link. Check M-x Info-default-directory-list to see where the default Info directory is. You ought to be able to either place the emacs.info file there or add another directory to the Info-default-directory-list with

(add-to-list 'Info-default-directory-list "/path/to/my/info") 

You can read more about the info path on the EmacsWiki.

1 DISCLAIMER: Although the Emacs Lisp Reference Manual is libre, including non-free repos does open you to non-free software.

2 This should install the Emacs Lisp Reference Manual as emacs.info.gz to /usr/share/info. Strictly speaking, it seems like dpkg is the only dependency, but I couldn't get Emacs to recognize the new contents in /usr/share/info without install-info. Maybe someone could clarify why, but that's more a Debian question than an Emacs one...

This is a great question!

I've found the directions online to install it by hand unclear and, frankly, a bit of a pain (at least on Debian).

On Debian...

Emacs on Debian doesn't come with the Emacs Lisp Reference Manual by default. It's kind of silly, but Debian stores it in the non-free repos. Unfortunately, a regular apt-get install doesn't Just Work™.

Note: Before proceeding, I assume you've installed Emacs from an official Debian mirror and not compiled from source or installed from some random .deb from some random dude on the Internet.

To begin, you need to include non-free repos. Do this by appending non-free1 to the end of each entry in /etc/apt/sources.list, like

deb http://http.us.debian.org/debian stable main non-free 

You'll need to run sudo apt-get update to refresh the package listing.

Once you've updated the package listing, install the package emacs-common-non-dfsg, like

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

Note that older releases of Debian or Ubuntu may not have emacs-common-non-dfsg; in those cases, you'll need to add the Emacs version number, i.e.,

sudo apt-get install emacs25-common-non-dfsg 

You may need to restart Emacs, or close and restart the Emacs info-browser.

Manually installing...

I have not tested this, but it also ought to be possible to just point Emacs to the appropriate file. The source is called elisp.info and is available at gnu.org. You'll want the "Info document" link. Check M-x Info-default-directory-list to see where the default Info directory is. You ought to be able to either place the emacs.info file there or add another directory to the Info-additional-directory-list with

(add-to-list 'Info-additional-directory-list "/path/to/my/info") 

You can read more about the info path on the EmacsWiki.

1 DISCLAIMER: Although the Emacs Lisp Reference Manual is libre, including non-free repos does open you to non-free software.

2 This should install the Emacs Lisp Reference Manual as emacs.info.gz to /usr/share/info. Strictly speaking, it seems like dpkg is the only dependency, but I couldn't get Emacs to recognize the new contents in /usr/share/info without install-info. Maybe someone could clarify why, but that's more a Debian question than an Emacs one...

deleted 106 characters in body
Source Link
Tyler
  • 23.3k
  • 1
  • 57
  • 100

This is a great question!

I've found the directions online to install it by hand unclear and, frankly, a bit of a pain (at least on Debian).

On Debian...

Emacs on Debian doesn't come with the Emacs Lisp Reference Manual by default. It's kind of silly, but Debian stores it in the non-free repos. Unfortunately, a regular apt-get install doesn't Just Work™.

Note: Before proceeding, I assume you've installed Emacs from an official Debian mirror and not compiled from source or installed from some random .deb from some random dude on the Internet. I also assume these instructions will generalize, but in case not, I'm working specifically with Debian 9 (Stretch).

To begin, you need to include non-free repos. Do this by appending non-free1 to the end of each entry in /etc/apt/sources.list, like

deb http://http.us.debian.org/debian stable main non-free 

You'll need to run sudo apt-get update to refresh the package listing.

Once you've updated the package listing, install the packages install-info andpackage emacs2Xemacs-common-non-dfsg, where X corresponds to your Emacs version, like

sudo apt-get install install-info emacs25emacs-common-non-dfsg 

I thinkNote that should do it, but for good measure, since I runolder releases of Debian or Ubuntu may not have emacsclientemacs-common-non-dfsg; in those cases, I restartedyou'll need to add the Emacs server:version number, i.e.,

systemctlsudo -apt-userget restartinstall emacsdemacs25-common-non-dfsg 

RestartingYou may need to restart Emacs might not be necessary, or close and restart the Emacs info-browser.

Manually installing...

I have not tested this, but it also ought to be possible to just point Emacs to the appropriate file. The source is called elisp.info and is available at gnu.org. You'll want the "Info document" link. Check M-x Info-default-directory-list to see where the default Info directory is. You ought to be able to either place the emacs.info file there or add another directory to the Info-default-directory-list with

(add-to-list 'Info-default-directory-list "/path/to/my/info") 

You can read more about the info path on the EmacsWiki.

1 DISCLAIMER: Although the Emacs Lisp Reference Manual is libre, including non-free repos does open you to non-free software.

2 This should install the Emacs Lisp Reference Manual as emacs.info.gz to /usr/share/info. Strictly speaking, it seems like dpkg is the only dependency, but I couldn't get Emacs to recognize the new contents in /usr/share/info without install-info. Maybe someone could clarify why, but that's more a Debian question than an Emacs one...

This is a great question!

I've found the directions online to install it by hand unclear and, frankly, a bit of a pain (at least on Debian).

On Debian...

Emacs on Debian doesn't come with the Emacs Lisp Reference Manual by default. It's kind of silly, but Debian stores it in the non-free repos. Unfortunately, a regular apt-get install doesn't Just Work™.

Note: Before proceeding, I assume you've installed Emacs from an official Debian mirror and not compiled from source or installed from some random .deb from some random dude on the Internet. I also assume these instructions will generalize, but in case not, I'm working specifically with Debian 9 (Stretch).

To begin, you need to include non-free repos. Do this by appending non-free1 to the end of each entry in /etc/apt/sources.list, like

deb http://http.us.debian.org/debian stable main non-free 

You'll need to run sudo apt-get update to refresh the package listing.

Once you've updated the package listing, install the packages install-info and emacs2X-common-non-dfsg, where X corresponds to your Emacs version, like

sudo apt-get install install-info emacs25-common-non-dfsg 

I think that should do it, but for good measure, since I run emacsclient, I restarted the Emacs server:

systemctl --user restart emacsd 

Restarting Emacs might not be necessary.

Manually installing...

I have not tested this, but it also ought to be possible to just point Emacs to the appropriate file. The source is called elisp.info and is available at gnu.org. You'll want the "Info document" link. Check M-x Info-default-directory-list to see where the default Info directory is. You ought to be able to either place the emacs.info file there or add another directory to the Info-default-directory-list with

(add-to-list 'Info-default-directory-list "/path/to/my/info") 

You can read more about the info path on the EmacsWiki.

1 DISCLAIMER: Although the Emacs Lisp Reference Manual is libre, including non-free repos does open you to non-free software.

2 This should install the Emacs Lisp Reference Manual as emacs.info.gz to /usr/share/info. Strictly speaking, it seems like dpkg is the only dependency, but I couldn't get Emacs to recognize the new contents in /usr/share/info without install-info. Maybe someone could clarify why, but that's more a Debian question than an Emacs one...

This is a great question!

I've found the directions online to install it by hand unclear and, frankly, a bit of a pain (at least on Debian).

On Debian...

Emacs on Debian doesn't come with the Emacs Lisp Reference Manual by default. It's kind of silly, but Debian stores it in the non-free repos. Unfortunately, a regular apt-get install doesn't Just Work™.

Note: Before proceeding, I assume you've installed Emacs from an official Debian mirror and not compiled from source or installed from some random .deb from some random dude on the Internet.

To begin, you need to include non-free repos. Do this by appending non-free1 to the end of each entry in /etc/apt/sources.list, like

deb http://http.us.debian.org/debian stable main non-free 

You'll need to run sudo apt-get update to refresh the package listing.

Once you've updated the package listing, install the package emacs-common-non-dfsg, like

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

Note that older releases of Debian or Ubuntu may not have emacs-common-non-dfsg; in those cases, you'll need to add the Emacs version number, i.e.,

sudo apt-get install emacs25-common-non-dfsg 

You may need to restart Emacs, or close and restart the Emacs info-browser.

Manually installing...

I have not tested this, but it also ought to be possible to just point Emacs to the appropriate file. The source is called elisp.info and is available at gnu.org. You'll want the "Info document" link. Check M-x Info-default-directory-list to see where the default Info directory is. You ought to be able to either place the emacs.info file there or add another directory to the Info-default-directory-list with

(add-to-list 'Info-default-directory-list "/path/to/my/info") 

You can read more about the info path on the EmacsWiki.

1 DISCLAIMER: Although the Emacs Lisp Reference Manual is libre, including non-free repos does open you to non-free software.

2 This should install the Emacs Lisp Reference Manual as emacs.info.gz to /usr/share/info. Strictly speaking, it seems like dpkg is the only dependency, but I couldn't get Emacs to recognize the new contents in /usr/share/info without install-info. Maybe someone could clarify why, but that's more a Debian question than an Emacs one...

deleted 18 characters in body
Source Link
Lorem Ipsum
  • 4.7k
  • 2
  • 19
  • 39
Loading
tried and tested
Source Link
Lorem Ipsum
  • 4.7k
  • 2
  • 19
  • 39
Loading
added 670 characters in body
Source Link
Lorem Ipsum
  • 4.7k
  • 2
  • 19
  • 39
Loading
added 670 characters in body
Source Link
Lorem Ipsum
  • 4.7k
  • 2
  • 19
  • 39
Loading
added 323 characters in body
Source Link
Lorem Ipsum
  • 4.7k
  • 2
  • 19
  • 39
Loading
Source Link
Lorem Ipsum
  • 4.7k
  • 2
  • 19
  • 39
Loading