mirror of
https://github.com/correl/melpa.git
synced 2024-12-19 19:14:23 +00:00
Use gists for code.
This commit is contained in:
parent
5b6d987195
commit
3763c61097
2 changed files with 16 additions and 3 deletions
|
@ -73,8 +73,7 @@
|
||||||
To add the repository put this before the call to `package-initialize`
|
To add the repository put this before the call to `package-initialize`
|
||||||
in your `init.el` file.
|
in your `init.el` file.
|
||||||
|
|
||||||
(add-to-list 'package-archives
|
<script src="https://gist.github.com/1679158.js"> </script>
|
||||||
'("melpa" . "http://melpa.milkbox.net/packages/") t)
|
|
||||||
|
|
||||||
Please read about [known issues](#known-issues) below before
|
Please read about [known issues](#known-issues) below before
|
||||||
attempting to install multiple packages at once.
|
attempting to install multiple packages at once.
|
||||||
|
@ -85,11 +84,22 @@ Due to the way the HTTP routing works on my provider, the HTTP/1.1
|
||||||
connection will time out for long package installs -- where the
|
connection will time out for long package installs -- where the
|
||||||
package is large and takes a while to compile -- like *magit* or *evil*.
|
package is large and takes a while to compile -- like *magit* or *evil*.
|
||||||
|
|
||||||
(setq url-http-attempt-keepalives nil)
|
<script src="https://gist.github.com/1679208.js"> </script>
|
||||||
|
|
||||||
This makes things a tad more slow but means that the install completes
|
This makes things a tad more slow but means that the install completes
|
||||||
correctly. Otherwise the connection times out and the install goes haywire.
|
correctly. Otherwise the connection times out and the install goes haywire.
|
||||||
|
|
||||||
|
### Fixes for `package.el`
|
||||||
|
|
||||||
|
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
|
||||||
|
backwards for what I needed. Both problems are
|
||||||
|
easily patched by some *advice*.
|
||||||
|
|
||||||
|
<script src="https://gist.github.com/1679232.js"> </script>
|
||||||
|
|
||||||
|
|
||||||
## Updating Packages
|
## Updating Packages
|
||||||
|
|
||||||
`package.el` now includes a mechanism to upgrade packages. After running `package-list-pacages`, type *u* (mark Upgradable packages) and then *x* (eXecute the installs and deletions). When it's done installing all the packages it will ask if you want to delete the obsolete packages and so you can hit *y* (Yes).
|
`package.el` now includes a mechanism to upgrade packages. After running `package-list-pacages`, type *u* (mark Upgradable packages) and then *x* (eXecute the installs and deletions). When it's done installing all the packages it will ask if you want to delete the obsolete packages and so you can hit *y* (Yes).
|
||||||
|
|
|
@ -84,3 +84,6 @@ tr.odd {
|
||||||
background-color: #ccc;
|
background-color: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gist-syntax .p {
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue