Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 0a3c869b authored by Ryan C. Thompson's avatar Ryan C. Thompson

Merge branch 'autoload-pre-init'

Conflicts:
	recipes/wrap-region.rcp
parents b80409ee 14521669
......@@ -3,7 +3,7 @@
:website "https://github.com/jwiegley/alert"
:type github
:pkgname "jwiegley/alert"
:post-init
:prepare
(progn
(autoload 'alert "alert"
"Alert the user that something has happened.")
......
......@@ -4,4 +4,4 @@
:type git
:url "http://ch.ristopher.com/r/ampc"
:features ampc
:post-init (autoload 'ampc "ampc" nil t))
:prepare (autoload 'ampc "ampc" nil t))
......@@ -2,6 +2,6 @@
:description "search refinement of ack result with anything"
:website "http://www.emacswiki.org/emacs-fr/anything-ack.el"
:type emacswiki
:post-init (autoload 'anything-ack "anything-ack"
"Run ack in `anything' buffer to narrow results." t)
:prepare (autoload 'anything-ack "anything-ack"
"Run ack in `anything' buffer to narrow results." t)
:depends anything)
......@@ -3,8 +3,8 @@
:description "A simple derived-mode for editing bbcode in emacs."
:type hg
:url "https://bitbucket.org/jfm/emacs-bbcode"
:post-init (progn
(autoload 'bbcode-mode "bbcode-mode"
"BBCode editing mode." t)
(add-to-list 'auto-mode-alist
'("\\.bbc\\(ode\\)?\\'" . bbcode-mode))))
:prepare (progn
(autoload 'bbcode-mode "bbcode-mode"
"BBCode editing mode." t)
(add-to-list 'auto-mode-alist
'("\\.bbc\\(ode\\)?\\'" . bbcode-mode))))
......@@ -3,7 +3,7 @@
:description "This is a Emacs major mode for editing CleverCSS files. It provides smart indentation, syntax highlighting and basic text manipulation commands."
:type github
:pkgname "jschaf/CleverCSS-Mode"
:post-init (progn
(autoload 'clevercss-mode "clevercss" nil t)
(add-to-list 'auto-mode-alist
'("\\.ccss\\'" . clevercss-mode))))
:prepare (progn
(autoload 'clevercss-mode "clevercss" nil t)
(add-to-list 'auto-mode-alist
'("\\.ccss\\'" . clevercss-mode))))
......@@ -3,5 +3,5 @@
:type github
:pkgname "lut4rp/almost-monokai"
:depends color-theme
:post-init (autoload 'color-theme-almost-monokai "color-theme-almost-monokai"
"color-theme: almost-monokai" t))
:prepare (autoload 'color-theme-almost-monokai "color-theme-almost-monokai"
"color-theme: almost-monokai" t))
......@@ -3,5 +3,5 @@
:type github
:pkgname "marktran/color-theme-chocolate-rain"
:depends color-theme
:post-init (autoload 'color-theme-chocolate-rain "color-theme-chocolate-rain"
"color-theme: chocolate-rain" t))
:prepare (autoload 'color-theme-chocolate-rain "color-theme-chocolate-rain"
"color-theme: chocolate-rain" t))
......@@ -3,5 +3,5 @@
:type github
:pkgname "superbobry/color-theme-desert"
:depends color-theme
:post-init (autoload 'color-theme-desert "color-theme-desert"
"color-theme: desert" t))
:prepare (autoload 'color-theme-desert "color-theme-desert"
"color-theme: desert" t))
......@@ -3,5 +3,5 @@
:type github
:pkgname "burke/color-theme-ir-black"
:depends color-theme
:post-init (autoload 'color-theme-ir-black "color-theme-ir-black"
"color-theme: ir-black" t)))
:prepare (autoload 'color-theme-ir-black "color-theme-ir-black"
"color-theme: ir-black" t)))
......@@ -3,5 +3,5 @@
:type github
:pkgname "jbw/color-theme-mac-classic"
:depends color-theme
:post-init (autoload 'color-theme-mac-classic "color-theme-mac-classic"
"color-theme: mac-classic" t))
:prepare (autoload 'color-theme-mac-classic "color-theme-mac-classic"
"color-theme: mac-classic" t))
......@@ -3,5 +3,5 @@
:type github
:pkgname "olegshaldybin/color-theme-railscasts"
:depends color-theme
:post-init (autoload 'color-theme-railscasts "color-theme-railscasts"
"color-theme: railscasts" t))
:prepare (autoload 'color-theme-railscasts "color-theme-railscasts"
"color-theme: railscasts" t))
......@@ -3,8 +3,8 @@
:type github
:pkgname "purcell/color-theme-sanityinc"
:depends color-theme
:post-init (progn
(autoload 'color-theme-sanityinc-light "color-theme-sanityinc"
"color-theme: sanityinc-light" t)
(autoload 'color-theme-sanityinc-dark "color-theme-sanityinc"
"color-theme: sanityinc-dark" t)))
:prepare (progn
(autoload 'color-theme-sanityinc-light "color-theme-sanityinc"
"color-theme: sanityinc-light" t)
(autoload 'color-theme-sanityinc-dark "color-theme-sanityinc"
"color-theme: sanityinc-dark" t)))
......@@ -3,9 +3,9 @@
:type github
:pkgname "sellout/emacs-color-theme-solarized"
:depends color-theme
:post-init (progn
(add-to-list 'custom-theme-load-path default-directory)
(autoload 'color-theme-solarized-light "color-theme-solarized"
"color-theme: solarized-light" t)
(autoload 'color-theme-solarized-dark "color-theme-solarized"
"color-theme: solarized-dark" t)))
:prepare (progn
(add-to-list 'custom-theme-load-path default-directory)
(autoload 'color-theme-solarized-light "color-theme-solarized"
"color-theme: solarized-light" t)
(autoload 'color-theme-solarized-dark "color-theme-solarized"
"color-theme: solarized-dark" t)))
......@@ -3,5 +3,5 @@
:type http
:url "http://jblevins.org/git/misc.git/plain/color-theme-subdued.el"
:depends color-theme
:post-init (autoload 'color-theme-subdued "color-theme-subdued"
"color-theme: subdued" t))
:prepare (autoload 'color-theme-subdued "color-theme-subdued"
"color-theme: subdued" t))
......@@ -3,5 +3,5 @@
:type github
:pkgname "wfarr/color-theme-tango-2"
:depends color-theme
:post-init (autoload 'color-theme-tango-2 "color-theme-tango-2"
"color-theme: tango-2" t))
:prepare (autoload 'color-theme-tango-2 "color-theme-tango-2"
"color-theme: tango-2" t))
......@@ -2,5 +2,5 @@
:description "Color theme based on Tango Palette. Created by danranx@gmail.com"
:type emacswiki
:depends color-theme
:post-init (autoload 'color-theme-tango "color-theme-tango"
"color-theme: tango" t))
:prepare (autoload 'color-theme-tango "color-theme-tango"
"color-theme: tango" t))
......@@ -3,5 +3,5 @@
:type github
:pkgname "juba/color-theme-tangotango"
:depends color-theme
:post-init (autoload 'color-theme-tangotango "color-theme-tangotango"
"color-theme: tangotango" t))
:prepare (autoload 'color-theme-tangotango "color-theme-tangotango"
"color-theme: tangotango" t))
......@@ -3,14 +3,14 @@
:type github
:pkgname "ccharles/Tomorrow-Theme"
:depends color-theme
:post-init (progn
(autoload 'color-theme-tomorrow "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow" t)
(autoload 'color-theme-tomorrow-night "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow-night" t)
(autoload 'color-theme-tomorrow-night-eighties "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow-night-eighties" t)
(autoload 'color-theme-tomorrow-night-blue "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow-night-blue" t)
(autoload 'color-theme-tomorrow-night-bright "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow-night-bright" t)))
:prepare (progn
(autoload 'color-theme-tomorrow "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow" t)
(autoload 'color-theme-tomorrow-night "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow-night" t)
(autoload 'color-theme-tomorrow-night-eighties "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow-night-eighties" t)
(autoload 'color-theme-tomorrow-night-blue "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow-night-blue" t)
(autoload 'color-theme-tomorrow-night-bright "GNU Emacs/color-theme-tomorrow"
"color-theme: tomorrow-night-bright" t)))
......@@ -3,5 +3,5 @@
:type github
:pkgname "crafterm/twilight-emacs"
:depends color-theme
:post-init (autoload 'color-theme-twilight "color-theme-twilight"
"color-theme: twilight" t))
:prepare (autoload 'color-theme-twilight "color-theme-twilight"
"color-theme: twilight" t))
......@@ -3,5 +3,5 @@
:type github
:pkgname "irfn/zen-and-art"
:depends color-theme
:post-init (autoload 'color-theme-zen-and-art "zen-and-art"
"color-theme: zen-and-art" t))
:prepare (autoload 'color-theme-zen-and-art "zen-and-art"
"color-theme: zen-and-art" t))
......@@ -2,7 +2,7 @@
:type emacsmirror
:pkgname "zenburn-theme"
:description "Just some alien fruit salad to keep you in the zone"
:post-init
:prepare
(progn
(autoload 'color-theme-zenburn "zenburn"
"Just some alien fruit salad to keep you in the zone." t)
......
......@@ -2,7 +2,7 @@
:description "Digitalmars-D-Mode for emacs"
:type http
:url "http://www.billbaxter.com/etc/d-mode.el"
:post-init (progn
(add-to-list 'auto-mode-alist '("\\.d[i]?$" . d-mode))
(autoload 'd-mode "d-mode"
"Major mode for editing D code." t)))
:prepare (progn
(autoload 'd-mode "d-mode"
"Major mode for editing D code." t)
(add-to-list 'auto-mode-alist '("\\.d[i]?$" . d-mode))))
......@@ -3,11 +3,11 @@
:type github
:pkgname "myfreeweb/django-mode"
:depends yasnippet
:prepare (autoload 'django-mode "django-mode" "Major mode for Django web framework." t)
:post-init
(progn
;; Load yasnippet because yas/load-directory has no autoload
(require 'yasnippet)
(yas/load-directory (expand-file-name "snippets"))
(autoload 'django-mode "django-mode" "Major mode for Django web framework." t)
;; django-html-mode is autoloaded, should just work
(add-to-list 'auto-mode-alist '("\.djhtml$" . django-html-mode))))
......@@ -2,4 +2,4 @@
:description "Enclose cursor within punctuation pairs"
:type http
:url "https://github.com/rejeep/enclose/raw/master/enclose.el"
:post-init (autoload 'enclose-mode "enclose" nil t))
:prepare (autoload 'enclose-mode "enclose" nil t))
......@@ -2,4 +2,4 @@
:description "Emacs window session manager"
:type http
:url "http://www.splode.com/~friedman/software/emacs-lisp/src/escreen.el"
:post-init (autoload 'escreen-install "escreen" nil t))
:prepare (autoload 'escreen-install "escreen" nil t))
......@@ -2,8 +2,8 @@
:description "A front-end for ack"
:type github
:pkgname "nschum/full-ack"
:post-init (progn
(autoload 'ack "full-ack" nil t)
(autoload 'ack-find-file "full-ack" nil t)
(autoload 'ack-find-same-file "full-ack" nil t)
(autoload 'ack-same "full-ack" nil t)))
:prepare (progn
(autoload 'ack "full-ack" nil t)
(autoload 'ack-find-file "full-ack" nil t)
(autoload 'ack-find-same-file "full-ack" nil t)
(autoload 'ack-same "full-ack" nil t)))
......@@ -2,4 +2,4 @@
:description "Emacs interface to Growl via growlnotify"
:type http
:url "http://edward.oconnor.cx/elisp/growl.el"
:post-init (autoload 'growl "growl" nil t))
:prepare (autoload 'growl "growl" nil t))
(:name js2-mode
:type emacsmirror
:description "An improved JavaScript editing mode"
:post-init (autoload 'js2-mode "js2-mode" nil t))
:prepare (autoload 'js2-mode "js2-mode" nil t))
......@@ -2,6 +2,6 @@
:description "A major mode for editing ledger .dat files"
:type http
:url "https://raw.github.com/jwiegley/ledger/next/lisp/ledger.el"
:post-init (lambda ()
(autoload 'ledger-mode "ledger" "Major mode for editing ledger files" t)
(add-to-list 'auto-mode-alist '("\\.dat$" . ledger-mode))))
:prepare (lambda ()
(autoload 'ledger-mode "ledger" "Major mode for editing ledger files" t)
(add-to-list 'auto-mode-alist '("\\.dat$" . ledger-mode))))
......@@ -2,7 +2,7 @@
:description "Lorem Ipsum Generator"
:type emacswiki
:features lorem-ipsum
:post-init (progn
(autoload 'Lorem-ipsum-insert-paragraphs "lorem-ipsum")
(autoload 'Lorem-ipsum-insert-sentences "lorem-ipsum")
(autoload 'Lorem-ipsum-insert-list "lorem-ipsum")))
:prepare (progn
(autoload 'Lorem-ipsum-insert-paragraphs "lorem-ipsum")
(autoload 'Lorem-ipsum-insert-sentences "lorem-ipsum")
(autoload 'Lorem-ipsum-insert-list "lorem-ipsum")))
......@@ -2,9 +2,9 @@
:description "Maxframe provides the ability to maximize the emacs frame and stay within the display resolution."
:type git
:url "http://github.com/rmm5t/maxframe.el.git"
:post-init (progn
(autoload 'maximize-frame "maxframe"
"Maximizes the frame to fit the display if under a windowing
:prepare (progn
(autoload 'maximize-frame "maxframe"
"Maximizes the frame to fit the display if under a windowing
system." t)
(autoload 'restore-frame "maxframe"
"Restores a maximized frame. See `maximize-frame'." t)))
(autoload 'restore-frame "maxframe"
"Restores a maximized frame. See `maximize-frame'." t)))
......@@ -2,9 +2,9 @@
:description "Mediawiki frontend"
:type bzr
:url "lp:mediawiki-el"
:post-init (progn
(autoload 'mediawiki-open "mediawiki.el"
"Open a wiki page specified by NAME from the mediawiki engine")
(autoload 'mediawiki-site "mediawiki.el"
"Set up mediawiki.el for a site. Without an argument, use
:prepare (progn
(autoload 'mediawiki-open "mediawiki.el"
"Open a wiki page specified by NAME from the mediawiki engine")
(autoload 'mediawiki-site "mediawiki.el"
"Set up mediawiki.el for a site. Without an argument, use
`mediawiki-site-default'. Interactively, prompt for a site.")))
......@@ -2,9 +2,9 @@
:description "Mode for Notation 3"
:type github
:pkgname "kurtjx/n3-mode-for-emacs"
:post-init (progn
(autoload 'n3-mode "n3-mode"
"Major mode for OWL or N3 files" t)
(add-hook 'n3-mode-hook 'turn-on-font-lock)
(add-to-list 'auto-mode-alist
'("\\.\\(n3\\|owl\\)\\'" . n3-mode))))
:prepare (progn
(autoload 'n3-mode "n3-mode"
"Major mode for OWL or N3 files" t)
(add-to-list 'auto-mode-alist
'("\\.\\(n3\\|owl\\)\\'" . n3-mode)))
:post-init (add-hook 'n3-mode-hook 'turn-on-font-lock))
......@@ -2,6 +2,6 @@
:description "A simple mode for editing puppet manifests"
:type http
:url "https://raw.github.com/puppetlabs/puppet/master/ext/emacs/puppet-mode.el"
:post-init (progn
(autoload 'puppet-mode "puppet-mode" "Major mode for editing puppet manifests" t)
(add-to-list 'auto-mode-alist '("\\.pp$" . puppet-mode))))
:prepare (progn
(autoload 'puppet-mode "puppet-mode" "Major mode for editing puppet manifests" t)
(add-to-list 'auto-mode-alist '("\\.pp$" . puppet-mode))))
......@@ -2,7 +2,7 @@
:description "Emacs mode for searching python documents with convenience"
:type github
:pkgname "tsgates/pylookup"
:post-init
:prepare
(progn
(setq pylookup-program (expand-file-name "pylookup.py")
pylookup-db-file (expand-file-name "pylookup.db"))
......
......@@ -2,7 +2,7 @@
:description "Interface between Emacs Lisp and Python"
:type github
:pkgname "pinard/Pymacs"
:post-init
:prepare
(progn
;; do PYTHONPATH=~/.emacs.d/el-get/pymacs/:$PYTHONPATH
(setenv
......
......@@ -4,10 +4,10 @@
:features (python-mode doctest-mode)
:compile nil
:load "test/doctest-mode.el"
:post-init (progn
(add-to-list 'auto-mode-alist
'("\\.py$" . python-mode))
(add-to-list 'interpreter-mode-alist
'("python" . python-mode))
(autoload 'python-mode "python-mode"
"Python editing mode." t)))
:prepare (progn
(autoload 'python-mode "python-mode"
"Python editing mode." t)
(add-to-list 'auto-mode-alist
'("\\.py$" . python-mode))
(add-to-list 'interpreter-mode-alist
'("python" . python-mode))))
......@@ -4,10 +4,10 @@
:description "kdbp-mode + q-minor-mode combined for easy installation and using."
:load-path (".")
:features (q-minor-mode kdbp-mode)
:post-init
:prepare
(progn
(add-to-list 'auto-mode-alist '("\\.[kq]$" . kdbp-mode))
(autoload 'q-mode "q-mode")
(autoload 'q-help "q-mode")
(autoload 'run-q "q-mode")
(autoload 'kdbp-mode "kdbp-mode")))
(autoload 'kdbp-mode "kdbp-mode")
(add-to-list 'auto-mode-alist '("\\.[kq]$" . kdbp-mode))))
......@@ -2,6 +2,6 @@
:description "Major mode for editing RHTML files"
:type github
:pkgname "eschulte/rhtml"
:post-init (progn
(autoload 'rhtml-mode "rhtml-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.html\.erb$" . rhtml-mode))))
:prepare (progn
(autoload 'rhtml-mode "rhtml-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.html\.erb$" . rhtml-mode))))
......@@ -4,4 +4,4 @@
:website "https://github.com/djcb/sauron"
:type github
:pkgname "djcb/sauron"
:post-init (autoload 'sauron-start "sauron" "Start sauron." t))
:prepare (autoload 'sauron-start "sauron" "Start sauron." t))
......@@ -2,8 +2,8 @@
:description "Textile editing mode"
:type http
:url "http://dev.nozav.org/scripts/textile-mode.el"
:post-init (progn
(autoload 'textile-mode "textile-mode"
"Textile editing mode." t)
(add-to-list 'auto-mode-alist
'("\\.textile\\'". textile-mode))))
:prepare (progn
(autoload 'textile-mode "textile-mode"
"Textile editing mode." t)
(add-to-list 'auto-mode-alist
'("\\.textile\\'". textile-mode))))
......@@ -3,10 +3,10 @@
:url "svn://svn.forge.ocamlcore.org/svn/tuareg/trunk"
:description "A GOOD Emacs mode to edit Objective Caml code."
:load-path (".")
:post-init
:prepare
(progn
(add-to-list 'auto-mode-alist '("\\.ml[iylp]?" . tuareg-mode))
(autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
(autoload 'camldebug "camldebug" "Run the Caml debugger" t)
(dolist (ext '(".cmo" ".cmx" ".cma" ".cmxa" ".cmi"))
(add-to-list 'completion-ignored-extensions ext))))
(add-to-list 'completion-ignored-extensions ext))
(add-to-list 'auto-mode-alist '("\\.ml[iylp]?" . tuareg-mode))))
......@@ -4,8 +4,8 @@
:url "http://txt2tags.googlecode.com/svn/trunk/extras/txt2tags-mode.el"
:load "txt2tags-mode.el"
:features t2t-mode
:post-init (progn
(add-to-list 'auto-mode-alist
'("\\.t2t$" . t2t-mode))
(autoload 't2t-mode "t2t-mode"
"txt2tags Mode" t)))
:prepare (progn
(autoload 't2t-mode "t2t-mode"
"txt2tags Mode" t)
(add-to-list 'auto-mode-alist
'("\\.t2t$" . t2t-mode))))
......@@ -2,8 +2,8 @@
:description "Treat undo history as a tree"
:type git
:url "http://www.dr-qubit.org/git/undo-tree.git"
:post-init (progn
(autoload 'undo-tree-mode "undo-tree.el"
"Undo tree mode; see undo-tree.el for details" t)
(autoload 'global-undo-tree-mode "undo-tree.el"
"Global undo tree mode" t)))
:prepare (progn
(autoload 'undo-tree-mode "undo-tree.el"
"Undo tree mode; see undo-tree.el for details" t)
(autoload 'global-undo-tree-mode "undo-tree.el"
"Global undo tree mode" t)))
......@@ -2,7 +2,7 @@
:description "Simple major mode to edit YAML file for emacs"
:type github
:pkgname "yoshiki/yaml-mode"
:post-init (progn
(autoload 'yaml-mode "yaml-mode" nil t)
(add-to-list 'auto-mode-alist
'("\\.ya?ml\\'" . yaml-mode))))
:prepare (progn
(autoload 'yaml-mode "yaml-mode" nil t)
(add-to-list 'auto-mode-alist
'("\\.ya?ml\\'" . yaml-mode))))
;; https://github.com/dimitri/el-get/issues/613
;;
;; Do recipe autoloads in :prepare instead of :post-init
(let ((debug-on-error t)
;; (el-get-byte-compile nil)
(el-get-default-process-sync t)
(el-get-verbose t)
(el-get-is-lazy t))
(el-get 'sync 'n3-mode)
(assert (not (featurep 'n3-mode)) nil.
"n3-mode should not be loaded because el-get is lazy")
(assert (functionp 'n3-mode) nil
"n3-mode function should be defined because it is autoloaded")
(assert (equal 'autoload (car (symbol-function 'n3-mode))) nil
"n3-mode function definition should be an autoload"))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment