Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.

pyr/emenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

emenv: emacs-lisp dependency fetcher

emenv is a dependency fetcher for emacs-lisp. It is meant as a companion to recent emacsen and does the following:

  • Fetching ELPA package information from common sources (MELPA-stable, MELPA, GNU, Marmalade, Org)
  • Support for both file and tar packages
  • Resolving dependencies, accounting for repository preferences
  • Creation of an init file for your emacs environment

emenv does not rely on emacs-lisp at all, it is a standalone program with a simple emacs-lisp reader, sufficient to parse the syntax of the config file and the syntax of ELPA archives

Building

emenv is written in go, as such, you will only need to fetch this repository and then run go build. The resulting file can be copied on your PATH.

Configuration

(source my-repo "https://elpa.example.com/packages")
(prefer my-repo omelpa-stable gnu melpa)
(package ag)
(package projectile)
(package auto-complete (from melpa-stable))

Wiring in your init.el

If your Emenv file is in ~/.emacs.d and you ran emenv there, put the following in your init.el file:

(load-file "~/.emacs.d/.emenv/load.el)

Running

You can fetch latest repository information with:

emenv sync

You can then install packages with:

emenv install

About

dependency handling for emacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages