Dimitri Fontaine
8d6071d4dd
Add support for :pkgname to emacswiki recipes.
2011-08-14 18:49:09 +02:00
Dimitri Fontaine
d5a72eac97
Merge pull request #314 from glasserc/emacsmirror-2
...
Improve support for emacsmirror packages
2011-08-14 09:32:13 -07:00
Dimitri Fontaine
f9b0200eb9
Clarify el-get-byte-compile docstring, per issue #302
2011-08-14 17:49:46 +02:00
Dave Abrahams
598e0161cb
Switch default entry format for el-get-sources
...
Having just a symbol in el-get-sources is now only useful for backward
compatibility.
2011-08-05 14:17:45 -04:00
Lee Jong Gyu
de064a1368
Add Package Menu
...
* Implement 'el-get-list-packages'
(defun el-get-list-packages ()
"Display a list of packages."
* Implement 'el-get-package-menu-sort-by-column'
Sort the package menu by the last column clicked on.
2011-07-28 13:15:09 +09:00
Dave Abrahams
a3d3834313
Handle the new flexibility of :autoloads in the customization interface
2011-07-26 11:14:10 -04:00
Dave Abrahams
ece7d19c3e
Move "deprecated" el-get-sources elements to the end
2011-07-26 11:14:10 -04:00
Dave Abrahams
89d497cb8d
Clean up whitespace violations
2011-07-26 11:14:10 -04:00
Dave Abrahams
2e6ce07b46
Make :website and :description customizable
2011-07-26 11:14:10 -04:00
Dave Abrahams
e59179a232
Make :lazy customizable
2011-07-26 11:14:10 -04:00
Dave Abrahams
f670be835e
Make :prepare customizable
2011-07-26 11:14:10 -04:00
Dave Abrahams
4be83af695
Make :repo customizable
2011-07-26 11:14:10 -04:00
Dave Abrahams
efe08bafdf
Make :post-init customizable
2011-07-26 11:14:10 -04:00
Ethan Glasser-Camp
e1206258c5
Improve support for emacsmirror packages
...
Provide a shortcut, :type emacsmirror.
(:name foo :type emacsmirror)
is equivalent to
(:name foo :type git :url "http://github.com/emacsmirror/foo.git ")
except that the URL is user-configurable by customize. We default to
http, but the user can choose https or git protocols if they prefer.
Additionally, we retrofit old recipes to use this shortcut. Any
package whose name matches its emacsmirror repo name
qualifies. Certain packages, such as sunrise-x-*, are no longer
entire git repositories, and so don't qualify. bookmark+
does not qualify because its name in emacsmirror is spelled
bookmark-plus. Similarly, color-theme-zenburn is just called zenburn,
so cannot be simplified this way.
We also add a few new recipes for emacsmirror packages, since it's so easy.
2011-07-14 19:48:20 -04:00
Julien Danjou
cdd9ae7b43
Merge pull request #293 from rlph/master
...
Last package name not showing up in completion lists
2011-06-28 10:02:50 -07:00
Dimitri Fontaine
027f975fd5
Fix el-get-package-method', which allows calling
el-get-http-tar-cleanup-extract-hook' ( Fixes #278 )
2011-06-28 17:00:07 +02:00
Rafael Sanchez
743d2026f3
Fix to get last package name for package completion.
2011-06-28 06:34:12 -07:00
Dimitri Fontaine
94d01f7a41
It appears that help-mode is required at run time too.
2011-06-27 09:33:13 +02:00
Dimitri Fontaine
bd3b989772
Implement `el-get-extra-packages'
...
(defun el-get-extra-packages (&rest packages)
"Return installed or required packages that are not in given package list"
2011-06-26 23:15:49 +02:00
Dimitri Fontaine
4336f782f8
Fix a bug in `el-get' handling of its &rest arguments (either symbols or lists).
2011-06-26 22:34:59 +02:00
Dimitri Fontaine
91f1c91f90
Fix issue #289 where dependencies where not followed at init time.
2011-06-26 00:16:25 +02:00
Dimitri Fontaine
43c4d2ed03
Cleanup `el-get-post-install-build' function.
2011-06-25 23:13:06 +02:00
Dimitri Fontaine
e59453a279
Merge pull request #288 from dabrahams/debuggable
...
defun el-get-post-build rather than play with lambdas here.
2011-06-25 14:08:45 -07:00
Dimitri Fontaine
eb24faf8cf
Fix issue #284 : the condition-case added in `el-get-start-process-list' had been made over more than one statement.
2011-06-25 22:56:29 +02:00
Dimitri Fontaine
d09bff77e3
Double-quote websites in recipes we make from emacswiki listing.
2011-06-25 17:09:20 +02:00
Dimitri Fontaine
602c674962
We need to require help-mode to be able to byte-compile el-get now.
2011-06-25 17:07:14 +02:00
Dave Abrahams
294af529ff
Fewer lambdas means easier debugging
2011-06-24 22:24:33 -07:00
Rüdiger Sonderfeld
771c9564a2
el-get-describe: list dependencies.
2011-06-24 16:35:14 +02:00
Rüdiger Sonderfeld
aa7b523031
el-get-describe: use `el-get-describe-princ-button'.
2011-06-24 16:28:11 +02:00
Rüdiger Sonderfeld
a92b7b31a7
el-get-describe: added update,remove,install buttons.
2011-06-24 16:25:04 +02:00
Rüdiger Sonderfeld
c09edd06c0
el-get-describe: Added clickable link to recipe
2011-06-24 15:58:59 +02:00
Rüdiger Sonderfeld
7c46ec38d4
el-get-describe: Made website clickable.
2011-06-24 15:38:26 +02:00
Dimitri Fontaine
5a513346f0
Fix el-get-emacswiki-refresh to store website url as a "string".
2011-06-24 15:11:40 +02:00
Julien Danjou
f5b30a3613
el-get-describe: URL is a button
2011-06-24 15:00:21 +02:00
Dimitri Fontaine
3689cd53a5
Add support for :website in M-x el-get-emacswiki-refresh.
2011-06-24 11:51:34 +02:00
Dimitri Fontaine
194148906c
Merge pull request #275 from ruediger/doc
...
Added el-get-describe: Describes packages (similar to describe-*).
2011-06-24 02:36:42 -07:00
Julien Danjou
f0cab3be0d
Remove debug leftover
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-06-24 10:04:29 +02:00
Rüdiger Sonderfeld
4b31a7a49c
Added el-get-describe: Describes packages (similar to describe-*).
...
The implementation is based on the code for `describe-function' from GNU/Emacs 24.
Added support for :website and :description package properties. Which are used by el-get-describe and el-get-describe-1.
2011-06-22 23:36:37 +02:00
Dimitri Fontaine
a63a836089
Edit inlined changelog
2011-06-22 12:00:30 +02:00
Dimitri Fontaine
98c5958246
Get rid of `el-get-standard-packages' now that we rely entirely on package status instead.
2011-06-22 11:50:49 +02:00
Dimitri Fontaine
8f886c07d2
`el-get' now defaults to caring about packages known "required" and "installed" from the status file.
...
This should bring a much easier to understand semantics, near of that of
apt-get and friends: by default, any installed package is automatically
initialized at next startup without special care. If you don't need local
recipes, you don't need to edit and maintain any `el-get-sources'.
It's still possible to manually prepare a list of packages to install, so
that you can share your setup between multiple installations. To do that,
give the package list (names or symbols) to the (el-get) call in your setup.
This way you can also maintain specific lists depending on system or network
or whatever is useful for you. That's the advanced setup, documented.
2011-06-22 11:38:40 +02:00
Dimitri Fontaine
086010b29e
`el-get-status-file' is now a defcustom.
2011-06-22 10:13:33 +02:00
Dimitri Fontaine
a3f11bc478
Don't error when a package is already installed in el-get-install', as we didn't change
el-get' itself yet.
2011-06-22 00:33:33 +02:00
Dimitri Fontaine
8a2b6c6aaf
Begin `el-get-sources' usage cleaning where the relevant information is the package status.
2011-06-22 00:01:53 +02:00
Dimitri Fontaine
b6e4ef5a12
Fix a bug just introduced in `el-get-dependencies'
2011-06-21 23:56:46 +02:00
Dimitri Fontaine
f398724023
Have el-get-package-def' consider
el-get-sources' just another recipe source.
2011-06-21 23:21:36 +02:00
Dimitri Fontaine
ceab0d9bdc
Get rid of the 'merge argument in (el-get-read-all-recipes 'merge), makes no sense.
2011-06-21 23:13:48 +02:00
Dimitri Fontaine
e7c151fa36
Switch to relying on package statuses in `el-get-package-types-alist'
2011-06-21 22:52:08 +02:00
Dimitri Fontaine
27509500ee
Implement `el-get-package-method' and use it everywhere we had (plist-get ... :type).
2011-06-21 22:28:58 +02:00
Dimitri Fontaine
e365c6dbfc
Cleanup unused code, remove TODO that's been done.
2011-06-21 22:19:41 +02:00
Dimitri Fontaine
434ebed481
Force `el-get-self-update' in sync mode.
2011-06-21 21:56:07 +02:00
Dimitri Fontaine
47c14d7592
Simplify el-get-build' code now that we have this :sync support in
el-get-start-process-list'
2011-06-20 21:05:39 +02:00
Dimitri Fontaine
3bfefb7973
Fix typo )x, per comment from Dave.
2011-06-19 23:58:41 +02:00
Dimitri Fontaine
fdd3a94862
Merge pull request #266 from semka/e59b9a13e59aa961b9d0d94484c75ba9f298d111
...
Darcs non-interactive pull
2011-06-19 14:48:53 -07:00
Dimitri Fontaine
b76ed7fbe7
M-x delete-trailing-whitespace, now that all contributors are seeing them.
2011-06-19 23:47:42 +02:00
Dimitri Fontaine
b13ca7bdba
Merge pull request #268 from dabrahams/fixes-267
...
BUGFIX: post-remove hooks weren't being run
2011-06-19 14:43:28 -07:00
Dimitri Fontaine
b1e64f2cc5
Merge pull request #263 from dabrahams/2c3b294b73ecdcae679158859992167163512926
...
bugfix for error handling
2011-06-19 14:37:44 -07:00
Dave Abrahams
8e711c839b
BUGFIX: account for the fact that customizations are typically not known until after el-get has been called.
...
Fixes #253
2011-06-19 23:15:33 +02:00
Dimitri Fontaine
c6fdbc1540
Fix the emacswiki file listing "parsing" to avoid %2b in names, etc.
2011-06-19 23:02:52 +02:00
Dimitri Fontaine
e654f0693b
Fix issue #238 , symlinks under windows.
2011-06-19 22:16:21 +02:00
Dimitri Fontaine
9ef83d3535
Fix issue #235 (el-get-funcall forgot to maintain its environment)
2011-06-19 21:30:51 +02:00
Dimitri Fontaine
aefa20f433
Merge pull request #233 from glasserc/package23
...
Changes for backwards compatibility with package23
2011-06-19 11:32:48 -07:00
Dave Abrahams
41c9960082
BUGFIX: post-remove hooks weren't being run
...
Fixes #267
2011-06-17 05:38:13 -04:00
Sёmka Novikov
e59b9a13e5
Non-interactive darcs pull
2011-06-17 01:51:43 +06:00
Dave Abrahams
2c3b294b73
Don't use out-of-scope variable
...
Fixes #262
2011-06-16 09:47:31 -04:00
Dimitri Fontaine
d00698dd96
Implement `el-get-self-update'
2011-06-15 21:46:09 +02:00
Dimitri Fontaine
ec6166bb95
Implement el-get-package-types-alist' to filter package names in
el-get-sources' by type, per user request.
2011-06-14 21:37:47 +02:00
Julien Danjou
2637be1b15
Change various defvar to defcustom
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-06-14 11:27:01 +02:00
Dimitri Fontaine
313fe84907
Add a Local Variables: section and set whitespace settings in there.
2011-06-14 10:16:12 +02:00
Dimitri Fontaine
46be377fde
Error out nicely when we can't find the recipe for a package.
2011-06-13 23:33:03 +02:00
Dave Abrahams
2222c5bdf0
Bugfix: restore a line that was mistakenly dropped
2011-06-07 11:54:39 -04:00
Dave Abrahams
84de83fe11
Attempt to deal more smoothly with legacy el-get-sources settings.
...
See http://thread.gmane.org/gmane.emacs.el-get.devel/385
2011-06-07 10:32:53 -04:00
Dave Abrahams
602492940f
Rename el-get-install => el-get-do-install, el-get-demand => el-get-install
...
el-get-do-install is not a user interface function and thus has lost its "(interactive...)" clause
2011-06-05 15:28:59 -04:00
Dave Abrahams
d109295d81
Correct check for changed standard packages list
2011-06-05 15:03:31 -04:00
Dave Abrahams
c719b2472f
Comment and grammar cleanup
2011-06-05 15:03:31 -04:00
Dave Abrahams
f558499ee9
Update el-get-standard-packages when packages are removed
2011-06-05 15:03:31 -04:00
Dave Abrahams
3bf072d41e
Allow for debugging in condition-case
2011-06-05 15:03:31 -04:00
Dave Abrahams
cfcf971875
Fix bug caught during byte-compilation
2011-06-05 15:03:31 -04:00
Dave Abrahams
9872092153
Clean up list-of-packages mechanisms
...
Pare the many down to those we actually use, replacing el-get-sources
by el-get-standard-packages where appropriate.
2011-06-05 15:03:31 -04:00
Dave Abrahams
0c97eb35d6
Use el-get-standard-packages to track the set of desired packages separately from el-get-sources
2011-06-05 15:03:31 -04:00
Dave Abrahams
ab191c8bc3
Dependency resolution and dynamic package state tracking
2011-06-05 15:03:31 -04:00
Dave Abrahams
36af03d311
Add failure notification and missing update notification
2011-06-05 15:03:31 -04:00
Dave Abrahams
fc10ca09d3
Docstring and comment fixups
2011-06-05 15:03:31 -04:00
Dave Abrahams
1fb2363ed9
Invoke el-get-installation-failed when installation steps fail
...
The diffs look big, but it's mostly an indentation change.
2011-06-05 15:03:31 -04:00
Dave Abrahams
76ebcad0f9
Fix docstrings
2011-06-05 15:03:31 -04:00
Dave Abrahams
6ee17852e1
Make sure outdated compiled autoloads file is not left hanging around
2011-06-05 15:02:21 -04:00
Dave Abrahams
530c05ede3
Stop invalidating autoloads early
...
The call to el-get-invalidate-autoloads was causing some churn in
.loaddefs.el when things were installed asynchronously; we'd patch up
the autoloads as soon as the installation process had been kicked off,
and then again after the package was installed.
2011-06-05 15:02:19 -04:00
Dave Abrahams
e32b1aee35
Merge widget fix from branch 'dimitri/2.stable'
2011-05-27 17:05:59 -04:00
Dave Abrahams
7a23356096
Fix el-get-symbol customization widget
2011-05-27 16:48:37 -04:00
Ethan Glasser-Camp
3b89ec11bd
Changes for backwards compatibility with package23
2011-05-27 13:35:29 -04:00
Julien Danjou
a40bc72626
Import 2.2 changelog
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-05-26 10:55:08 +02:00
Julien Danjou
da23a4c80f
Prepare for 2.2 release
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-05-26 10:46:05 +02:00
Julien Danjou
02fde37dc8
Revert "Merge branch 'dimitri-master'"
...
This reverts commit 8138e5cf51
, reversing
changes made to 1315a2ccab
.
2011-05-26 10:43:29 +02:00
Julien Danjou
99f1eb7718
Revert "Merge branch 'dimitri-master'"
...
This reverts commit 8138e5cf51
, reversing
changes made to 1315a2ccab
.
2011-05-26 10:26:59 +02:00
Dimitri Fontaine
473953b296
Just after tagging stable 2.1, change version strings to 3.0 in the development tree.
2011-05-25 22:07:37 +02:00
Dimitri Fontaine
c9b33627b7
Release stable version 2.1
2011-05-25 21:59:32 +02:00
Dave Abrahams
c01a6bb0f9
Allow for debugging in condition-case
2011-05-24 11:50:03 -04:00
Dave Abrahams
24a2cbebc2
Clean up list-of-packages mechanisms
...
Pare the many down to those we actually use, replacing el-get-sources
by el-get-standard-packages where appropriate.
2011-05-24 11:50:03 -04:00
Dave Abrahams
99c4668f70
Bugfix: code was just wrong
2011-05-24 11:50:03 -04:00
Dave Abrahams
20057d05fc
Remove testing flotsam
2011-05-24 11:50:03 -04:00
Dave Abrahams
5d60d7c1b0
WIP on dependency resolution, etc.
2011-05-24 11:50:03 -04:00
Dave Abrahams
8772c2dd92
Correct misuse of "care" and simplify related language in a few places.
2011-05-24 11:50:03 -04:00
Dave Abrahams
ae4617a600
Improved comments
2011-05-24 11:50:03 -04:00
Dave Abrahams
38ac24777b
Fix comment typo
2011-05-24 11:50:03 -04:00
Dave Abrahams
ac5a364157
Add el-get-as-string along with associated refactorings
2011-05-24 11:50:03 -04:00
Dave Abrahams
62905785e1
Simplify: the let' above already guarantees that
compile' is a `listp'
2011-05-24 11:50:03 -04:00
Dave Abrahams
7aebaa5787
Add el-get-as-list and el-get-as-symbol along with associated refactorings
2011-05-24 11:50:03 -04:00
Dave Abrahams
250358204c
Add missing comment
2011-05-24 11:50:03 -04:00
Dave Abrahams
d1f288db52
Grammar corrections
2011-05-24 11:50:03 -04:00
Dave Abrahams
b7af465078
Add el-get-symbol widget so that users can put strings in el-get-sources
2011-05-24 11:50:03 -04:00
Julien Danjou
f49dcc0566
disable more hooks on autoload generation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-05-23 10:06:52 +02:00
Dave Abrahams
c766e4cea0
Add el-get-repeat widget to simplify el-get-sources customization
2011-05-22 15:53:01 -04:00
Dave Abrahams
298f7697ad
Make el-get a lot quieter at startup by default
2011-05-22 00:06:45 -04:00
Dave Abrahams
e6dab6a567
Factor out nasty code repetition
2011-05-21 23:52:27 -04:00
Dave Abrahams
704206cc04
Avoid writing :post-init and :after messages when there's nothing to do
2011-05-21 22:25:16 -04:00
Dave Abrahams
1e9139dbba
Fix comment
2011-05-21 21:36:04 -04:00
Ethan Glasser-Camp
d5656231ce
Disable emacs-lisp-mode-hook when handling autoloads
2011-05-04 08:24:08 -04:00
Ethan Glasser-Camp
bf491166f0
Turn off emacs-lisp-mode-hook when byte-compiling
2011-05-04 08:22:33 -04:00
Damien Cassou
97ddb9a149
Removes useless function el-get-darcs-executable
2011-04-05 15:09:09 +02:00
Dimitri Fontaine
9ce6d434cb
Merge branch 'master' of github.com:dimitri/el-get
2011-03-28 12:44:15 +02:00
Dimitri Fontaine
4c853d39d6
Default to stop byte-compiling packages at init time, that's now a power-user option.
2011-03-28 12:43:48 +02:00
Dimitri Fontaine
f88281518a
Fix previous bound-and-true-p fix...
2011-03-28 00:28:39 +02:00
Dimitri Fontaine
c813f27319
Merge branch 'master' of github.com:dimitri/el-get
2011-03-27 21:20:15 +02:00
Dimitri Fontaine
f4ff01628e
Bugfix: stop using file-exists-p on a potentially nil input.
2011-03-27 21:19:34 +02:00
Dave Abrahams
15177ea446
Fix representation of build type
2011-03-24 20:42:24 -04:00
Dimitri Fontaine
8522b879aa
Fix when building info happens in el-get-build, per gripe from mmarcus.
2011-03-22 20:36:04 +01:00
Dimitri Fontaine
b2db7cdc1d
Edit changelog.
2011-03-16 22:31:00 +01:00
Dimitri Fontaine
1040a60c46
Assorted long-line fixes.
2011-03-16 22:29:53 +01:00
Dimitri Fontaine
438cedb3d8
Little code cleanup (use mapc rather than mapcar).
2011-03-16 22:24:13 +01:00
Dimitri Fontaine
439630ce32
Rework of el-get byte compiling internals.
...
The Emacs -Q subprocess should not depend on a proper el-get setup to be
able to byte compile a package, this patch allows to get there.
2011-03-16 22:23:30 +01:00
Dimitri Fontaine
2390751240
Implement the command el-get-find-recipe-file, and rework the internal recipe API.
2011-03-16 22:21:52 +01:00
Dimitri Fontaine
d80df2ffb1
Add support for :repo parameter for ELPA packages, and a package24.el recipe.
2011-03-16 22:16:05 +01:00
Julien Danjou
c46e224beb
Add load-path before compile and autoloads
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-03-15 14:02:18 +01:00
Dimitri Fontaine
75d4c30fda
Fix some byte compile warnings.
2011-03-10 21:15:29 +01:00
Dimitri Fontaine
b0d5d7abfb
Compatibility with package.el (tested with package-install-from-buffer)
...
In passing, change the version strings used by el-get to something that
looks more like what Emacs itself does, 2.0 being the development version of
the next stable version, 2.1. Calling it 1.2~dev is not such a good idea,
and package.el would chuck on it.
2011-03-10 21:15:12 +01:00
Dimitri Fontaine
31196f1a35
Fix typo, apply a function symbol, not an undefined variable.
2011-03-02 16:01:51 +01:00
Dave Abrahams
72ccc84394
Can't load a file sans extension from the command line
2011-03-01 19:34:10 -05:00
Dave Abrahams
888c830f90
Fixes https://github.com/dimitri/el-get/issues/#issue/178
2011-03-01 18:49:06 -05:00
Julien Danjou
ec491d491c
Do not check for el-get-byte-compile here
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-03-01 13:57:35 +01:00
Julien Danjou
eb0a020eeb
Fix el-get-read-package-with-status with multiple status
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-03-01 13:57:35 +01:00
Dimitri Fontaine
5cde0bc0bd
warn users when el-get-install is used on unregistered packages, and augment the docs there too.
2011-03-01 10:59:17 +01:00
Dimitri Fontaine
04c43f322a
Fix el-get-byte-compile to accept stringp &rest argument for compiling.
2011-02-25 19:23:21 +01:00
Dimitri Fontaine
5ccc119bd5
Typo fix (el-get-byte-byte-compile)
2011-02-25 17:56:36 +01:00
Julien Danjou
29363d5da0
Check compilation is up-to-date before init
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-25 16:26:24 +01:00
Julien Danjou
c671a686ae
Use byte-recompile-file, simplify el-get-byte-compile-files.
...
On recent Emacs, we can use byte-recompile-file.
Package is not needed as an argument in el-get-byte-compile-files.
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-25 15:45:56 +01:00
Julien Danjou
5dd1ff8082
Add support for external autoload file
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-25 13:11:34 +01:00
Julien Danjou
7d423b55ea
Fix typo in lazy form
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-25 10:33:43 +01:00
Julien Danjou
0651d18048
Add el-get-dir to load-path
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-24 23:57:27 +01:00
Julien Danjou
6b143d073e
Fix postinit and after evaluation when lazy
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-02-24 23:51:10 +01:00
Dimitri Fontaine
b08fbfd2bb
Implement `el-get-is-lazy' and assorted properties, :prepare and :post-init and :lazy.
...
Also change all recipes using :after to now use :post-init, and fix
blender-python-mode to rely on :prepare, which it seems to be needing.
Removing :features and :load from recipes where it's possible to be lazy is
scheduled for a later patch...
2011-02-24 22:03:47 +01:00
Dave Abrahams
421fac5c08
Remove needless/erroneous usage of intern-soft in favor of plain
...
intern
2011-02-23 19:55:58 -05:00
Dave Abrahams
48a85ec50c
Don't blindly assume that el-get-recipe-path directories exist
2011-02-23 16:38:00 -05:00
Dimitri Fontaine
f2da9cb6d5
`el-get-eval-after-load' allows to get the old behaviour back per default.
...
Lazy eval runners will have to set that to non-nil in order to enjoy broken
recipes and manual installation rather than fully automatic and "just works"
experience. Consider in particular recipes and `el-get-sources' entries
that are defining keys, which is a common practice and a supported use case.
2011-02-22 21:39:37 +01:00
Dimitri Fontaine
05f8b2a17c
Some fixes so that el-get-emacswiki-refresh somehow works with no manual massaging...
2011-02-22 18:38:02 +01:00
Dimitri Fontaine
9f0e47ddfb
Implement fetching the elisp script list from emacswiki and maintaining a
...
local recipe cache out of that. M-x el-get-emacswiki-refresh to be all
setup, then M-x el-get-install and enjoy.
2011-02-22 15:09:59 +01:00
Dimitri Fontaine
79867c6792
Fix el-get-install-or-init by adding a parameter p-status.
2011-02-21 23:15:40 +01:00
Dimitri Fontaine
a1c78fcddd
"Fix" el-get-install and friends to stop caring about `el-get-sources'.
2011-02-21 22:55:45 +01:00
Dimitri Fontaine
5b5f274c23
Towards a lazy offer: (el-get 'sync el-get-sources 'and 'other 'packages).
2011-02-21 22:20:57 +01:00
Steve Purcell
6393971aa1
Make el-get-build respect the el-get-byte-compile custom option
2011-02-21 04:29:52 +08:00
Dimitri Fontaine
90aee18da3
Some more whitespace cleaning
2011-02-19 21:36:14 +01:00
Dimitri Fontaine
2dac7fbc82
Lazily eval :after functions, unless :features is used.
2011-02-19 21:24:19 +01:00
Dimitri Fontaine
a4b7a095c7
whitespace cleanup
2011-02-19 21:22:13 +01:00
Dave Abrahams
73a5221c1f
Add missing quote
2011-02-18 21:41:16 -05:00
Dave Abrahams
bfd57b7cb2
Don't try to evaluate autoloads unless the file exists!
2011-02-18 21:00:11 -05:00
Dave Abrahams
2726a836d2
Customizable el-get-sources
2011-02-18 20:35:01 -05:00
Dimitri Fontaine
d41430ded7
Provide the command M-x el-get-sync so that you can avoid C-x C-e on your (el-get 'sync) elisp line.
2011-02-17 21:25:53 +01:00
Dimitri Fontaine
d2615b5214
Little fix and changelog entry for el-get-executable-find
2011-02-04 19:48:15 +01:00
Dimitri Fontaine
88f1faf725
Factorise el-get ways of finding an executable, and use that everywhere it makes sense.
...
That fixes complaints about el-get being stuck when you're missing some
tools, rather than complaining it can not find them early enough.
2011-02-04 18:39:35 +01:00
Dimitri Fontaine
13acc82071
Edit changelog for autoloads user switch
2011-02-01 17:09:25 +01:00
Steve Purcell
ac45346a7d
Make autoloading optional, both globally and per-package, and disable it for session.el, which has bad autoloads
...
See https://github.com/dimitri/el-get/issues/issue/111/ for the background on this.
2011-02-01 17:02:13 +01:00
Jonas Baumann
eec3d3cec6
fixed package.el version check
2011-02-01 14:52:13 +01:00
Dimitri Fontaine
d53cae10ac
Stop mixing where el-get install packages with where el-get lives.
...
At least when defining the default recipe path.
2011-02-01 14:27:45 +01:00
Dimitri Fontaine
188a3bdfdc
Fix el-get-elpa-install to support both the old and new versions of package.el
2011-01-31 20:34:46 +01:00
Dimitri Fontaine
3f2385d070
Fix el-get-rm to only delete the ELPA symlink when it exists (allow cleaning after error).
2011-01-31 20:14:30 +01:00
Dimitri Fontaine
8dcc9163d1
Fix previous commit, which was done on a rush.
2011-01-31 18:59:10 +01:00
Dimitri Fontaine
74086eb65c
Stop relying on el-get being installed in el-get-dir itself when byte-compiling, per report.
2011-01-31 18:53:32 +01:00
Dimitri Fontaine
20df9d9acf
Use * as the first character of docstrings for defvar that can be edited by M-x set-variable
2011-01-31 18:26:49 +01:00
Dimitri Fontaine
75b22bbd04
Fix issue #137 , that is asynchronous byte-compiling of packages.
2011-01-30 21:57:30 +01:00
Dimitri Fontaine
a36bcfe5b7
Fix a variable naming bug in byte-compile.
2011-01-30 21:18:00 +01:00
Dimitri Fontaine
65d66ce11a
Restore the :compile property overloading in `el-get-sources', broken recently.
2011-01-30 18:20:39 +01:00
Dimitri Fontaine
c8384858a7
Fix a bug waiting to happen, default-directory *really* should end with a slash.
2011-01-30 13:15:38 +01:00
Dimitri Fontaine
6812fae8aa
Fix issue #132 (max-specpdl-size), caused by infinite recursing in `el-get-install-or-init-info'
2011-01-30 11:38:00 +01:00
Dave Abrahams
4156c876e7
Ensure that the package archive exists for elpa installs; ensure that it's updated for elpa updates.
...
Possible later improvement: expire the archive if it hasn't been updated recently
2011-01-29 23:39:50 +01:00
Dimitri Fontaine
8acfb4864c
Fix issue #118 : bug when removing elpa packages.
...
The function el-get-rmdir missed the knowledge of the special case ELPA,
where the pdir is in fact a symlink. No time tonight to check in details
how this is setup for apt-get, fink and pacman handlers.
2011-01-29 23:31:16 +01:00
Dimitri Fontaine
c73e45241d
Correct/clarify comments, per issue #108 on github.
...
Conflicts:
el-get.el
2011-01-29 23:16:39 +01:00
Dimitri Fontaine
cf6f183181
Changelog update wrt recent byte-compiling changes.
2011-01-29 23:10:47 +01:00
Dimitri Fontaine
1cbef95030
Fix issue #117 by having an external Emacs process byte-compile packages.
...
Of course el-get-default-process-sync and el-get arguments will determine
how blocking the operation really is.
2011-01-29 23:02:54 +01:00
Dimitri Fontaine
ab13fe49f2
Reorganise el-get-byte-compile to prepare for using an external Emacs -Q process.
2011-01-29 22:23:12 +01:00
Dimitri Fontaine
63d30c04c7
Issue #66 is right on spot: just ignore byte-compile errors (but still log them).
2011-01-29 21:44:57 +01:00
Dimitri Fontaine
9315c33f1d
Preparing for issue #117 , byte-compile package at build time rather than at init time
2011-01-29 21:37:59 +01:00
Dimitri Fontaine
cd19dcbfa8
Per issue #128 , let buffer-file-coding-system 'no-conversion when writing http received content.
2011-01-29 21:14:45 +01:00
Dimitri Fontaine
0d9fa7caa2
Fix a bug in el-get-build when in sync mode: call the lambda with package as a parameter.
2011-01-28 23:43:08 +01:00
Dimitri Fontaine
b4a929319a
Have el-get-build follow el-get-default-process-sync.
...
This is currently the only way for windows build to run, because of bugs in
the way the command line is parsed and the executable derived... from a
debug session late on IRC.
2011-01-28 23:12:32 +01:00
Dimitri Fontaine
5cd9a10dc9
Yet another typo.
2011-01-10 22:44:56 +01:00
Dimitri Fontaine
0a0be3fa33
Add M-x el-get-make-recipes to the changelog
2011-01-10 22:39:17 +01:00
Dimitri Fontaine
f360d60ec4
Implement `el-get-make-recipes' to help sharing.
2011-01-10 22:36:55 +01:00
Dimitri Fontaine
fac845b1a4
Add documentation for el-get-update-all, with a 'not for the faint of hearts' style notice.
2011-01-07 13:30:47 +01:00
Alex Ott
54ca6ec27a
re-add el-get-update-all function
...
now without whitespace changes
2011-01-07 13:09:06 +01:00
Alex Ott
b3ecc7f680
Reverting "first, naive version of el-get-update-all function"
...
Revert "first, naive version of el-get-update-all function"
This reverts commit b6b9b3d1e0
.
2011-01-07 13:08:14 +01:00
Alex Ott
b6b9b3d1e0
first, naive version of el-get-update-all function
...
more complicated version will follow...
2011-01-07 10:56:31 +01:00
Dave Abrahams
e65f41db35
Fix for the problem discussed in 7ce8ea090c (commitcomment-233637)
2011-01-06 16:58:27 +01:00
Dimitri Fontaine
497bf958a4
Stop el-get-init to build the Info related dir entries each time.
2011-01-06 16:53:00 +01:00
Dimitri Fontaine
9bbe665ad4
Typo fix
2011-01-06 14:23:22 +01:00
Dimitri Fontaine
7e8370940b
Formating nit-picking :)
2011-01-06 12:11:08 +01:00
Sébastien Gross
a17a5a1264
Fix el-get-remove-autoloads for emacs 24.
...
`autoload-find-destination' has changed in emacs 24 and requires 2
parameters now.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2011-01-06 19:09:50 +08:00
Dave Abrahams
1deae7b0fb
Reinstate the passing of noerror through to el-get-init
2011-01-06 09:52:43 +01:00
Steve Purcell
e1db5d8b40
Make autoload generation respect 'el-get-byte-compile setting
...
Signed-off-by: Steve Purcell <steve@sanityinc.com>
2011-01-05 16:28:18 +01:00
Dimitri Fontaine
6ae499f97a
Fix el-get-add-path-to-list now that pdir is known to be absolute.
2011-01-05 16:24:10 +01:00
Dimitri Fontaine
ffd5d33b6d
Update current version string and edit the changelog.
2011-01-04 22:10:35 +01:00
Dave Abrahams
9f263356e0
Simplify interface to el-get-byte-compile-file
2011-01-04 21:55:33 +01:00
Dimitri Fontaine
8628dc8c9f
Whitespace cleanup
2011-01-04 21:54:02 +01:00
Dave Abrahams
f94a3b9308
Eliminate duplicate invocations of file-name-as-directory
2011-01-04 21:53:18 +01:00
Dimitri Fontaine
00fb7be7e2
Now that el-get-package-directory returns a directory name, we can
...
dispense with several redundant file-name-directory calls.
Conflicts:
el-get.el
2011-01-04 21:51:57 +01:00
Dimitri Fontaine
7daefe3972
Make better use of expand-file-name.
2011-01-04 21:49:49 +01:00
Dimitri Fontaine
59490c6523
Really ensure that el-get-package-directory returns an absolute directory name.
2011-01-04 21:47:29 +01:00
Dimitri Fontaine
1311bc7e39
Fix the byte-compiling of packages now that el-get-load-path returns absolute filenames.
2011-01-04 21:38:28 +01:00
Dimitri Fontaine
3c785447f8
Whitespace cleaning.
2011-01-04 21:33:14 +01:00
Dave Abrahams
309032dcf2
For smoother user experience, use run-with-idle-timer for autoload updates.
2011-01-04 21:32:44 +01:00
Dimitri Fontaine
58403c8dc9
Whitespace cleaning, some more protection, Info handling fix.
2011-01-04 21:31:13 +01:00
Dave Abrahams
7ce8ea090c
Proper shell-quoting for commands and their arguments; auto-flatten complex recipes
2011-01-04 21:15:05 +01:00
Dimitri Fontaine
41d4bfca2b
Fix autoload support cherry-picking by adding-in some forgotten support functions.
2011-01-02 18:22:51 +01:00
Dave Abrahams
016f3c1f56
Add autoload support
2011-01-02 18:10:42 +01:00
Dimitri Fontaine
f095d4c86e
Whitespace cleaning
2011-01-02 17:37:49 +01:00
Dave Abrahams
43a12a5dc7
Make http retrieval synchronous when it needs to be
2011-01-02 17:36:34 +01:00
Dave Abrahams
2f53408bf9
Attempt to get sync: 'wait to actually wait
2011-01-02 17:36:20 +01:00
David Abrahams
4ba0fcf687
Optionally suppress the check for membership in el-get-sources and use that in el-get-install to avoid shadowing that variable when it is defined.
2011-01-02 17:09:16 +01:00
Kanak Kshetri
704151c89a
Fixed minor typos in documentation.
2010-12-22 21:47:32 +08:00
Dimitri Fontaine
0cf74cb21a
Release 1.1
2010-12-20 15:37:13 +01:00
Damien Cassou
8b4fba8708
Reports a clean error when darcs is needed but can not be found
2010-12-08 18:53:40 +08:00
Dimitri Fontaine
68a6f76922
Add some chatter about :load-path behaviour.
2010-12-04 22:28:29 +01:00
Dimitri Fontaine
9ab21a1da1
Add support for notify addon found in emacswiki
2010-12-01 14:17:18 +01:00
Dimitri Fontaine
6333dc49a6
Small typo fixes for :before
2010-12-01 14:02:38 +01:00
Sébastien Gross
2c26a087f8
implement :before user defined function to run before init.
...
A :before function in el-get-sources items could be defined to pre-init any
package.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2010-12-01 21:00:26 +08:00
Dimitri Fontaine
e3f22a068c
Fix stupid bug introduced when playing with :info files
2010-11-30 18:00:02 +01:00
Dimitri Fontaine
6524c9b17b
Add a defvar `el-get-emacs' to help authoring build commands in recipes.
2010-11-29 18:14:09 +01:00
Dimitri Fontaine
2e8201684b
Implement support for the "Do you want to continue" apt-get prompt
2010-11-29 18:02:25 +01:00
Dimitri Fontaine
d2e867d9fc
M-x el-get-install will now remove previously failed installations (required)
2010-11-29 17:41:21 +01:00
Dimitri Fontaine
74c04e109c
Fix error messages for missing or incomplete recipes.
2010-11-29 14:03:37 +01:00
Dimitri Fontaine
58a718de76
Fix code to match what docs said about providing "foo.info" files, and update sicp recipe to test
2010-11-29 13:42:43 +01:00
Dimitri Fontaine
119bacf972
Add a shorter version of the scratch-installer in the docs, and assorted fixes.
2010-11-28 18:15:42 +01:00
Dimitri Fontaine
a6ebbe7d95
Allow build commands to be evaluated, so that we don't have hardcode invocation-directory etc in them.
2010-11-28 16:37:18 +01:00
Dimitri Fontaine
6bf4d0d15d
Implement hooks to get run after el-get-init, `el-get-post-init-hooks'
2010-11-26 22:07:02 +01:00
Dimitri Fontaine
85793d771d
Add :localname property to better handle some URL with extraneous information.
2010-11-26 16:32:23 +01:00
Sébastien Gross
81d95e7f12
Add :destination option for both http and ftp supports.
...
This option is useful if the package sould be retrived using a presentation
insterface (such as as web SCM tool). The file name could be specified in
the :destination part of the package configuration.
For example, destination should be set to \"package.el\" if the package url
has the following scheme:
"http://www.example.com/show-as-text?file=path/package.el "
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2010-11-26 23:24:23 +08:00
Dimitri Fontaine
a3ec2c807f
In `el-get-git-executable', protect against git-executable being nil.
2010-11-15 10:52:41 +01:00
Dimitri Fontaine
31ae1e7570
Update changelog and keywords for mercurial support, add the usual comments too.
2010-11-14 20:40:53 +01:00
Sergei Lebedev
6e4a869658
Implemented hg support
2010-11-14 21:28:40 +03:00
Dimitri Fontaine
409158638d
Minor copy-editing of the synchronous el-get patch.
2010-11-12 22:22:19 +01:00
Alexey Voinov
8beea36471
Implement support for synchronous commands.
...
(el-get 'sync) will now install packages one after the other and any failure
will abort all the installation process. (el-get 'wait) allows to get the
previous behavior where control is not given back until all packages have
been installed (or failed to), but the install commands are run in parallel.
A new global variable `el-get-default-process-sync' allows to control the
behavior, and the `el-get-start-process-list' function now has a :sync
property.
Thanks for Alexey Voinov who implemented the feature.
2010-11-12 22:04:42 +01:00
Dimitri Fontaine
4a3dd0b3b8
Have FTP an "alias" for HTTP, as url-retrieve will handle both.
2010-11-08 14:04:02 +01:00