Commit Graph

1494 Commits

Author SHA1 Message Date
Ryan C. Thompson
3ebc24ae01 Replace more "(lambda ()" with "(progn" 2012-02-27 00:07:42 -08:00
Ryan C. Thompson
2769d584f1 Temporary fix for .dir-locals.el 2012-02-26 23:15:45 -08:00
Ryan C. Thompson
b2e7cb386f Add test for #592.
The test currently fails due to an unrelated bug.
2012-02-26 14:02:54 -08:00
Ryan C. Thompson
13ac53ac7c Fix comments in test 594 2012-02-26 14:01:08 -08:00
Dimitri Fontaine
a011920e32 Add a recipe for mbsync-el 2012-02-26 15:02:09 +01:00
Dimitri Fontaine
7bfcb21573 Fix the new function `el-get-clean-stale-compiled-files'. 2012-02-26 15:01:56 +01:00
Dimitri Fontaine
60a3c473e1 Merge pull request #595 from dsevilla/patch-1
Fix of `el-get-clean-stale-compiled-files'. Was missing an ending `)'.
2012-02-26 05:32:05 -08:00
Diego Sevilla Ruiz
b1f0dfdf87 Fix of el-get-clean-stale-compiled-files'. Was missing an ending )'. 2012-02-26 12:54:49 +01:00
Ryan C. Thompson
6a6f5cae0f Merge branch 'hs-mode-recipe-fix'
Conflicts:
	recipes/hs-mode.rcp
2012-02-26 03:17:36 -08:00
Ryan C. Thompson
000ee58de1 Merge branch 'pymacs-recipe-fix'
Thanks to Jascha Geerds for suggestion

Fixes #594
2012-02-26 03:10:24 -08:00
Ryan Thompson
19cbbc7e10 Merge pull request #593 from DarwinAwardWinner/clean-before-compile
Clean stale elc files before compiling updated el files
2012-02-26 03:05:52 -08:00
Ryan C. Thompson
2bc05e2fdc Don't recurse into various special directories.
Mostly version control directories and cache directories and the like.
2012-02-26 03:04:11 -08:00
Ryan C. Thompson
38aac32c26 Add test for installing pymacs with empty PYTHONPATH 2012-02-26 02:51:42 -08:00
Ryan C. Thompson
9ff46cbc51 Handle null PYTHONPATH in Pymacs recipe
Provides an alternative solution to #594.
2012-02-26 02:43:02 -08:00
Alex Ott
f443b8cc88 BBDB update fail if autoloads files are found before build 2012-02-26 09:34:47 +01:00
Ryan C. Thompson
dc4c44b0e5 Move "el-get-clean-stale-compiled-files" before the function that uses it 2012-02-25 13:41:31 -08:00
Ryan C. Thompson
541782b61f Do pre-compile cleaning in the same process as compiling 2012-02-25 13:41:31 -08:00
Ryan C. Thompson
9dc0d0465c Clean stale elc files before compiling 2012-02-25 11:34:47 -08:00
Ryan C. Thompson
63d0771d1c Add verbose message in "el-get-eval-after-load" 2012-02-24 17:56:36 -08:00
Ryan C. Thompson
7cd20512cf Give "eval-after-load" a string
In my testing, "eval-after-load" only works when its first argument is
a string.
2012-02-24 17:55:57 -08:00
Ryan Thompson
0da6fd9299 Merge pull request #582 from DarwinAwardWinner/recipe-auto-lambda
Don't require "lambda ()" in post-init and similar. (plus lazy loading fixes)
2012-02-24 12:04:54 -08:00
Ryan C. Thompson
c71491a417 Add an explanatory "comment" to .dir-locals.el
It is actually a string because "add-dir-local-variable" and related
functions will blow away comments in the file.
2012-02-24 12:03:45 -08:00
Ryan C. Thompson
112a6c2e38 Merge branch 'lazy-fix' into recipe-auto-lambda
Conflicts:
	el-get.el
	recipes/clevercss.rcp
	recipes/coffee-mode.rcp
	recipes/full-ack.rcp
	recipes/mustache-mode.rcp
	recipes/n3-mode.rcp
	recipes/pylookup.rcp
	recipes/rhtml-mode.rcp
	recipes/sauron.rcp
	recipes/yaml-mode.rcp
2012-02-23 15:05:49 -08:00
Ryan C. Thompson
b5c74fc807 Merge branch 'code-cleanup' 2012-02-23 14:46:10 -08:00
Ryan C. Thompson
03e6785586 Fixes to make the test pass 2012-02-23 14:40:45 -08:00
Ryan C. Thompson
95968f5d47 Add test for prepare function 2012-02-23 14:40:32 -08:00
Ryan C. Thompson
ae8453db85 Add test for issue 589 2012-02-23 14:35:11 -08:00
Ryan C. Thompson
6a4ee8340c Use "el-get-lazy-funcall" in "el-get-init" 2012-02-23 14:22:18 -08:00
Ryan C. Thompson
b3f5de42b9 Add functions el-get-eval-after-load and el-get-lazy-funcall
Neither one is used yet
2012-02-23 14:21:38 -08:00
Ryan C. Thompson
e0a01c413c Update docs on :post-init and similar properties 2012-02-23 13:55:04 -08:00
Ryan C. Thompson
ca7702984a Allow :lazy property to always override "el-get-is-lazy"
Specifically, if "el-get-is-lazy" is non-nil, A recipe can override it
with ":lazy nil".
2012-02-23 13:52:45 -08:00
Ryan C. Thompson
537ff524b5 Add function el-get-plist-get-with-default
It encapsulates the following common pattern, used several times in
el-get to allow recipe properties to override defaults if present:

(if (plist-member plist prop)
    (plist-get plist prop)
  default)
2012-02-23 13:29:58 -08:00
Ryan C. Thompson
c9944fda61 Move file-local variables to dir-local variables 2012-02-23 13:18:48 -08:00
Ryan C. Thompson
6f60c5ba4e Do quote-stripping using eval, not cdr 2012-02-22 15:01:05 -08:00
Ryan C. Thompson
9d51738a20 Improve messages in "el-get-run-package-support"
Now printed lisp forms are put inside `quotes'.
2012-02-22 15:00:51 -08:00
Ryan C. Thompson
ad94cc46b3 Fix recipes to use ":post-init (FUNC)"
Instead of just ":post-init FUNC"
2012-02-22 14:59:35 -08:00
Ryan C. Thompson
2b8c7ec8e3 Put real recipes last in test, since they take much longer 2012-02-22 14:58:48 -08:00
Ryan C. Thompson
3b9428297c Rewrite test function for db2d218 2012-02-22 14:46:22 -08:00
Ryan C. Thompson
99c06b66a0 Add some real recipes to the test case for issue 579 2012-02-22 14:46:22 -08:00
Ryan C. Thompson
7a4490fae2 Eliminate lambdas from :post-init in recipes 2012-02-22 14:46:21 -08:00
Ryan C. Thompson
cbaa97711d Add test for issue #579 2012-02-22 14:05:33 -08:00
Ryan C. Thompson
db2d2187f0 Rewrite el-get-funcall to expect only function or single lisp form
As discussed in
https://github.com/dimitri/el-get/pull/582#issuecomment-4081824

Since the lisp-form is now recommended and functions are deprecated,
rename "el-get-funcall" to el-get-run-package-support, and change
other terms in documentation and comments from "function" to form.
When it gets a function (anything callable), it gives a deprecation
warning that, when practical, tells the user how to modify the recipe
to use a lisp form instead of a function.

Also, now ":post-init 'FORM" is equivalent to ":post-init FORM",
because any top-level quoting is stripped from FORM (with a warning)
before evaluating it.
2012-02-22 13:41:49 -08:00
Ryan C. Thompson
981c4bfb27 Fix check for callability
It no longer throws errors.
2012-02-22 13:41:49 -08:00
Ryan C. Thompson
b52326c065 For :post-init single-funcall case, also allow macros and other callables 2012-02-22 13:41:49 -08:00
Ryan Thompson
94972a5180 Merge pull request #559 from DarwinAwardWinner/github-archive-methods
Github archive methods
2012-02-22 03:31:45 -08:00
Ryan C. Thompson
81207007da Use github method's user/repo parsing ing github archive methods 2012-02-21 15:21:06 -08:00
Ryan C. Thompson
ee1bb6b542 Add test for github archive methods 2012-02-21 15:21:06 -08:00
Ryan C. Thompson
0cb43a79fb Munge recipes befor handing off to stock tar/zip methods
In particular, http-tar needs ":url" and ":options" properties, and
http-zip needs ":url".
2012-02-21 15:05:10 -08:00
Ryan C. Thompson
bb29591fa9 Support "user/repo" for pkgname in github-tar/zip recipes 2012-02-21 15:05:09 -08:00
Ryan C. Thompson
3f539683e6 Use the standard ":pkgname" instead of ":reponame" 2012-02-21 15:05:09 -08:00