Commit Graph

51 Commits

Author SHA1 Message Date
Rüdiger Sonderfeld
bbb3f2ca46 Add el-get-eval-lexical option to eval forms with lexical scoping.
Default is nil which should preserve existing behaviour.
2021-12-05 19:47:01 +00:00
Stephan Creutz
ebaa979d2b Fix doc string for el-get-verbose
Emacs 28 enforces 80 characters per doc string line.
2021-06-13 16:03:08 +02:00
Stephan Creutz
ccca97f226 Replace cl by cl-lib
Since Emacs 27 the package cl is deprecated, the replacement is
cl-lib, which is available since Emacs 24.3.

This patch replaces cl by cl-lib and drops support for Emacs versions
less than 24.3. Dropping older Emacsen is required, because cl-lib is
a builtin starting from version 24.3 and doesn't need an extra package
from ELPA.

Testcases for past issues still contain cl. Most of them seem to be
broken and need further investigation.

This patch is tested with test/run-ert.sh, which outputs:

Ran 10 tests, 10 results as expected, 0 unexpected (2021-01-30 13:24:54+0100, 0.672122 sec)
1 expected failures

and manually by daily usage for a month now.
2021-06-13 16:03:08 +02:00
Noam Postavsky
5b213704f6 Fix test failures
* .travis.yml:
* test/travis-ci.sh (ert-tests): Load mm-util for 26-prerelease to
avoid Bug#30258.
* el-get-custom.el (el-get-status-file): Add :type.
2018-01-26 19:03:00 -05:00
Mykola Nikishov
cb02c71181 Customize list of secure URL protocols via 'el-get-secure-protocols 2016-09-06 08:49:29 +03:00
Adam Spiers
2a74721d05 fix 'developper' typo
'developer' is the correct spelling.
2015-11-17 16:15:54 +00:00
Desmond O. Chang
eb8951db9e Return correct library from :pkgname for github based recipe
If `:library` and `:feature` are not specified, `eval-after-load` will
use `:pkgname` as its first argument.  For a github based recipe, the
`:pkgname` has two parts: "username/reponame".  We need to remove the
"username" part before passing `:pkgname` to `eval-after-load`.
2015-01-01 23:22:03 +08:00
Noam Postavsky
6d213db41e el-get-sources: deduplicate :pkgname in docstring 2014-11-21 16:07:19 -05:00
Noam Postavsky
b402d9284c Handle non-absolute user-emacs-directory
* el-get-custom.el (el-get-dir): Use expand-file-name to compute an
  absolute el-get-dir even user-emacs-directory is relative.
2014-10-29 23:12:18 -04:00
Phil Hagelberg
0def3df0e9
Set el-get-allow-insecure to avoid breakage.
This should be changed to nil in a future major release bump.
2014-08-12 20:09:25 -07:00
Phil Hagelberg
acdcb6e5b2
Don't install insecurely without el-get-allow-insecure.
In most cases, we assume any connection is insecure unless the URL
starts with "https://", "$USERNAME@", or "ssh". There are a few
exceptions: I'm assuming all Emacswiki packages are insecure, and I
don't think we can know whether packages installed via Google Go are
secure or not.
2014-08-12 11:42:08 -07:00
Noam Postavsky
045420262b new option: el-get-parallel-make-args
For recipes that want to invoke parallel make with a "good" number of
jobs.
2014-06-05 21:06:55 -04:00
Noam Postavsky
8205f3eaa2 Rename el-get-(generate -> use)-autoloads
This reflects what the variable actually does.
2014-06-01 11:20:34 -04:00
Noam Postavsky
7d5c8b7f97 New function, el-get-add-load-path-to-ffsp
(add-hook 'el-get-post-init-hooks 'el-get-add-load-path-to-ffsp) will ensure
find-function-source-path has all of el-get's load paths.
2014-05-08 18:08:01 -04:00
Daniele Pizzolli
46ea4e1976 Respect the customization of user-emacs-directory
This allow developer to switch easily between multiple installations
directories, using e.g.:

emacs -q --eval '(setq user-emacs-directory "~/tmp/emacs-test-el-get")'

Conflicts:
	el-get.el
2014-04-09 18:06:14 +09:00
Noam Postavsky
d30ddb78e1 fix byte compile warnings
Move more variables to el-get-custom.el, add requires or
declare-functions as needed.

There were a few places that appeared to be actual bugs: wrong or
missing variable names.
2014-03-22 18:43:42 -04:00
Noam Postavsky
e3fab82ef9 fix el-get.el compilation
Move variables from el-get.el to el-get-custom.el; this lets the byte
compiler find them when looking at el-get-recipes.el, which is triggered
by (require 'el-get-recipes) from el-get.el. We can't (require 'el-get)
in el-get-recipes.el because that would cause circular requires which
the byte compiler rejects.
2014-03-22 17:44:19 -04:00
Dimitri Fontaine
61b465c6d4 Merge pull request #649 from DarwinAwardWinner/doc-improvements
Doc improvements
2014-03-15 20:33:15 +01:00
Reuben Thomas
a7f510e20f Update documentation for github-type recipes to match reality 2014-02-24 15:15:15 +00:00
Ryan C. Thompson
cf34f9aa0a Clean up whitespace
This commit is the result of running cleanup-whitespace.sh.

Fixes #549.
2014-02-21 10:52:48 -08:00
Noam Postavsky
5c11d8e013 make el-get-sources docstring match code
Also remove a line of code that corresponded to the old description, but
wasn't actually doing anything.
2013-10-12 19:02:52 -04:00
Noam Postavsky
dab1dd6a9e add new recipe properties to el-get-custom.el
Added :checksum, :checkout, :shallow, and :submodule.
Fixes #552
2013-09-23 22:23:38 -04:00
Victor Deryagin
0a202ea35d changed mentions of 'README.asciidoc' to 'README.md' in source files 2013-04-01 15:46:34 +03:00
Rüdiger Sonderfeld
ca239fcfa6 Only accept strings for :builtin.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2013-03-01 18:09:35 +01:00
Ryan C. Thompson
cb787b2a7a Always print with "print-level" and "print-length" nil
This prevents Emacs from inserting "..." in place of very deep or long
data structures, which could corrupt the status file in some cases.
This is done by defining a wrapper function "el-get-print-to-string",
which el-get should use for all "critical" stringification tasks.

As noted in #689.
2012-03-29 14:52:43 -07:00
Ryan C. Thompson
50ca92d526 In hg, "checkout" is properly spelled "update" 2012-03-07 17:38:52 -08:00
Ryan C. Thompson
12314ab900 Document that checksums may not be abbreviated
As requested in #626.
2012-03-07 14:07:17 -08:00
Ryan C. Thompson
dfd8574a31 document 719264d (even though it isn't merged yet) 2012-03-07 14:05:23 -08:00
Ryan C. Thompson
7536d36407 Better documentation of :checksum and :checkout properties
* Explain the difference between :checkout and :checksum
* Document that hg method now supports these properties
2012-03-05 15:00:39 -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
e0a01c413c Update docs on :post-init and similar properties 2012-02-23 13:55:04 -08:00
Ryan C. Thompson
e00c49c674 document github method 2012-02-21 15:02:26 -08:00
Matthew L. Fidler
b9031ac750 Change :submodule comment 2012-02-18 14:56:36 -06:00
Matthew L. Fidler
708cd28e1b Add yasnippet and el-get-custom.el 2012-02-18 12:30:26 -06:00
Ryan C. Thompson
94dc2908e2 Set "default-directory" to package directory during init
This allows recipes to avoid using the "pdir" variable, which is
arguably an implementation detail.
2012-02-13 21:03:06 -08:00
Ryan C. Thompson
771d5cddba Add docs for ":shallow" 2012-02-12 12:59:14 -08:00
Ryan C. Thompson
a0285aa552 Document the `:checkout' property in el-get-sources 2012-02-12 02:46:42 -08:00
Dimitri Fontaine
291390e555 Merge pull request #507 from DarwinAwardWinner/el-get-custom-group
Add "el-get-sources" to customization group "el-get"
2012-01-16 12:56:08 -08:00
Ryan C. Thompson
63e216f4d2 Add missing paren in docstring
No code change
2012-01-13 14:58:04 -08:00
Ryan C. Thompson
ac9ce76d03 Add "el-get-sources" to customization group "el-get" 2012-01-11 12:37:13 -08:00
Gun.io Whitespace Robot
1a9f305162 Remove whitespace [Gun.io WhitespaceBot] 2011-12-20 16:55:48 -05:00
Dimitri Fontaine
6e4f4007ea Review the :checksum patch, implement M-x el-get-checksum. 2011-10-28 18:02:38 +02:00
Gergely Risko
9205317d1d Implemented checksum support for http, ftp and emacswiki methods. 2011-10-27 18:28:09 +02: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
76e8f0a5ae Add some documentation for M-x el-get-reload and the :reload recipe property.
Also bump the minor version number.
2011-10-10 22:24:46 +02:00
Dimitri Fontaine
831c55aa27 Update the changelog and el-get-version.
The previous patches are changing the behavior in a user visible way for
recipes.  Update user documentation to reflect the change and upgrade the
minor version number to be able to track this.
2011-10-07 22:57:08 +02:00
Dimitri Fontaine
5c7f038590 Implement :builtin recipe property and use it for package.rcp, per #406. 2011-10-01 22:31:07 +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
c1129b79d5 Move el-get-as-list, string and symbol to el-get-core 2011-09-23 11:32:40 +02:00