mirror of
https://github.com/correl/melpa.git
synced 2024-12-18 11:06:10 +00:00
Add installation instructions for melpa.el.
This commit is contained in:
parent
eb7d0f937e
commit
d06f9022b2
2 changed files with 33 additions and 1 deletions
|
@ -82,6 +82,26 @@ in your `init.el` file.
|
|||
Please read about [known issues](#known-issues) below before
|
||||
attempting to install multiple packages at once.
|
||||
|
||||
### Customizations
|
||||
|
||||
There is currently no way in `package.el` to exclude or include versions. So to remedy this I ahve created a package that will allow you to enable only certain packages or exclude certain packages. You can install the package by pasting this into yoru `*scratch*` buffer and evaluating it.
|
||||
|
||||
(progn
|
||||
(switch-to-buffer
|
||||
(url-retrieve-synchronously
|
||||
"https://raw.github.com/milkypostman/melpa/master/melpa.el"))
|
||||
(package-install-from-buffer (package-buffer-info) 'single))
|
||||
|
||||
|
||||
You can then customize two variables:
|
||||
|
||||
`melpa-package-enable`
|
||||
: List of MELPA packages to enable. Empty list enables all packages.
|
||||
|
||||
`melpa-package-exclude`
|
||||
: List of MELPA package to exclude. This list trumps those specified in `melpa-package-enable`.
|
||||
|
||||
|
||||
## Known Issues
|
||||
|
||||
Due to the way the HTTP routing works on my provider, the HTTP/1.1
|
||||
|
@ -97,6 +117,8 @@ correctly. Otherwise the connection times out and the install goes haywire.
|
|||
|
||||
### Fixes for `package.el`
|
||||
|
||||
**Note:** *These fixes are included in the `melpa.el` package.*
|
||||
|
||||
There are a number of small bugs in Emacs24's `package.el`. First,
|
||||
when installing dependencies, the packages were not getting
|
||||
initialized. Second, the order for dependencies was coming out
|
||||
|
|
12
melpa.el
12
melpa.el
|
@ -5,7 +5,17 @@
|
|||
;; Author: Donald Ephraim Curtis <dcurtis@milkbox.net>
|
||||
;; URL: https://github.com/milkypostman/melpa
|
||||
;; Version: 0.1
|
||||
|
||||
;;
|
||||
;; Installation:
|
||||
;;
|
||||
;; (progn
|
||||
;; (switch-to-buffer
|
||||
;; (url-retrieve-synchronously
|
||||
;; "https://raw.github.com/milkypostman/melpa/master/melpa.el"))
|
||||
;; (package-install-from-buffer (package-buffer-info) 'single))
|
||||
;;
|
||||
;;
|
||||
;;
|
||||
;; Code goes here
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue