John Wiegley
fe85f246b0
Add a new :catch keyword, and move :preface before such handling
...
Fixes https://github.com/jwiegley/use-package/issues/534
2017-12-04 11:00:05 -08:00
John Wiegley
8489206db4
Fix duplication in an error message
2017-12-04 10:41:17 -08:00
John Wiegley
4042b87c72
Add expand-maximally macro to up-tests.el
2017-12-04 10:30:49 -08:00
John Wiegley
026433a8a0
Revert "Reduce some code duplication"
...
This reverts commit 1e560c5140 .
2017-12-04 10:29:27 -08:00
John Wiegley
fb9d159632
Move :preface handling within the code
2017-12-04 09:39:54 -08:00
John Wiegley
4efd355108
Add two new tests
2017-12-04 09:33:18 -08:00
John Wiegley
1e560c5140
Reduce some code duplication
2017-12-04 09:33:10 -08:00
John Wiegley
ac906479a7
Normalize some whitespace and ordering in new code
2017-12-04 09:31:13 -08:00
John Wiegley
0239ee227a
Move :init back to happening after all autoloads have occurred
...
Fixes https://github.com/jwiegley/use-package/issues/535
2017-12-04 09:11:35 -08:00
Justin Talbott
5d9c854a6c
Add use-package-chords and use-package-ensure-system-package
...
Also update docs on usage
connect to https://github.com/jwiegley/use-package/issues/516
2017-12-04 10:57:23 -05:00
John Wiegley
05dfea96e5
Change order of :defines and :functions within `use-package-keywords'
2017-12-04 00:54:14 -08:00
John Wiegley
20ea11b71a
Add further notes to NEWS.md, in light of recent breakages
2017-12-04 00:41:05 -08:00
John Wiegley
0be575766c
Add new customization variable `use-package-deferring-keywords'
2017-12-04 00:11:46 -08:00
John Wiegley
6d51e52342
Minor comment change
2017-12-03 23:37:03 -08:00
John Wiegley
49752db41b
up-ensure's customization variables are now in their own group
2017-12-03 23:36:52 -08:00
John Wiegley
f4f3e01044
Remove code from up-core.el that is now in up-diminish.el
2017-12-03 23:33:28 -08:00
John Wiegley
bd2589e4be
Add notes to NEWS.md
2017-12-03 23:33:22 -08:00
John Wiegley
8bf5de28c3
Correction to a macro expansion
2017-12-03 23:22:25 -08:00
John Wiegley
62f866caf7
Delete an unneeded blank line
2017-12-03 23:06:54 -08:00
John Wiegley
a1bdd958d3
Reduce some code duplication
2017-12-03 23:06:14 -08:00
John Wiegley
28084551ac
Normalize the code emitted by :mode, :interpreter, :magic, etc
2017-12-03 23:06:10 -08:00
John Wiegley
36cf799853
Add 'errors as another option to `use-package-verbose'
2017-12-03 23:05:17 -08:00
John Wiegley
f08f8a7ba9
Only emit the debugging context text once
2017-12-03 22:54:34 -08:00
John Wiegley
35b975563c
Correction to error detection at both :init and :config times
2017-12-03 19:54:57 -08:00
John Wiegley
8428dafcfa
Report errors during deferred :config as intelligent warnings also
2017-12-03 13:13:30 -08:00
John Wiegley
8dd0f274d0
Drop some unnecessary detail from a warning message
2017-12-03 13:13:30 -08:00
John Wiegley
f356c838c1
Minor simplification
2017-12-03 13:13:30 -08:00
John Wiegley
99200a1642
Fix a byte-compiler warning in up-ensure.el
2017-12-03 13:13:30 -08:00
John Wiegley
7c95d0a0e0
Move optional jumping functionality to its own module
2017-12-03 13:13:30 -08:00
John Wiegley
fff47a1331
Break out ensure/diminish/delight into their own support files
2017-12-03 11:54:19 -08:00
John Wiegley
cdbb2cbe97
Move the use-package-keywords defcustom to the top of the file
2017-12-03 11:44:56 -08:00
John Wiegley
22fb8f8c4b
Disable a test that is not working on Travis
2017-12-03 11:43:53 -08:00
John Wiegley
0c148eb777
Move functions around for better logical grouping
2017-12-03 11:43:16 -08:00
John Wiegley
3625b3f712
More variable renaming needed in the tests
2017-12-03 11:00:41 -08:00
John Wiegley
149c4878fc
Change most use-package-- prefixes to just use-package-
2017-12-03 10:58:06 -08:00
John Wiegley
d5c1fdf4e8
Remove a local variable binding
2017-12-03 10:57:55 -08:00
John Wiegley
223c321a1d
Always catch errors during configuration
2017-12-03 10:57:42 -08:00
John Wiegley
e5aa510d48
Separate out all tests, the better to identify which one failed
2017-12-03 10:49:33 -08:00
John Wiegley
4c1b82aed5
Define macroexpand-1 for older Emacsen
2017-12-03 10:33:12 -08:00
John Wiegley
9ab797cccd
A great deal of internal reorganization and simplification
...
All handlers now address their own domain of work; :after has become safer;
keyword normalization is multi-stage process; setting use-package-verbose to
`debug' produces useful output in the *use-package* buffer in the case of load
time errors; use-package errors (even internal) won't stop Emacs from
starting (though a serious internal bug that errors out every use-package form
may stop anything from being configured!); and more.
2017-12-03 03:09:26 -08:00
Radon Rosborough
a9429350d5
Fix `use-package-ensure-function' docstring typo
2017-12-02 11:48:12 -08:00
John Wiegley
dee6b36286
If use-package-verbose is t, show loading times when :after is used
2017-12-01 13:39:05 -08:00
John Wiegley
af3b34b022
Remove the :defer-install keyword
...
This may reappear as its own add-on to use-package in the future. See https://github.com/jwiegley/use-package/issues/442 .
2017-12-01 11:44:31 -08:00
John Wiegley
09be976c18
:demand should not override an explicit use of :after
...
Fixes https://github.com/jwiegley/use-package/issues/529
2017-12-01 11:30:11 -08:00
John Wiegley
9e8e9aa4ee
Remove some debug code that crept in
2017-12-01 11:17:34 -08:00
John Wiegley
cb846d188a
Add tests for the last two keywords
2017-12-01 11:16:19 -08:00
John Wiegley
cd4790b3df
Add many more tests
2017-12-01 11:07:08 -08:00
John Wiegley
f5b034154f
Always wrap the expanded body from use-package in (progn)
2017-12-01 10:23:21 -08:00
John Wiegley
21b9b6551d
Comment out :no-require test for now
...
It works on my machine, but not with what Travis runs.
2017-12-01 01:40:58 -08:00
John Wiegley
6954c3f582
Don't factor out a volatile variable
...
Possibly fixes https://github.com/jwiegley/use-package/issues/527
2017-12-01 01:36:36 -08:00