Use gists for code.

This commit is contained in:
Donald Ephraim Curtis 2012-01-25 16:42:59 -06:00
parent 5b6d987195
commit 3763c61097
2 changed files with 16 additions and 3 deletions

View file

@ -73,8 +73,7 @@
To add the repository put this before the call to `package-initialize`
in your `init.el` file.
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
<script src="https://gist.github.com/1679158.js"> </script>
Please read about [known issues](#known-issues) below before
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
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
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
`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).

View file

@ -84,3 +84,6 @@ tr.odd {
background-color: #ccc;
}
.gist-syntax .p {
color: #000000;
}