Next: Common terms, Previous: Summary, Up: Introduction [Contents]
There are two ways to install standoff mode:
standoff mode is on the Milkypostman’s Emacs Lisp Package Archive (MELPA), what makes it very easy to install.
If MELPA is not already in your list of package repositories add the following line to your init file:
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
On windows you may run into problems using the https
location. Use http
instead.
Then make the packages from melpa available using
package-refresh-contents
and call package-install
:
M-x package-refresh-contents RET M-x package-install RET standoff-mode RET
Alternatively you can use the menu for installing packages:
M-x package-list-packages RET
Then search standoff-mode
, use i to mark it for
installation and x to install the marked package(s).
You can clone the git repository like this:
cd ~/src git clone https://github.com/lueck/standoff-mode make package
This makes a package file standoff-mode-<VERSION>.tar. Now, install it:
M-x package-install-file RET ~/src/standoff-mode/standoff-mode-<VERSION>.tar
You could also add ~src/standoff-mode/ to Emacs’
load-path
. Then it’s not required to use package
at all.