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>
(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.
Note: this recipe currently errors out with:
Package org-mode failed to install, remove it first.
Not sure of the reason that happens (this error message appears at two locations
in el-get.el). One possible explanation could be that org-mode is already
provided by recent versions of Emacs, specifically version 7.01 in Emacs 23+ and
Emacs bzr trunk.
To resolve this, el-get might need a :force keyword for recipes, to force
override of a provided package.
The Emacs 24 version returns: M-x org-version 7.01. The git development version
should return M-x org-version 7.01trans (HEAD...).
Typical init.el code replaced by this recipe is:
;; org-mode development version configuration
(add-to-list 'load-path "~/.emacs.d/vendor/org-mode/lisp")
(add-to-list 'load-path "~/.emacs.d/vendor/org-mode/contrib/lisp")
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(require 'org-install)
The org-mode make process takes a long time to run, making the choice of (el-get
'sync) significant if the user wants to get into Emacs quickly.
It's quite useful, that distribution decorate package name with
various prefixes. For example, in ArchLinux apel is contained in
package called emacs-apel and color-theme contained in
emacs-color-theme. It's also true for ALT Linux, where apt-get is
used. It's good to have a way to install those packages using el-get
We define el-get-svn and el-get-darcs for platforms where occasional users
won't want to adapt their PATH and still need to use odd placed binaries,
like for example "~/.cabal/bin/darcs". Using an older darcs version (1.0.9)
or newer (2.x) repositories will result in HTTP 404 error, but I guess
that's not for `el-get' to try and solve that.