]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years agoCorrectly fix the problem of unreferenced symbols after compilation
John Wiegley [Thu, 7 Dec 2017 04:59:10 +0000 (20:59 -0800)]
Correctly fix the problem of unreferenced symbols after compilation

Fixes https://github.com/jwiegley/use-package/issues/571

6 years agoRevert "Pre-expand lexical-let, since otherwise it requires cl to be loaded"
John Wiegley [Thu, 7 Dec 2017 04:53:10 +0000 (04:53 +0000)]
Revert "Pre-expand lexical-let, since otherwise it requires cl to be loaded"

This reverts commit 7cc17cee8f8ae2093d98efebf429cd10e9b0b81c.

6 years agoPre-expand lexical-let, since otherwise it requires cl to be loaded
John Wiegley [Thu, 7 Dec 2017 00:56:25 +0000 (16:56 -0800)]
Pre-expand lexical-let, since otherwise it requires cl to be loaded

Fixes https://github.com/jwiegley/use-package/issues/571

6 years agoAdd documentation for `use-package-report'
John Wiegley [Wed, 6 Dec 2017 19:53:21 +0000 (11:53 -0800)]
Add documentation for `use-package-report'

6 years agouse-package-defaults predicate must also receive the package name
John Wiegley [Wed, 6 Dec 2017 18:51:24 +0000 (10:51 -0800)]
use-package-defaults predicate must also receive the package name

6 years agoRemove Package-Requires for diminish and delight, as these are optional
John Wiegley [Wed, 6 Dec 2017 18:45:34 +0000 (10:45 -0800)]
Remove Package-Requires for diminish and delight, as these are optional

6 years agoAdd a comment as to why max-lisp-eval-depth is set in -tests.el
John Wiegley [Wed, 6 Dec 2017 18:31:47 +0000 (10:31 -0800)]
Add a comment as to why max-lisp-eval-depth is set in -tests.el

6 years agoAdd missing autoload cookie, and make lack of a normalizer an error
John Wiegley [Wed, 6 Dec 2017 18:20:51 +0000 (10:20 -0800)]
Add missing autoload cookie, and make lack of a normalizer an error

Fixes https://github.com/jwiegley/use-package/issues/566

6 years agoDon't compute the verbose debug text unless it's requested
John Wiegley [Wed, 6 Dec 2017 17:37:00 +0000 (09:37 -0800)]
Don't compute the verbose debug text unless it's requested

6 years agoAdd :bind test for a single cons cell
John Wiegley [Wed, 6 Dec 2017 16:30:47 +0000 (08:30 -0800)]
Add :bind test for a single cons cell

Relates to https://github.com/jwiegley/use-package/issues/566

6 years agoAdd support for gathering statistics on use-package declarations
John Wiegley [Wed, 6 Dec 2017 16:27:31 +0000 (08:27 -0800)]
Add support for gathering statistics on use-package declarations

6 years agoRespect keyword ordering in use-package-deferring-keywords
John Wiegley [Wed, 6 Dec 2017 14:37:07 +0000 (06:37 -0800)]
Respect keyword ordering in use-package-deferring-keywords

Relates to https://github.com/jwiegley/use-package/issues/565

6 years agoClarify :config with setq versus :custom
John Wiegley [Wed, 6 Dec 2017 14:22:52 +0000 (06:22 -0800)]
Clarify :config with setq versus :custom

Fixes https://github.com/jwiegley/use-package/issues/564

6 years agoUpdate some GPL version references
John Wiegley [Wed, 6 Dec 2017 14:19:15 +0000 (06:19 -0800)]
Update some GPL version references

Fixes https://github.com/jwiegley/use-package/issues/563

6 years agoAllow the expansion of :after (:or foo bar) to be byte-compiled
John Wiegley [Wed, 6 Dec 2017 06:01:49 +0000 (06:01 +0000)]
Allow the expansion of :after (:or foo bar) to be byte-compiled

6 years agoMake the expanded text for :after cleaner
John Wiegley [Wed, 6 Dec 2017 05:50:16 +0000 (05:50 +0000)]
Make the expanded text for :after cleaner

6 years agoSeveral changes as suggested by flycheck
John Wiegley [Wed, 6 Dec 2017 00:13:03 +0000 (16:13 -0800)]
Several changes as suggested by flycheck

6 years agoDon't auto-defer if the package itself was given to :load
John Wiegley [Tue, 5 Dec 2017 23:47:53 +0000 (15:47 -0800)]
Don't auto-defer if the package itself was given to :load

Otherwise, we'd be senselessly waiting for the package to load.

6 years agoEnable all tests on Travis
John Wiegley [Tue, 5 Dec 2017 23:47:41 +0000 (15:47 -0800)]
Enable all tests on Travis

6 years agoAllow `:load t' to mean the same as :load of the package name
John Wiegley [Tue, 5 Dec 2017 23:46:55 +0000 (15:46 -0800)]
Allow `:load t' to mean the same as :load of the package name

6 years agoWhitespace change
John Wiegley [Tue, 5 Dec 2017 23:46:44 +0000 (15:46 -0800)]
Whitespace change

6 years agoDefault running-on-travis to t
John Wiegley [Tue, 5 Dec 2017 22:51:44 +0000 (14:51 -0800)]
Default running-on-travis to t

6 years agoEnable 4 tests that work when not run on Travis
John Wiegley [Tue, 5 Dec 2017 22:36:56 +0000 (14:36 -0800)]
Enable 4 tests that work when not run on Travis

6 years agoFor now, stub out test that breaks Travis
John Wiegley [Tue, 5 Dec 2017 22:34:15 +0000 (14:34 -0800)]
For now, stub out test that breaks Travis

6 years agoStub some referenced variables, for Travis
John Wiegley [Tue, 5 Dec 2017 22:27:49 +0000 (14:27 -0800)]
Stub some referenced variables, for Travis

6 years agoAdd note in NEWS.md about :requires vs. :if
John Wiegley [Tue, 5 Dec 2017 21:33:11 +0000 (13:33 -0800)]
Add note in NEWS.md about :requires vs. :if

6 years agoLower the priority of :if/:when/:unless in use-package-keywords
John Wiegley [Tue, 5 Dec 2017 21:26:32 +0000 (13:26 -0800)]
Lower the priority of :if/:when/:unless in use-package-keywords

Fixes https://github.com/jwiegley/use-package/issues/560

6 years agoEnhance fix-expansion to take surrounding let bindings into account
John Wiegley [Tue, 5 Dec 2017 21:26:03 +0000 (13:26 -0800)]
Enhance fix-expansion to take surrounding let bindings into account

6 years agoRewrite normalization of :bind and :bind*
John Wiegley [Tue, 5 Dec 2017 21:11:30 +0000 (13:11 -0800)]
Rewrite normalization of :bind and :bind*

Fixes https://github.com/jwiegley/use-package/issues/550

6 years agoNormalize errors should be errors, that are then caught by :catch
John Wiegley [Tue, 5 Dec 2017 21:11:17 +0000 (13:11 -0800)]
Normalize errors should be errors, that are then caught by :catch

6 years agoAvoid using pcase and many other macros in macro-expanded forms
John Wiegley [Tue, 5 Dec 2017 19:10:16 +0000 (11:10 -0800)]
Avoid using pcase and many other macros in macro-expanded forms

This is related to https://github.com/jwiegley/use-package/issues/550

6 years agoFix bad interaction between bind-keys* and the :package keyword
John Wiegley [Tue, 5 Dec 2017 18:29:04 +0000 (10:29 -0800)]
Fix bad interaction between bind-keys* and the :package keyword

Fixes https://github.com/jwiegley/use-package/issues/558

6 years agoAdd missing autoload cookies
John Wiegley [Tue, 5 Dec 2017 18:28:28 +0000 (10:28 -0800)]
Add missing autoload cookies

Fixes https://github.com/jwiegley/use-package/issues/555

6 years agoFix function accidentally made interactive
Radon Rosborough [Tue, 5 Dec 2017 06:44:22 +0000 (22:44 -0800)]
Fix function accidentally made interactive

6 years agoUse cl-gensym
John Wiegley [Tue, 5 Dec 2017 01:03:59 +0000 (17:03 -0800)]
Use cl-gensym

6 years agoFix the case where :ensure is given no arguments
John Wiegley [Tue, 5 Dec 2017 00:46:46 +0000 (16:46 -0800)]
Fix the case where :ensure is given no arguments

Fixes https://github.com/jwiegley/use-package/issues/543

6 years agoSome Emacsen don't have gensym
John Wiegley [Tue, 5 Dec 2017 00:42:56 +0000 (16:42 -0800)]
Some Emacsen don't have gensym

Fixes https://github.com/jwiegley/use-package/issues/544

6 years agoAdd note in NEWS.md about :after and autoloaded keybindings
John Wiegley [Tue, 5 Dec 2017 00:36:40 +0000 (16:36 -0800)]
Add note in NEWS.md about :after and autoloaded keybindings

6 years agoAdd a note to `bind-key` on the usage of the KEYMAP argument
John Wiegley [Mon, 4 Dec 2017 23:55:41 +0000 (15:55 -0800)]
Add a note to `bind-key` on the usage of the KEYMAP argument

Fixes https://github.com/jwiegley/use-package/issues/542

6 years agoAdd a bind-key test
John Wiegley [Mon, 4 Dec 2017 23:43:10 +0000 (15:43 -0800)]
Add a bind-key test

6 years agoSupport :ensure (pkg :pin archive)
John Wiegley [Mon, 4 Dec 2017 23:39:31 +0000 (15:39 -0800)]
Support :ensure (pkg :pin archive)

Fixes https://github.com/jwiegley/use-package/issues/506

6 years agoAdd several missing comments
John Wiegley [Mon, 4 Dec 2017 23:24:31 +0000 (15:24 -0800)]
Add several missing comments

6 years agoSwap the order of two definitions
John Wiegley [Mon, 4 Dec 2017 23:22:08 +0000 (15:22 -0800)]
Swap the order of two definitions

6 years agoFix an argument process problem with bind-key
John Wiegley [Mon, 4 Dec 2017 23:21:41 +0000 (15:21 -0800)]
Fix an argument process problem with bind-key

Fixes https://github.com/jwiegley/use-package/issues/334

6 years agoComment out two tests that break on Travis
John Wiegley [Mon, 4 Dec 2017 21:27:57 +0000 (13:27 -0800)]
Comment out two tests that break on Travis

6 years agoRename up-* files to use-package-* for consistency
John Wiegley [Mon, 4 Dec 2017 21:21:54 +0000 (21:21 +0000)]
Rename up-* files to use-package-* for consistency

6 years agoMerge branch 'split-bind-key'
John Wiegley [Mon, 4 Dec 2017 21:13:02 +0000 (13:13 -0800)]
Merge branch 'split-bind-key'

6 years agoCommit .texi file, as it requires several dependencies to generate
John Wiegley [Mon, 4 Dec 2017 20:11:59 +0000 (12:11 -0800)]
Commit .texi file, as it requires several dependencies to generate

6 years agoMerge branch 'master' into next
John Wiegley [Mon, 4 Dec 2017 20:10:26 +0000 (12:10 -0800)]
Merge branch 'master' into next

6 years agoAdd a test-in-progress for issue 506
John Wiegley [Mon, 4 Dec 2017 20:09:52 +0000 (12:09 -0800)]
Add a test-in-progress for issue 506

6 years agoAdd new customization variables `use-package-hook-name-suffix'
John Wiegley [Mon, 4 Dec 2017 20:04:20 +0000 (12:04 -0800)]
Add new customization variables `use-package-hook-name-suffix'

Fixes https://github.com/jwiegley/use-package/issues/530

6 years agoSplit key binding functionality out into its own file
John Wiegley [Mon, 4 Dec 2017 19:55:35 +0000 (11:55 -0800)]
Split key binding functionality out into its own file

6 years agoPlease the byte-compiler
John Wiegley [Mon, 4 Dec 2017 19:53:35 +0000 (11:53 -0800)]
Please the byte-compiler

6 years agoRequire cl for the use-package tests
John Wiegley [Mon, 4 Dec 2017 19:53:18 +0000 (11:53 -0800)]
Require cl for the use-package tests

6 years agoExpand use-package-core as a macro, to avoid load time dependency
John Wiegley [Mon, 4 Dec 2017 19:32:27 +0000 (11:32 -0800)]
Expand use-package-core as a macro, to avoid load time dependency

6 years ago:ensure can be a list; correct handling of multiple :ensure keywords
John Wiegley [Mon, 4 Dec 2017 19:26:19 +0000 (11:26 -0800)]
:ensure can be a list; correct handling of multiple :ensure keywords

Fixes https://github.com/jwiegley/use-package/issues/539

6 years agoEnsure that :commands always declare-function at compile time
John Wiegley [Mon, 4 Dec 2017 19:05:11 +0000 (11:05 -0800)]
Ensure that :commands always declare-function at compile time

6 years agoAdd a new :catch keyword, and move :preface before such handling
John Wiegley [Mon, 4 Dec 2017 19:00:05 +0000 (11:00 -0800)]
Add a new :catch keyword, and move :preface before such handling

Fixes https://github.com/jwiegley/use-package/issues/534

6 years agoFix duplication in an error message
John Wiegley [Mon, 4 Dec 2017 18:41:17 +0000 (10:41 -0800)]
Fix duplication in an error message

6 years agoAdd expand-maximally macro to up-tests.el
John Wiegley [Mon, 4 Dec 2017 18:30:49 +0000 (10:30 -0800)]
Add expand-maximally macro to up-tests.el

6 years agoRevert "Reduce some code duplication"
John Wiegley [Mon, 4 Dec 2017 18:29:27 +0000 (10:29 -0800)]
Revert "Reduce some code duplication"

This reverts commit 1e560c514004747062276ca59ddf425a3edc44cd.

6 years agoMove :preface handling within the code
John Wiegley [Mon, 4 Dec 2017 17:39:54 +0000 (09:39 -0800)]
Move :preface handling within the code

6 years agoAdd two new tests
John Wiegley [Mon, 4 Dec 2017 17:33:18 +0000 (09:33 -0800)]
Add two new tests

6 years agoReduce some code duplication
John Wiegley [Mon, 4 Dec 2017 17:33:10 +0000 (09:33 -0800)]
Reduce some code duplication

6 years agoNormalize some whitespace and ordering in new code
John Wiegley [Mon, 4 Dec 2017 17:31:13 +0000 (09:31 -0800)]
Normalize some whitespace and ordering in new code

6 years agoMove :init back to happening after all autoloads have occurred
John Wiegley [Mon, 4 Dec 2017 17:03:13 +0000 (09:03 -0800)]
Move :init back to happening after all autoloads have occurred

Fixes https://github.com/jwiegley/use-package/issues/535

6 years agoMove :init back to happening after all autoloads have occurred
John Wiegley [Mon, 4 Dec 2017 17:03:13 +0000 (09:03 -0800)]
Move :init back to happening after all autoloads have occurred

Fixes https://github.com/jwiegley/use-package/issues/535

6 years agoAdd `use-package-chords` and `use-package-ensure-system-package`
Justin Talbott [Mon, 4 Dec 2017 15:57:23 +0000 (10:57 -0500)]
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

6 years agoChange order of :defines and :functions within `use-package-keywords'
John Wiegley [Mon, 4 Dec 2017 08:54:14 +0000 (00:54 -0800)]
Change order of :defines and :functions within `use-package-keywords'

6 years agoAdd further notes to NEWS.md, in light of recent breakages
John Wiegley [Mon, 4 Dec 2017 08:41:05 +0000 (00:41 -0800)]
Add further notes to NEWS.md, in light of recent breakages

6 years agoAdd new customization variable `use-package-deferring-keywords'
John Wiegley [Mon, 4 Dec 2017 08:11:46 +0000 (00:11 -0800)]
Add new customization variable `use-package-deferring-keywords'

6 years agoMinor comment change
John Wiegley [Mon, 4 Dec 2017 07:37:03 +0000 (23:37 -0800)]
Minor comment change

6 years agoup-ensure's customization variables are now in their own group
John Wiegley [Mon, 4 Dec 2017 07:36:52 +0000 (23:36 -0800)]
up-ensure's customization variables are now in their own group

6 years agoRemove code from up-core.el that is now in up-diminish.el
John Wiegley [Mon, 4 Dec 2017 07:33:28 +0000 (23:33 -0800)]
Remove code from up-core.el that is now in up-diminish.el

6 years agoAdd notes to NEWS.md
John Wiegley [Mon, 4 Dec 2017 07:33:22 +0000 (23:33 -0800)]
Add notes to NEWS.md

6 years agoCorrection to a macro expansion
John Wiegley [Mon, 4 Dec 2017 07:22:25 +0000 (23:22 -0800)]
Correction to a macro expansion

6 years agoDelete an unneeded blank line
John Wiegley [Mon, 4 Dec 2017 07:06:54 +0000 (23:06 -0800)]
Delete an unneeded blank line

6 years agoReduce some code duplication
John Wiegley [Mon, 4 Dec 2017 07:06:14 +0000 (23:06 -0800)]
Reduce some code duplication

6 years agoNormalize the code emitted by :mode, :interpreter, :magic, etc
John Wiegley [Mon, 4 Dec 2017 07:05:43 +0000 (23:05 -0800)]
Normalize the code emitted by :mode, :interpreter, :magic, etc

6 years agoAdd 'errors as another option to `use-package-verbose'
John Wiegley [Mon, 4 Dec 2017 07:05:17 +0000 (23:05 -0800)]
Add 'errors as another option to `use-package-verbose'

6 years agoOnly emit the debugging context text once
John Wiegley [Mon, 4 Dec 2017 06:54:34 +0000 (22:54 -0800)]
Only emit the debugging context text once

6 years agoCorrection to error detection at both :init and :config times
John Wiegley [Mon, 4 Dec 2017 03:54:57 +0000 (19:54 -0800)]
Correction to error detection at both :init and :config times

6 years agoReport errors during deferred :config as intelligent warnings also
John Wiegley [Sun, 3 Dec 2017 21:12:43 +0000 (13:12 -0800)]
Report errors during deferred :config as intelligent warnings also

6 years agoDrop some unnecessary detail from a warning message
John Wiegley [Sun, 3 Dec 2017 21:12:30 +0000 (13:12 -0800)]
Drop some unnecessary detail from a warning message

6 years agoMinor simplification
John Wiegley [Sun, 3 Dec 2017 21:12:07 +0000 (13:12 -0800)]
Minor simplification

6 years agoFix a byte-compiler warning in up-ensure.el
John Wiegley [Sun, 3 Dec 2017 21:11:49 +0000 (13:11 -0800)]
Fix a byte-compiler warning in up-ensure.el

6 years agoMove optional jumping functionality to its own module
John Wiegley [Sun, 3 Dec 2017 21:11:40 +0000 (13:11 -0800)]
Move optional jumping functionality to its own module

6 years agoBreak out ensure/diminish/delight into their own support files
John Wiegley [Sun, 3 Dec 2017 19:54:19 +0000 (11:54 -0800)]
Break out ensure/diminish/delight into their own support files

6 years agoMove the use-package-keywords defcustom to the top of the file
John Wiegley [Sun, 3 Dec 2017 19:44:56 +0000 (11:44 -0800)]
Move the use-package-keywords defcustom to the top of the file

6 years agoDisable a test that is not working on Travis
John Wiegley [Sun, 3 Dec 2017 19:43:53 +0000 (11:43 -0800)]
Disable a test that is not working on Travis

6 years agoMove functions around for better logical grouping
John Wiegley [Sun, 3 Dec 2017 19:43:16 +0000 (11:43 -0800)]
Move functions around for better logical grouping

6 years agoMore variable renaming needed in the tests
John Wiegley [Sun, 3 Dec 2017 19:00:41 +0000 (11:00 -0800)]
More variable renaming needed in the tests

6 years agoChange most use-package-- prefixes to just use-package-
John Wiegley [Sun, 3 Dec 2017 18:58:06 +0000 (10:58 -0800)]
Change most use-package-- prefixes to just use-package-

6 years agoRemove a local variable binding
John Wiegley [Sun, 3 Dec 2017 18:57:55 +0000 (10:57 -0800)]
Remove a local variable binding

6 years agoAlways catch errors during configuration
John Wiegley [Sun, 3 Dec 2017 18:57:42 +0000 (10:57 -0800)]
Always catch errors during configuration

6 years agoSeparate out all tests, the better to identify which one failed
John Wiegley [Sun, 3 Dec 2017 18:49:33 +0000 (10:49 -0800)]
Separate out all tests, the better to identify which one failed

6 years agoDefine macroexpand-1 for older Emacsen
John Wiegley [Sun, 3 Dec 2017 18:33:12 +0000 (10:33 -0800)]
Define macroexpand-1 for older Emacsen

6 years agoA great deal of internal reorganization and simplification
John Wiegley [Sun, 3 Dec 2017 11:07:30 +0000 (03:07 -0800)]
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.

6 years agoFix `use-package-ensure-function' docstring typo
Radon Rosborough [Sat, 2 Dec 2017 19:48:12 +0000 (11:48 -0800)]
Fix `use-package-ensure-function' docstring typo

6 years agoIf use-package-verbose is t, show loading times when :after is used
John Wiegley [Fri, 1 Dec 2017 21:38:41 +0000 (13:38 -0800)]
If use-package-verbose is t, show loading times when :after is used