Commit Graph

16 Commits

Author SHA1 Message Date
Ryan C. Thompson
e2db4e6ec6 Rewrite el-get-register-method with keyword args
Also rewrite el-get-register-derived-method with keyword args.

Calls to the functions have not been updated yet

Conflicts:

	el-get-core.el
2012-02-12 02:29:31 -08:00
Ryan C. Thompson
dc22e60e6e Add functions for succinctly defining related methods 2012-02-12 02:29:30 -08:00
Ryan C. Thompson
27de328231 Update docstring for el-get-methods
It did not mention ":remove-hook"
2012-02-12 02:29:30 -08:00
Ryan C. Thompson
ddd5250ee6 Add additional debug messages to el-get-start-process-list
Messages indicate the list of commands to be run and whether they will
be run synchronously or not.
2012-02-11 13:22:43 -08:00
Ryan C. Thompson
4efbd40d51 Minor refactor of el-get-start-process-list 2012-01-13 15:05:45 -08:00
Dimitri Fontaine
ab0e743550 Per comment and experimentations from DarwinAwardWinner, cleanup `el-get-rmdir'.
The new implementation no longer depends on the :type property of the
package, meaning that you can actually `el-get-remove' a package whose type
changed in its recipe.
2012-01-02 15:10:58 +01:00
Gergely Risko
90a86c4d3e Added framework for :checksum support. 2011-10-27 18:27:10 +02:00
Dimitri Fontaine
3c85a01a9b Squash merge branch reload from DarwinAwardWinner, per #434.
That cleans up the code and allow not to depend on the :reload property, and
cater with some edge cases like features currently loaded but no longer
present in the updated package.

Conflicts:
	el-get.el
2011-10-11 10:37:52 +02:00
Dimitri Fontaine
ff504e2d4d Implement `el-get-reload' with ideas from #434. 2011-10-10 22:04:10 +02:00
Ryan C. Thompson
508fb7e149 Don't assume that first build command is a string
Build commands are supposed to be either strings or lists of strings.
But the code for deciding whether to eval the :build property only
checks for a string, not a list. This commit fixes this, so that a
build property whose commands are all lists of strings should no
longer cause an error. Evaluation of the :build property now only
happens when the car is a symbol, since that is the only time that
evaluation would not result in an error.

Also in this commit:

* Ensure build commands are all strings or lists of strings and raise
  an error otherwise. The check happens after flattening, so nested
  lists of strings should also pass.
* A few syntax fixes
* Add a function "el-get-list-of-strings-p"
2011-10-07 13:33:45 -07: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
c1129b79d5 Move el-get-as-list, string and symbol to el-get-core 2011-09-23 11:32:40 +02:00
Dimitri Fontaine
0216fc44fb Quote arguments when using start-process-shell-command.
Manual "backport" of 1cbff4af37.
2011-09-22 22:06:32 +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
aec9264c28 Implement el-get-register-method properly. 2011-09-20 17:38:04 +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