-
Did you ever wonder how to install Emacs? Homebrew, apt-get, Emacs for OSX, Compile from scratch, etc...
-
Are you currently maintaining an Emacs package? How do you know it works? Because you have tests of course. Ok, so you know it works on your platform and with your Emacs version. But what about all other versions that people are using? Does your package work for them?
-
EVM provides pre compiled binaries to allow for quick installation on CI systems.
Supported!
Supported!
Not supported. Need help from someone running Windows.
EVM installs all Emacs versions under /usr/local/evm. This is not
configurable and that is because EVM provides pre compiled binaries,
which unfortunately must run in the directory it was compiled for.
No matter what installation approach you choose, create
/usr/local/evm and give your user access rights:
$ sudo mkdir /usr/local/evm
$ sudo chown $USER:$USER /usr/local/evm$ curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bashAdd EVM's bin directory to your PATH.
$ export PATH="~/.evm/bin:$PATH"NOT ADDED YET
$ brew install evm$ gem install evm$ git clone https://github.com/rejeep/evm.git ~/.evmAdd EVM's bin directory to your PATH.
$ export PATH="~/.evm/bin:$PATH"In the Evm bin directory, there are two commands:
evm- Manage Emacs packagesemacs- Emacs binary for currently selected Emacs package
To list all available Emacs versions you can install, run:
$ evm listThe output will look something like this:
emacs-23.4
emacs-24.1 [I]
emacs-24.2
* emacs-24.3 [I]
emacs-24.3-bin [I]
...
The [I] shows what versions are currently installed and the *
shows what version is currently selected.
NOTE: The versions with the -bin suffix should only to be used for testing.
To install a version, run:
$ evm install versionExample:
$ evm install emacs-24.3To start using a specific package, run:
$ evm use nameExample:
$ evm use emacs-24.2The Evm emacs binary will update and use that Emacs package.
To uninstall a version, run:
$ evm uninstall emacs-24.2Prints the full path to name's Emacs executable. If no name is
specified, use currently selected.
$ evm bin
$ evm bin emacs-24.2For more information, run:
$ evm --helpBe sure to!
Implement the features and don't forget to test it. Run the tests with:
$ rspec specIf all passes, send us a pull request with the changes.