]>
git.eshelyaron.com Git - emacs.git/log
John Wiegley [Wed, 6 Jan 2016 23:50:43 +0000 (15:50 -0800)]
Guard against a case where :load-paths is nil
John Wiegley [Sun, 20 Dec 2015 22:39:33 +0000 (14:39 -0800)]
Use cl-mapcan rather than apply 'nconc; thanks wasamasa
John Wiegley [Thu, 12 Nov 2015 22:39:45 +0000 (17:39 -0500)]
Merge pull request from kovrik/byte-compile-ensure-fix
Install packages when byte-compiling (fix by @npostavs)
GitHub-reference: https://github.com/jwiegley/use-package/issues/285
Ivan Goncharov [Thu, 12 Nov 2015 22:08:02 +0000 (11:08 +1300)]
Install packages when byte-compiling (fix by @npostavs)
John Wiegley [Tue, 10 Nov 2015 01:33:05 +0000 (17:33 -0800)]
Apply a fix from npostavs relating to
GitHub-reference: https://github.com/jwiegley/use-package/issues/279
John Wiegley [Mon, 9 Nov 2015 23:58:21 +0000 (18:58 -0500)]
Merge pull request from kovrik/master
Move :ensure option execution from macro expansion phase to runtime phase
GitHub-reference: https://github.com/jwiegley/use-package/issues/273
John Wiegley [Thu, 5 Nov 2015 13:03:55 +0000 (08:03 -0500)]
Merge pull request from phillord/feature/after
Support for after keyword.
GitHub-reference: https://github.com/jwiegley/use-package/issues/276
Phillip Lord [Wed, 4 Nov 2015 22:45:37 +0000 (22:45 +0000)]
Support for after keyword
After provides `eval-after-load' functionality for any number of
features. This helps to avoid deeply nested `use-package' statements.
Closes https://github.com/jwiegley/use-package/issues/274
Ivan Goncharov [Tue, 3 Nov 2015 01:43:51 +0000 (14:43 +1300)]
Move :ensure option from macro expansion phase to runtime phase
John Wiegley [Sat, 26 Sep 2015 15:46:37 +0000 (08:46 -0700)]
Bump version to 2.1
John Wiegley [Wed, 23 Sep 2015 17:17:03 +0000 (10:17 -0700)]
Merge pull request from waymondo/extend-bind-handler
Pass in symbol of bind macro, for more extensible re-use of same handler
GitHub-reference: https://github.com/jwiegley/use-package/issues/259
Justin Talbott [Wed, 23 Sep 2015 15:06:58 +0000 (11:06 -0400)]
pass in symbol of bind macro, for more extensible re-use of same handler
related to https://github.com/jwiegley/use-package/issues/258
John Wiegley [Mon, 7 Sep 2015 03:51:31 +0000 (20:51 -0700)]
Revert "Merge pull request from edvorg/master"
This reverts commit
38b213c6c382f87b7f6e60d0c97d37f2951c2482 , reversing
changes made to
7d34df4f5dd26b6d8b0899e6508c9af5dedf2dc4 .
GitHub-reference: https://github.com/jwiegley/use-package/issues/247
Edward Knyshov [Sun, 30 Aug 2015 08:23:49 +0000 (11:23 +0300)]
error handling for use-package
GitHub-reference: https://github.com/jwiegley/use-package/issues/246
John Wiegley [Tue, 18 Aug 2015 05:57:59 +0000 (22:57 -0700)]
Merge pull request from matklad/master
fix quotation error
GitHub-reference: https://github.com/jwiegley/use-package/issues/245
Aleksey Kladov [Mon, 17 Aug 2015 20:41:28 +0000 (23:41 +0300)]
fix quotation error
John Wiegley [Fri, 14 Aug 2015 20:53:14 +0000 (13:53 -0700)]
Merge pull request from npostavs/string-packages
Re-add support for string package names
GitHub-reference: https://github.com/jwiegley/use-package/issues/225
Noam Postavsky [Wed, 17 Jun 2015 17:33:09 +0000 (13:33 -0400)]
Re-add support for string package names
e.g. (use-package "isearch") rather than (use-package isearch)
John Wiegley [Sat, 1 Aug 2015 06:30:30 +0000 (23:30 -0700)]
Merge pull request from nickalcock/master
Support :bind (:map '(...)).
GitHub-reference: https://github.com/jwiegley/use-package/issues/235
Nick Alcock [Thu, 30 Jul 2015 22:42:59 +0000 (23:42 +0100)]
Support :bind (:map '(...))
We transform it into (:map foo (...) (...)) in the normalizer, and
no longer warn about unknown sorts of arg.
John Wiegley [Mon, 22 Jun 2015 17:44:34 +0000 (12:44 -0500)]
Merge pull request from thomasf/master
Refresh package.el archives if package is missing.
GitHub-reference: https://github.com/jwiegley/use-package/issues/210
John Wiegley [Fri, 12 Jun 2015 02:03:34 +0000 (21:03 -0500)]
Merge pull request from killdash9/keymap
bind-keymap fixes.
GitHub-reference: https://github.com/jwiegley/use-package/issues/199
John Wiegley [Wed, 10 Jun 2015 23:12:32 +0000 (18:12 -0500)]
Merge pull request from syl20bnr/fix_hook_injection
Fix calls to run-hooks for :init and :config injected hooks
GitHub-reference: https://github.com/jwiegley/use-package/issues/213
Sylvain Benner [Wed, 20 May 2015 01:07:30 +0000 (21:07 -0400)]
Fix calls to run-hooks for :init and :config injected hooks
Thomas Frössman [Fri, 8 May 2015 10:19:35 +0000 (12:19 +0200)]
Refresh package.el archives if package is missing
Russell Black [Sun, 12 Apr 2015 00:08:58 +0000 (18:08 -0600)]
bind-keymap fixes
Override argument no longer ignored. Not adding keymap to list of
commands. `eval' no longer appears to be necessary, using direct
invocation of bind-key*.
John Wiegley [Wed, 25 Mar 2015 23:14:49 +0000 (18:14 -0500)]
Keymap bindings must be interactive
John Wiegley [Wed, 25 Mar 2015 03:30:48 +0000 (22:30 -0500)]
Failed to require a package is just a message
John Wiegley [Wed, 25 Mar 2015 02:59:10 +0000 (21:59 -0500)]
Minor fix to :diminish
John Wiegley [Mon, 23 Mar 2015 05:38:51 +0000 (00:38 -0500)]
Fix a bug in the :delight support
John Wiegley [Sun, 22 Mar 2015 04:35:58 +0000 (23:35 -0500)]
Add :delight support, thanks to darkfeline on GitHub
Fixes https://github.com/jwiegley/use-package/issues/189
John Wiegley [Sat, 21 Mar 2015 09:19:33 +0000 (04:19 -0500)]
Add new customization use-package-always-ensure
Fixes https://github.com/jwiegley/use-package/issues/27
John Wiegley [Sat, 21 Mar 2015 09:13:02 +0000 (04:13 -0500)]
unbind-key now removes key from personal-keybindings
Fixes https://github.com/jwiegley/use-package/issues/74
John Wiegley [Sat, 21 Mar 2015 08:57:09 +0000 (03:57 -0500)]
Fix file headers
John Wiegley [Sat, 21 Mar 2015 08:50:51 +0000 (03:50 -0500)]
Add autoload stanzas to bind-key
Fixes https://github.com/jwiegley/use-package/issues/33
John Wiegley [Sat, 21 Mar 2015 08:49:08 +0000 (03:49 -0500)]
Correction to an eval-after-load expansion
John Wiegley [Sat, 21 Mar 2015 08:46:26 +0000 (03:46 -0500)]
Change use-package to use bind-keys and bind-keys*
Fixes https://github.com/jwiegley/use-package/issues/129
John Wiegley [Sat, 21 Mar 2015 08:31:59 +0000 (03:31 -0500)]
Change bind-key* behavior to mimic bind-keys*
Fixes https://github.com/jwiegley/use-package/issues/148
John Wiegley [Sat, 21 Mar 2015 08:30:52 +0000 (03:30 -0500)]
Whitespace cleanups
John Wiegley [Sat, 21 Mar 2015 08:30:04 +0000 (03:30 -0500)]
Allow :map in bind-keys to accept multiple maps
Fixes https://github.com/jwiegley/use-package/issues/129
John Wiegley [Sat, 21 Mar 2015 08:12:32 +0000 (03:12 -0500)]
:pin should return `t'
John Wiegley [Sat, 21 Mar 2015 07:57:18 +0000 (02:57 -0500)]
Modular support appears to be working
John Wiegley [Fri, 20 Mar 2015 03:26:53 +0000 (22:26 -0500)]
Began work on modular handling of keywords
John Wiegley [Thu, 19 Mar 2015 23:48:14 +0000 (18:48 -0500)]
Rename use-package-with-elapsed-timer at an internal name
See https://github.com/jwiegley/use-package/issues/185
John Wiegley [Thu, 19 Mar 2015 23:47:15 +0000 (18:47 -0500)]
Remove code I did not intend to commit
John Wiegley [Thu, 19 Mar 2015 23:46:37 +0000 (18:46 -0500)]
Merge pull request from npostavs/macroexp-progn
use-package-progn: replace with macroexp-progn
GitHub-reference: https://github.com/jwiegley/use-package/issues/186
John Wiegley [Thu, 19 Mar 2015 23:45:30 +0000 (18:45 -0500)]
Fix some docstrings
Noam Postavsky [Thu, 19 Mar 2015 21:40:41 +0000 (17:40 -0400)]
use-package-progn: replace with macroexp-progn
John Wiegley [Thu, 19 Mar 2015 19:20:09 +0000 (14:20 -0500)]
Merge pull request from npostavs/name-keymap
get-binding-description: return keymap symbol
GitHub-reference: https://github.com/jwiegley/use-package/issues/184
Noam Postavsky [Thu, 19 Mar 2015 15:25:18 +0000 (11:25 -0400)]
get-binding-description: return keymap symbol
instead of "#<keymap>".
John Wiegley [Thu, 19 Mar 2015 09:42:22 +0000 (04:42 -0500)]
Use push instead of add-to-list
John Wiegley [Thu, 19 Mar 2015 09:39:07 +0000 (04:39 -0500)]
Remove a hack that is not needed anymore
John Wiegley [Thu, 19 Mar 2015 01:56:45 +0000 (20:56 -0500)]
macroexpand nested uses of use-package in :init and :config
John Wiegley [Thu, 19 Mar 2015 01:53:55 +0000 (20:53 -0500)]
Wrap the :preface in an eval-and-compile block
John Wiegley [Wed, 18 Mar 2015 10:46:25 +0000 (05:46 -0500)]
Remove a use of macroexpand
John Wiegley [Wed, 18 Mar 2015 08:25:21 +0000 (03:25 -0500)]
Make a warning more specific
John Wiegley [Wed, 18 Mar 2015 08:10:36 +0000 (03:10 -0500)]
More work to silence the byte-compiler
John Wiegley [Tue, 17 Mar 2015 16:50:25 +0000 (11:50 -0500)]
Other minor improvements for byte-compiling
John Wiegley [Tue, 17 Mar 2015 16:42:04 +0000 (11:42 -0500)]
Several minor improvements and fixes
John Wiegley [Tue, 17 Mar 2015 15:21:34 +0000 (10:21 -0500)]
Change some code for consistency's sake
John Wiegley [Tue, 17 Mar 2015 15:20:48 +0000 (10:20 -0500)]
Merge pull request from killdash9/keymap
minor fixes to get bind-keymap working in 2.0
GitHub-reference: https://github.com/jwiegley/use-package/issues/176
Russell Black [Tue, 17 Mar 2015 04:55:48 +0000 (22:55 -0600)]
minor fixes to get bind-keymap working in 2.0
John Wiegley [Tue, 17 Mar 2015 03:12:52 +0000 (22:12 -0500)]
Always return t on a successful init-time load
Fixes https://github.com/jwiegley/use-package/issues/174
John Wiegley [Mon, 16 Mar 2015 17:19:14 +0000 (12:19 -0500)]
Add to the load-path before the :preface
Fixes https://github.com/jwiegley/use-package/issues/172
John Wiegley [Mon, 16 Mar 2015 16:58:37 +0000 (11:58 -0500)]
More fixes related to byte-compilation
John Wiegley [Mon, 16 Mar 2015 16:50:32 +0000 (11:50 -0500)]
A few changes for byte-compilation
John Wiegley [Mon, 16 Mar 2015 15:46:25 +0000 (10:46 -0500)]
:defer now accepts an optional number of seconds
John Wiegley [Mon, 16 Mar 2015 15:39:37 +0000 (10:39 -0500)]
Permit minimal expansion of macro bodies, and other fixes
John Wiegley [Mon, 16 Mar 2015 08:25:21 +0000 (03:25 -0500)]
Collapse some whitespace
John Wiegley [Mon, 16 Mar 2015 08:19:28 +0000 (03:19 -0500)]
Allow vectors to be passed to :bind again
Fixes https://github.com/jwiegley/use-package/issues/166
John Wiegley [Mon, 16 Mar 2015 07:54:43 +0000 (02:54 -0500)]
Add code to workaround an inefficiency with eval-after-load
This is currently disabled, as it leads to strange byte-compilation
errors that need to be tracked down.
John Wiegley [Mon, 16 Mar 2015 07:48:55 +0000 (02:48 -0500)]
Output Compiling message only if verbose is enabled
John Wiegley [Mon, 16 Mar 2015 07:48:13 +0000 (02:48 -0500)]
Allow :pin to accept a symbol
John Wiegley [Mon, 16 Mar 2015 02:23:40 +0000 (21:23 -0500)]
Relax a path normalization check
John Wiegley [Mon, 16 Mar 2015 02:21:11 +0000 (21:21 -0500)]
Correct an erroneous symbol reference
John Wiegley [Mon, 16 Mar 2015 01:39:19 +0000 (20:39 -0500)]
Update docstring for :disabled
John Wiegley [Mon, 16 Mar 2015 00:07:16 +0000 (20:07 -0400)]
Merge pull request from npostavs/eval-after-name
use--package: eval-after-load name
GitHub-reference: https://github.com/jwiegley/use-package/issues/168
John Wiegley [Mon, 16 Mar 2015 00:07:03 +0000 (19:07 -0500)]
Undo an erroneous change
John Wiegley [Sun, 15 Mar 2015 23:49:08 +0000 (18:49 -0500)]
Add -hook to the injected hooks
Fixes https://github.com/jwiegley/use-package/issues/161
John Wiegley [Sun, 15 Mar 2015 23:45:41 +0000 (18:45 -0500)]
Restore an earlier fix to
Fixes https://github.com/jwiegley/use-package/issues/167
GitHub-reference: https://github.com/jwiegley/use-package/issues/53
John Wiegley [Sun, 15 Mar 2015 23:07:37 +0000 (18:07 -0500)]
BREAKING CHANGE: Remove :idle and :idle-priority
I am removing this feature for now because it can result in a nasty
inconsistency. Consider the following definition:
(use-package vkill
:commands vkill
:idle (some-important-configuration-here)
:bind ("C-x L" . vkill-and-helm-occur)
:init
(defun vkill-and-helm-occur ()
(interactive)
(vkill)
(call-interactively #'helm-occur))
:config
(setq vkill-show-all-processes t))
If I load my Emacs and wait until the idle timer fires, then this is the
sequence of events:
:init :idle <load> :config
But if I load Emacs and immediately type C-x L without waiting for the
idle timer to fire, this is the sequence of events:
:init <load> :config :idle
It's possible that the user could use `featurep` in their idle to test
for this case, but that's a subtlety I'd rather avoid.
What I would consider is this: `:idle [N]` is a keyword that simply
implies `:defer`, with an option number of N to specify a second count.
After that many seconds, if the package has not yet been loaded by
autoloading, it will be loaded via the idle timer.
This approach has the benefit of complete consistency for both the idle
and the autoloaded cases. Although, the fact that it implies `:defer`
means we don't have to consider what it means to add `:idle` behavior to
a demand-loaded configuration.
Noam Postavsky [Sun, 15 Mar 2015 19:14:04 +0000 (15:14 -0400)]
use--package: eval-after-load name
instead of name-string. This prevents triggering by config file names
that have the same name as the package.
Reprise of
c6d79d2cb40bd141f62eaca6dca47fb2e8e6943f
John Wiegley [Sun, 15 Mar 2015 08:49:16 +0000 (03:49 -0500)]
Support optional injection of hooks, for Spacemacs
John Wiegley [Sun, 15 Mar 2015 07:22:17 +0000 (02:22 -0500)]
Add :preface, occurring before everything except :disabled
This can be used to establish function and variable definitions that
will 1) make the byte-compiler happy (it won't complain about functions
whose definitions are unknown because you have them within a guard
block), and 2) allow you to define code that can be used in an `:if`
test.
John Wiegley [Sun, 15 Mar 2015 07:21:53 +0000 (02:21 -0500)]
Some minor code reformatting
John Wiegley [Sun, 15 Mar 2015 07:21:40 +0000 (02:21 -0500)]
Fix to :ensure normalization
John Wiegley [Sun, 15 Mar 2015 06:49:09 +0000 (02:49 -0400)]
Merge pull request from thomasf/master
Fix :ensure value interpretation
GitHub-reference: https://github.com/jwiegley/use-package/issues/163
John Wiegley [Sun, 15 Mar 2015 06:47:42 +0000 (02:47 -0400)]
Merge pull request from npostavs/warning
use-package-expand: use display-warning
GitHub-reference: https://github.com/jwiegley/use-package/issues/162
Thomas Frössman [Sat, 14 Mar 2015 16:53:02 +0000 (17:53 +0100)]
Fix :ensure value interpretation
Noam Postavsky [Sat, 14 Mar 2015 15:33:12 +0000 (11:33 -0400)]
use-package-expand: use display-warning
instead of with-demoted-errors. This prevents errors from getting lost
in the *Messages* buffer.
John Wiegley [Sat, 14 Mar 2015 10:22:43 +0000 (05:22 -0500)]
Begin refactoring for 2.0; NOTE: BREAKING CHANGES
The major change is that :init is now always performed before loading a
file, whether loading is deferred or not. This is a change from before,
where the semantics of :init varied between demand and defer. The new
usage is now entirely consistent.
Also, because :init and :config now mean "before" and "after", the
:pre-* and :post-* keywords are gone, as they should no longer be
necessary.
Lastly, an effort has been made to make your Emacs start even in the
presence of use-package configuration failures. So after this change,
be sure to check your *Messages* buffer. Most likely, you will have
several instances where you are using :init, but should be using :config
(this was the case for me in a number of places).
John Wiegley [Fri, 13 Mar 2015 09:47:07 +0000 (04:47 -0500)]
Many stylistics cleanups and simplifications
John Wiegley [Fri, 13 Mar 2015 08:26:09 +0000 (03:26 -0500)]
Revert "Don't add autoload for existing commands"
This reverts commit
a2b23f8326d06690c8092ecc5e83ba2e4dd3c336 .
John Wiegley [Fri, 13 Mar 2015 08:25:32 +0000 (03:25 -0500)]
Stylistic changes
John Wiegley [Fri, 13 Mar 2015 08:13:31 +0000 (03:13 -0500)]
Minor style edits
John Wiegley [Fri, 13 Mar 2015 08:02:47 +0000 (03:02 -0500)]
Minor changes
John Wiegley [Fri, 13 Mar 2015 07:58:37 +0000 (02:58 -0500)]
Show more informative errors when they occur
John Wiegley [Sun, 18 Jan 2015 15:22:03 +0000 (09:22 -0600)]
Merge pull request from tarsius/master
Allow using expanded macro without loading feature
GitHub-reference: https://github.com/jwiegley/use-package/issues/151
Jonas Bernoulli [Sun, 18 Jan 2015 10:41:13 +0000 (11:41 +0100)]
Allow using expanded macro without loading feature
In the macro `use-package-with-elapased-timer' use `bound-and-true-p'
go get the values of the customizable options `use-package-verbose'
and `use-package-minimum-reported-time'. This way the library only
has to be required at compile time, provided these options are not
actually customized. If the user has changed the values, then she
also has to load the library at runtime or the macros fall back to
the default of doing their job silently. See https://github.com/jwiegley/use-package/issues/149.
John Wiegley [Sun, 4 Jan 2015 06:23:22 +0000 (00:23 -0600)]
Merge pull request from killdash9/keymap
Passing t into keymap function
GitHub-reference: https://github.com/jwiegley/use-package/issues/145