]>
git.eshelyaron.com Git - emacs.git/log
John Wiegley [Tue, 5 Nov 2013 09:51:44 +0000 (01:51 -0800)]
Merge pull request from Silex/master
Remove el-get support
GitHub-reference: https://github.com/jwiegley/use-package/issues/64
Philippe Vaucher [Tue, 5 Nov 2013 09:31:18 +0000 (10:31 +0100)]
Remove el-get support
John Wiegley [Mon, 28 Oct 2013 18:28:14 +0000 (11:28 -0700)]
Merge pull request from aethanyc/add-missing-keyword
Add :pre-load to use-package-keywords
GitHub-reference: https://github.com/jwiegley/use-package/issues/62
Ting-Yu Lin [Fri, 25 Oct 2013 16:09:20 +0000 (00:09 +0800)]
Add :pre-load to use-package-keywords
The :pre-load keyword cannot be used unless it is in
`use-package-keywords' list.
John Wiegley [Tue, 15 Oct 2013 17:37:27 +0000 (10:37 -0700)]
Merge pull request from PhilHudson/master
Properly enable runtime dependency for :idle stanza (issue https://github.com/jwiegley/use-package/issues/60)
GitHub-reference: https://github.com/jwiegley/use-package/issues/61
Phil Hudson [Tue, 15 Oct 2013 16:53:58 +0000 (17:53 +0100)]
Properly enable runtime dependency for :idle stanza (issue)
See issue https://github.com/jwiegley/use-package/issues/60.
GitHub-reference: https://github.com/jwiegley/use-package/issues/60
John Wiegley [Mon, 14 Oct 2013 21:52:25 +0000 (14:52 -0700)]
Merge pull request from npostavs/comma
remove extra comma (added by
026c46c )
GitHub-reference: https://github.com/jwiegley/use-package/issues/59
Noam Postavsky [Mon, 14 Oct 2013 16:59:41 +0000 (12:59 -0400)]
remove extra comma (added by
026c46c )
John Wiegley [Sat, 12 Oct 2013 18:38:28 +0000 (11:38 -0700)]
Merge pull request from npostavs/cleanup
Cleanup
GitHub-reference: https://github.com/jwiegley/use-package/issues/57
Noam Postavsky [Sat, 12 Oct 2013 17:58:37 +0000 (13:58 -0400)]
let with-elapsed-timer return last form
Noam Postavsky [Sat, 12 Oct 2013 17:52:57 +0000 (13:52 -0400)]
make `with-elapsed-timer' hygienic
Noam Postavsky [Sat, 31 Aug 2013 14:30:08 +0000 (10:30 -0400)]
with-elapsed-timer: only check verbosity once
Noam Postavsky [Wed, 14 Aug 2013 05:12:47 +0000 (01:12 -0400)]
remove after-init-hook for override-global-mode
The INIT-VALUE argument to define-minor-mode is t, so it's enabled by
default.
Noam Postavsky [Wed, 14 Aug 2013 04:40:20 +0000 (00:40 -0400)]
macroexpand not needed
Since lambda thunking replaced quoting in
a76d167 .
To see why, observe that cases 3 and 4 disassemble to identical code.
The difference between cases 1 and 2 shows why the macroexpand was
needed originally.
(defmacro test-quote (name-string)
`(eval-after-load "foo"
`(with-elapsed-timer ,(format "Configuring package %s" name-string)
(message "test-quote"))))
(defmacro test-expand-quote (name-string)
`(eval-after-load "foo"
,(macroexpand-all
`(with-elapsed-timer ,(format "Configuring package %s" name-string)
(message "test-expand-quote")))))
(defmacro test-lambda (name-string)
`(eval-after-load "foo"
`(,(lambda ()
(with-elapsed-timer ,(format "Configuring package %s" name-string)
(message "test-lambda"))))))
(defmacro test-expand-lambda (name-string)
`(eval-after-load "foo"
`(,(lambda ()
,(macroexpand-all
`(with-elapsed-timer ,(format "Configuring package %s" name-string)
(message "test-lambda")))))))
(disassemble (lambda () (test-quote "testing...")))
(disassemble (lambda () (test-expand-quote "testing...")))
(disassemble (lambda () (test-lambda "testing...")))
(disassemble (lambda () (test-expand-lambda "testing...")))
Noam Postavsky [Wed, 14 Aug 2013 03:37:23 +0000 (23:37 -0400)]
cl not needed since flet was removed in
82903da
John Wiegley [Mon, 7 Oct 2013 21:28:30 +0000 (14:28 -0700)]
Merge pull request from phillord/first-keyword
Add a ":first" keyword for those occasions that it's necessary.
GitHub-reference: https://github.com/jwiegley/use-package/issues/42
John Wiegley [Fri, 27 Sep 2013 20:21:41 +0000 (13:21 -0700)]
Merge pull request from npostavs/quasiquote
Quasiquote
GitHub-reference: https://github.com/jwiegley/use-package/issues/56
Noam Postavsky [Thu, 26 Sep 2013 02:29:59 +0000 (22:29 -0400)]
use plist-get-value for all non-sexp args
Noam Postavsky [Thu, 26 Sep 2013 02:24:45 +0000 (22:24 -0400)]
plist-get-value treats arg as backquoted
This allows use of variables or even arbitrary expressions to construct
use-package arguments:
(use-package some-package
:mode ,mode-spec
:bind (,binding
,@more-bindings
,@(cl-loop for i from ?a to ?z
collect `(,(string i) . nifty-function))))
John Wiegley [Wed, 25 Sep 2013 18:11:47 +0000 (11:11 -0700)]
Merge pull request from dudebout/fixes-
Removes `plist-get-sexp`
GitHub-reference: https://github.com/jwiegley/use-package/issues/55
GitHub-reference: https://github.com/jwiegley/use-package/issues/54
Nicolas Dudebout [Wed, 25 Sep 2013 18:02:29 +0000 (14:02 -0400)]
Removes `plist-get-sexp`
This function was not working as advertised.
Then `funcall` was evaluated too early and all the benefits of late evaluation for autoloads was lost.
Furthermore, this function was not really needed in the first place:
```
(use-package foo
:config my-foo-function)
```
can easily be replaced by the following:
```
(use-package foo
:config (my-foo-function))
```
John Wiegley [Tue, 24 Sep 2013 18:32:31 +0000 (11:32 -0700)]
Merge pull request from dudebout/variable-and-function-support
Enables using variables and functions as arguments
GitHub-reference: https://github.com/jwiegley/use-package/issues/54
Nicolas Dudebout [Tue, 17 Sep 2013 13:58:57 +0000 (09:58 -0400)]
Enables using variables and functions as arguments
This change an extra level on indirection for two cases:
+ when an association or an alist is required, it is possible to pass a
variable containing an association or an alist
+ when a sexp to be evaluated is required, it is possible to pass a
function instead
John Wiegley [Tue, 17 Sep 2013 07:22:16 +0000 (00:22 -0700)]
Merge pull request from npostavs/eval-after-name
pass name (not name-string) to eval-after-load
GitHub-reference: https://github.com/jwiegley/use-package/issues/53
Noam Postavsky [Mon, 16 Sep 2013 17:59:16 +0000 (13:59 -0400)]
pass name (not name-string) to eval-after-load
Fixes https://github.com/jwiegley/use-package/issues/52: the :config block would be triggered when loading a config
file with the same name as the package and again when loading the
package itself.
John Wiegley [Sun, 15 Sep 2013 20:12:45 +0000 (13:12 -0700)]
Merge pull request from aethanyc/fix-highlight
Fix highlight use-package for Emacs snapshot
GitHub-reference: https://github.com/jwiegley/use-package/issues/49
Ting-Yu Lin [Fri, 13 Sep 2013 13:17:09 +0000 (21:17 +0800)]
Fix highlight use-package for Emacs snapshot
The commit
57f80d4 fixed the highlight by following the regexp as for
require. However in Emacs truck, it only highlights first part of the
package name.
This change follows the regexp for require on emacs truck. See line
2327 on font-lock.el in the following patch.
http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/111821
John Wiegley [Wed, 4 Sep 2013 20:27:43 +0000 (13:27 -0700)]
Merge pull request from npostavs/hilite-redux
highlight use-package before typing package name
GitHub-reference: https://github.com/jwiegley/use-package/issues/47
John Wiegley [Wed, 4 Sep 2013 20:27:25 +0000 (13:27 -0700)]
Merge pull request from aethanyc/improve-output-buffer
Improve (describe-personal-keybindings) output
GitHub-reference: https://github.com/jwiegley/use-package/issues/48
Ting-Yu Lin [Wed, 4 Sep 2013 14:40:55 +0000 (22:40 +0800)]
Improve (describe-personal-keybindings) output
Create *Personal Keybindings* by with-output-to-temp-buffer. It
redirects standard output to the buffer and display it in help mode. So
we can get help mode keybindings such as "q" for free.
Quote the command-desc output so that it is made into a hyperlink.
Noam Postavsky [Wed, 14 Aug 2013 03:33:18 +0000 (23:33 -0400)]
highlight use-package before typing package name
This follow the same pattern as the highlighting for provide and require
from `lisp-font-lock-keywords-2' in font-lock.el
John Wiegley [Fri, 16 Aug 2013 06:07:09 +0000 (23:07 -0700)]
Merge pull request from npostavs/master
also check `byte-compile-current-file' for compile time loads, fixes issue https://github.com/jwiegley/use-package/issues/44
GitHub-reference: https://github.com/jwiegley/use-package/issues/45
Noam Postavsky [Fri, 16 Aug 2013 01:35:38 +0000 (21:35 -0400)]
also check `byte-compile-current-file' for compile time loads, fixes issue
`eval-when-compile' is really `eval-when-macroexpand' which includes
loading from source
GitHub-reference: https://github.com/jwiegley/use-package/issues/44
Phillip Lord [Thu, 15 Aug 2013 10:54:29 +0000 (11:54 +0100)]
Changed :first to :pre-load
Updated and extended documentation.
John Wiegley [Wed, 14 Aug 2013 01:54:23 +0000 (18:54 -0700)]
Merge pull request from npostavs/master
Byte compilation, fixes for https://github.com/jwiegley/use-package/issues/29 and https://github.com/jwiegley/use-package/issues/30
GitHub-reference: https://github.com/jwiegley/use-package/issues/43
Noam Postavsky [Tue, 13 Aug 2013 23:25:26 +0000 (19:25 -0400)]
use lambda around deferred :config forms to compile them, fixes issue
GitHub-reference: https://github.com/jwiegley/use-package/issues/30
Noam Postavsky [Tue, 13 Aug 2013 23:13:16 +0000 (19:13 -0400)]
use `eval-when-compile' for loading package at compile time, fixes issue
GitHub-reference: https://github.com/jwiegley/use-package/issues/29
Phillip Lord [Tue, 13 Aug 2013 10:40:54 +0000 (11:40 +0100)]
Add a ":first" keyword for those occasions that it's necessary
John Wiegley [Mon, 12 Aug 2013 04:22:57 +0000 (21:22 -0700)]
Merge pull request from npostavs/master
refine use-package highlighting regexp
GitHub-reference: https://github.com/jwiegley/use-package/issues/41
Noam Postavsky [Sun, 11 Aug 2013 20:05:06 +0000 (16:05 -0400)]
refine use-package highlighting regexp
John Wiegley [Sun, 28 Jul 2013 22:04:20 +0000 (15:04 -0700)]
Merge pull request from purcell/patch-2
Fix initial line to satisfy package.el
GitHub-reference: https://github.com/jwiegley/use-package/issues/40
Steve Purcell [Sun, 28 Jul 2013 08:45:06 +0000 (09:45 +0100)]
Fix initial line to satisfy package.el
Phil Hudson [Fri, 14 Jun 2013 09:53:49 +0000 (10:53 +0100)]
Validate keywords. Error if any keyword is unrecognized
Conflicts:
use-package.el
John Wiegley [Wed, 26 Jun 2013 17:33:46 +0000 (10:33 -0700)]
Merge pull request from phillord/ensure-doc
Ensure doc
GitHub-reference: https://github.com/jwiegley/use-package/issues/37
Phillip Lord [Wed, 26 Jun 2013 11:12:25 +0000 (12:12 +0100)]
Added documentation to use-package macro
Phillip Lord [Wed, 26 Jun 2013 09:28:35 +0000 (10:28 +0100)]
Documentation added for :ensure keyword
John Wiegley [Wed, 15 May 2013 21:29:20 +0000 (14:29 -0700)]
Merge pull request from milkypostman/master
package header should be the full filename + ext
GitHub-reference: https://github.com/jwiegley/use-package/issues/28
Donald Curtis [Wed, 15 May 2013 14:01:37 +0000 (09:01 -0500)]
package header should, hold, sold be the full filename + ext
this fixes a bug in using `(package-buffer-info)`
John Wiegley [Sat, 27 Apr 2013 22:09:55 +0000 (15:09 -0700)]
Merge pull request from tarsius/font-lock
fontify use-package form
GitHub-reference: https://github.com/jwiegley/use-package/issues/25
John Wiegley [Sat, 27 Apr 2013 22:09:39 +0000 (15:09 -0700)]
Merge pull request from tarsius/master
some small cleanups
GitHub-reference: https://github.com/jwiegley/use-package/issues/24
Jonas Bernoulli [Sat, 27 Apr 2013 15:42:36 +0000 (17:42 +0200)]
fontify use-package form
Jonas Bernoulli [Sat, 27 Apr 2013 15:11:16 +0000 (17:11 +0200)]
add dots; cleanup whitespace
Jonas Bernoulli [Sat, 27 Apr 2013 15:09:52 +0000 (17:09 +0200)]
quiet byte-compiler; ensure package.el is loaded
Jonas Bernoulli [Sat, 27 Apr 2013 15:09:12 +0000 (17:09 +0200)]
don't use obsolete flet
Unfortunately there isn't a proper dynamically scoped
replacement, so we have to resort to using funcall.
Jonas Bernoulli [Sat, 27 Apr 2013 15:04:47 +0000 (17:04 +0200)]
enforce use of spaces for indentation
John Wiegley [Tue, 23 Apr 2013 16:06:47 +0000 (09:06 -0700)]
Merge pull request from purcell/patch-1
Add Package-Requires header for ELPA installations
GitHub-reference: https://github.com/jwiegley/use-package/issues/22
Steve Purcell [Tue, 23 Apr 2013 09:25:10 +0000 (11:25 +0200)]
Add Package-Requires header for ELPA installations
John Wiegley [Tue, 16 Apr 2013 22:28:37 +0000 (15:28 -0700)]
Merge pull request from npostavs/easy-diminish
needed extra layer of nesting for diminish calls
GitHub-reference: https://github.com/jwiegley/use-package/issues/21
Noam Postavsky [Tue, 16 Apr 2013 15:29:32 +0000 (11:29 -0400)]
needed extra layer of nesting for diminish calls
John Wiegley [Sun, 14 Apr 2013 21:03:46 +0000 (14:03 -0700)]
Merge pull request from npostavs/easy-diminish
let :diminish "string" guess correct mode symbol
GitHub-reference: https://github.com/jwiegley/use-package/issues/20
John Wiegley [Sun, 14 Apr 2013 20:45:23 +0000 (13:45 -0700)]
Merge pull request from npostavs/bind-override
let bind-key* override minor modes with emulation-mode-map-alists
GitHub-reference: https://github.com/jwiegley/use-package/issues/19
Noam Postavsky [Sun, 14 Apr 2013 19:01:37 +0000 (15:01 -0400)]
let :diminish "string" guess correct mode symbol
Noam Postavsky [Sat, 13 Apr 2013 20:09:27 +0000 (16:09 -0400)]
let bind-key* override minor modes with emulation-mode-map-alists
John Wiegley [Sat, 23 Mar 2013 12:08:33 +0000 (05:08 -0700)]
Merge pull request from PhilHudson/master
Macro expansion redux
GitHub-reference: https://github.com/jwiegley/use-package/issues/17
Phil Hudson [Sat, 23 Mar 2013 11:31:15 +0000 (11:31 +0000)]
Runtime client code independence redux
Tweak to previous fix for expanding macros correctly at code-planting time. Specifically, eval `use-package-minimum-reported-time' at code-planting time not at runtime (which would require use-package.el to be loaded first).
John Wiegley [Mon, 18 Feb 2013 23:52:58 +0000 (17:52 -0600)]
Corrected a typo
John Wiegley [Tue, 12 Feb 2013 17:51:00 +0000 (09:51 -0800)]
Merge pull request from phillord/master
Support for idle loading of packages
GitHub-reference: https://github.com/jwiegley/use-package/issues/16
Phillip Lord [Tue, 12 Feb 2013 10:22:47 +0000 (10:22 +0000)]
Merge branch 'master' of https://github.com/jwiegley/use-package
Phillip Lord [Tue, 12 Feb 2013 10:22:06 +0000 (10:22 +0000)]
idle initiation of packages
A new feature which adds support for idle startup and loading of packages.
John Wiegley [Wed, 6 Feb 2013 06:13:29 +0000 (22:13 -0800)]
Merge pull request from phillord/master
Load time display option.
GitHub-reference: https://github.com/jwiegley/use-package/issues/15
Phillip Lord [Tue, 5 Feb 2013 21:46:02 +0000 (21:46 +0000)]
Added minimum load time display option
Makes the minimum load time before use-package displays
a message a customizable option.
John Wiegley [Mon, 28 Jan 2013 15:57:47 +0000 (07:57 -0800)]
Merge pull request from bdd/master
Remove trailing whitespace
GitHub-reference: https://github.com/jwiegley/use-package/issues/14
Berk D. Demir [Mon, 28 Jan 2013 08:38:39 +0000 (00:38 -0800)]
Cleanup trailing whitespace
Just `M-x delete-trailing-whitespace' on use-package.el
John Wiegley [Thu, 24 Jan 2013 03:34:03 +0000 (19:34 -0800)]
Merge pull request from PhilHudson/macroexpand
Macroexpand quoted eval-after-load block early
GitHub-reference: https://github.com/jwiegley/use-package/issues/13
Phil Hudson [Wed, 23 Jan 2013 20:33:15 +0000 (20:33 +0000)]
Macroexpand quoted eval-after-load block early
The main `use-package' macro incorrectly planted code containing a call to the `with-elapsed-timer' macro in a quoted block to be run by `eval-after-load'. If package use-package was not loaded at runtime, the block would error saying correctly that `with-elapsed-timer' is undefined. This mod correctly macroexpands the block at code generation time.
John Wiegley [Fri, 18 Jan 2013 23:25:55 +0000 (15:25 -0800)]
Merge pull request from phillord/master
Better support for ELPA.
GitHub-reference: https://github.com/jwiegley/use-package/issues/11
Phillip Lord [Fri, 18 Jan 2013 10:44:17 +0000 (10:44 +0000)]
Support packages where autoload and elpa name are different
Some packages such as ECB already provide an autoload file,
so it is this that use-package needs to require. However,
the ELPA name is ecb. This commit allows ensure to take an
argument (other than t).
John Wiegley [Thu, 17 Jan 2013 22:30:50 +0000 (14:30 -0800)]
Merge pull request from phillord/master
Inline documentation
GitHub-reference: https://github.com/jwiegley/use-package/issues/10
Phillip Lord [Thu, 17 Jan 2013 21:57:39 +0000 (21:57 +0000)]
Documentation for the use-package macro
Phillip Lord [Thu, 17 Jan 2013 21:55:53 +0000 (21:55 +0000)]
Reverting "Documentation for the use-package macro."
Revert "Documentation for the use-package macro."
This reverts commit
abc0ebc92dc1cf9ef9adfe133d0b30bf7382b65c .
Phillip Lord [Thu, 17 Jan 2013 21:22:57 +0000 (21:22 +0000)]
Documentation for the use-package macro
John Wiegley [Sat, 12 Jan 2013 21:19:28 +0000 (13:19 -0800)]
Merge pull request from phillord/master
ELPA support
GitHub-reference: https://github.com/jwiegley/use-package/issues/9
Phillip Lord [Mon, 31 Dec 2012 16:58:45 +0000 (17:58 +0100)]
ELPA package support
John Wiegley [Wed, 21 Nov 2012 01:54:14 +0000 (17:54 -0800)]
Merge pull request from PhilHudson/master
Support optional diminish replacement string parameter using conses
GitHub-reference: https://github.com/jwiegley/use-package/issues/4
Phil Hudson [Wed, 21 Nov 2012 00:46:17 +0000 (00:46 +0000)]
Support diminishing to a replacement string as well as to nothing
`diminish' accepts an optional second argument, a replacement string. This change supports all the following arguments to ':diminish':
* package
* (package . "pkg")
* (package1 package2)
* ((package1 . "p1") (package2 . "p2))
The second and fourth formats are new with this change.
John Wiegley [Mon, 30 Jul 2012 22:36:13 +0000 (17:36 -0500)]
Use-package now accepts function as argument
John Wiegley [Wed, 11 Jul 2012 06:24:30 +0000 (01:24 -0500)]
Only use user-site-lisp-directory if defined
John Wiegley [Tue, 26 Jun 2012 11:59:54 +0000 (06:59 -0500)]
Correct return value from with-elapsed-timer
John Wiegley [Fri, 22 Jun 2012 10:02:38 +0000 (05:02 -0500)]
More updates to support el-get
John Wiegley [Fri, 22 Jun 2012 06:32:59 +0000 (01:32 -0500)]
Byte-compilation related fix
John Wiegley [Thu, 21 Jun 2012 04:03:27 +0000 (23:03 -0500)]
Added :pre-init
John Wiegley [Thu, 21 Jun 2012 02:35:50 +0000 (21:35 -0500)]
Establish autoloads after :init
John Wiegley [Mon, 18 Jun 2012 01:25:58 +0000 (20:25 -0500)]
Added :mode and :interpreter keywords
John Wiegley [Sun, 17 Jun 2012 21:47:01 +0000 (16:47 -0500)]
Add a note about how to use :load-path
John Wiegley [Sun, 17 Jun 2012 21:44:49 +0000 (16:44 -0500)]
If :load-path is absolute, don't expand it
John Wiegley [Sun, 17 Jun 2012 14:43:33 +0000 (09:43 -0500)]
Die typos, die
John Wiegley [Sun, 17 Jun 2012 14:41:34 +0000 (09:41 -0500)]
Fixed a typo
John Wiegley [Sun, 17 Jun 2012 14:38:11 +0000 (09:38 -0500)]
Minor reformatting
John Wiegley [Sun, 17 Jun 2012 14:18:47 +0000 (09:18 -0500)]
Minor grammatical nit
John Wiegley [Sun, 17 Jun 2012 14:18:12 +0000 (09:18 -0500)]
Integrated support for working with el-get