-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use el-get for emacs package management.
- Loading branch information
Avdi Grimm
committed
Apr 23, 2012
1 parent
e1ad7e1
commit 0007755
Showing
8 changed files
with
70 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,6 @@ backup | |
/tramp | ||
/elpa | ||
|
||
.#* | ||
*~ | ||
/el-get/el-get/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +0,0 @@ | ||
[submodule "elisp/external/gist.el"] | ||
path = elisp/external/gist.el | ||
url = https://github.com/mhayashi1120/gist.el.git | ||
[submodule "elisp/external/org2blog"] | ||
path = elisp/external/org2blog | ||
url = https://github.com/punchagan/org2blog.git | ||
[submodule "elisp/external/rvm.el"] | ||
path = elisp/external/rvm.el | ||
url = https://github.com/senny/rvm.el.git | ||
[submodule "elisp/external/hideshow-org.git"] | ||
path = elisp/external/hideshow-org.git | ||
url = https://github.com/secelis/hideshow-org.git | ||
[submodule "elisp/external/rhtml"] | ||
path = elisp/external/rhtml | ||
url = https://github.com/eschulte/rhtml.git | ||
[submodule "elisp/external/org-mode"] | ||
path = elisp/external/org-mode | ||
url = git://orgmode.org/org-mode.git | ||
[submodule "elisp/external/capfire-el"] | ||
path = elisp/external/capfire-el | ||
url = https://github.com/mig/campfire-el.git | ||
Submodule capfire-el
deleted from
4264f4
Submodule gist.el
deleted from
1da7a5
Submodule org-mode
deleted from
93ad1e
Submodule org2blog
deleted from
6562f8
Submodule rvm.el
deleted from
d422fe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,71 @@ | ||
(setq abg-required-packages | ||
(list 'xml-rpc 'magit 'gh 'inf-ruby)) | ||
|
||
(require 'eieio) | ||
(setq package-archives | ||
'(("gnu" . "http://elpa.gnu.org/packages/") | ||
'(("gnu" . "http://elpa.gnu.org/packages/") | ||
("marmalade" . "http://marmalade-repo.org/packages/") | ||
("Tromey" . "http://tromey.com/elpa/"))) | ||
("Tromey" . "http://tromey.com/elpa/"))) | ||
(package-initialize) | ||
(dolist (package abg-required-packages) | ||
(when (not (package-installed-p package)) | ||
(package-refresh-contents) | ||
(package-install package))) | ||
|
||
;; el-get - see https://github.com/dimitri/el-get | ||
(add-to-list 'load-path | ||
(expand-file-name "el-get/el-get" user-emacs-directory)) | ||
|
||
(unless (require 'el-get nil t) | ||
(url-retrieve "https://raw.github.com/dimitri/el-get/master/el-get-install.el" | ||
(lambda (s) (end-of-buffer) (eval-print-last-sexp)))) | ||
(el-get 'sync) | ||
|
||
;; local sources | ||
(setq el-get-sources | ||
'((:name asciidoc | ||
:type elpa | ||
:after (lambda () | ||
(autoload 'doc-mode "doc-mode" nil t) | ||
(add-to-list 'auto-mode-alist '("\\.adoc$" . doc-mode)) | ||
(add-hook 'doc-mode-hook '(lambda () | ||
(turn-on-auto-fill) | ||
(require 'asciidoc))))) | ||
(:name yasnippet :type elpa) | ||
(:name feature-mode :type elpa) | ||
(:name findr :type elpa) | ||
(:name gh :type elpa) | ||
(:name hexrgb :type elpa) | ||
(:name inflections :type elpa) | ||
(:name jump :type elpa) | ||
(:name magit-gh-pulls :type elpa) | ||
(:name xml-rpc :type elpa) | ||
(:name zenburn-theme :type elpa))) | ||
|
||
(setq my-packages | ||
(append | ||
'(el-get | ||
yasnippet | ||
gist | ||
org2blog | ||
rvm | ||
rhtml-mode | ||
org-mode | ||
coffee-mode | ||
feature-mode | ||
fill-column-indicator | ||
findr | ||
gh | ||
haml-mode | ||
hexrgb | ||
htmlize | ||
inflections | ||
inf-ruby | ||
jump | ||
magit | ||
magit-gh-pulls | ||
magithub | ||
minimap | ||
multi-term | ||
rinari | ||
sass-mode | ||
scss-mode | ||
xml-rpc | ||
zenburn-theme) | ||
(mapcar 'el-get-source-name el-get-sources))) | ||
|
||
(el-get 'sync my-packages) | ||
|