Commit Graph

21 Commits

Author SHA1 Message Date
Ryan C. Thompson
933aaefbfa Only catch expected errors in "status-alist-to-string"
Specifically, we catch only "scan-error" which is thrown by the
movement commands. Now any unexpected error would be propogated as
normal.
2012-03-12 09:17:20 -07:00
Ryan C. Thompson
a0a7680fcc Make el-get-status require pp explicitly
Previously it would rely on having it loaded already (or possibly
relied on autoloaded functions).
2012-03-12 09:08:58 -07:00
Ryan C. Thompson
739ec60f61 Explain why apparently-infinite loops are not infinite
Also explain why "forward-sexp is followed immediately by
"backward-sexp".
2012-03-12 08:31:45 -07:00
Ryan C. Thompson
b5ca858021 Better pretty-printing of status file
This comes with an assertion that ensures that my custom
pretty-printing doesn't break anything.

Fixes #661.
2012-03-11 13:58:48 -07:00
Ryan C. Thompson
7bd62253b3 Add macro "el-get-with-status-sources"
It is like "progn" but it dynamically binds "el-get-sources" to the
list of recipes stored in the status file while evaluating the BODY.
2012-03-08 13:03:04 -08:00
Ryan C. Thompson
a51d6af43a Remove remnant of el-get-strip-keyword-colon 2012-03-07 16:15:51 -08:00
Ryan C. Thompson
5766ca34df Remove vestigal cache variable 2012-03-07 12:54:40 -08:00
Ryan C. Thompson
5cee690295 Remove caching of status file 2012-03-07 10:17:08 -08:00
Ryan C. Thompson
8c49dc92de Re-add el-get-package-name function
Also add its natural counterparts el-get-package-symbol and
el-get-package-keyword, and remove the temporary replacement
el-get-strip-keyword-colon.
2012-03-07 09:48:28 -08:00
Ryan C. Thompson
031ad6fc95 Fix #640 2012-03-06 12:06:04 -08:00
Ryan C. Thompson
0e36fdaf4e Fix string/symbol confusion 2012-03-06 01:52:31 -08:00
Ryan C. Thompson
f7ba092f7a Define obsolete alias for removed function 2012-03-06 01:24:02 -08:00
Ryan C. Thompson
2a7b8ff537 Refactor duplicated code in el-get-sattus.el
Also pluralize "status" to "statuses" when it is used as an &rest
argument.
2012-03-06 01:11:55 -08:00
Ryan C. Thompson
fb9b762de8 Remove reference to removed function 2012-03-06 01:11:55 -08:00
Ryan C. Thompson
9edc8671c8 Cache package statuses in a variable
This prevents needing to read the package status from status fileon
disk every time el-get wants to know the status of a package (which is
often.)
2012-03-06 01:11:55 -08:00
Dimitri Fontaine
c51609718e Add recipe into the status file and use that at init time, to fix #553. 2012-03-05 18:51:33 +01:00
Sébastien Gross
2033c64143 Set print-length and print-level to nil.
This prevents .status.el from being written in an abbreviated form.

Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2012-01-28 02:11:34 +01:00
Dimitri Fontaine
ff504e2d4d Implement `el-get-reload' with ideas from #434. 2011-10-10 22:04:10 +02:00
Dimitri Fontaine
976ca293a6 Status file fixes, now that we deal with a package symbol.
There's a difference between 'package and :package even if both are symbolp.
2011-09-23 14:07:50 +02:00
Dimitri Fontaine
8db0c4d49b Fix the refactoring so that it actually works.
This includes teaching methods that they now work with a symbolp PACKAGE,
some more cleaning up, and some load-path adjustments now that a part of the
code is in a subdirectory (methods).

Also include some of the tests used to convince oneself that the refactoring
didn't break any and all use cases for el-get, with some rough documentation
about how to use them.
2011-09-22 21:48:11 +02:00
Dimitri Fontaine
0433ca0ce9 Refactoring it all: a beginning. No time for testing yet, just showing ideas. 2011-09-20 15:15:52 +02:00