]>
git.eshelyaron.com Git - emacs.git/log
John Wiegley [Sat, 27 Jan 2018 22:13:48 +0000 (14:13 -0800)]
Revert "Merge pull request from jabranham/lexical-bindings"
This reverts commit
d21787f1d64a740c0e00899835d9200a0e4690df , reversing
changes made to
fd8a3510fd1a555b925f57b2870917e3c4ea0206 .
GitHub-reference: https://github.com/jwiegley/use-package/issues/617
John Wiegley [Sat, 27 Jan 2018 22:09:10 +0000 (14:09 -0800)]
Revert "Move variable bindings to the bottom of each file"
This reverts commit
c29193bf0724633adf7183dad2d0b6faf7d029ab .
John Wiegley [Sat, 27 Jan 2018 22:07:11 +0000 (14:07 -0800)]
Move variable bindings to the bottom of each file
John Wiegley [Sat, 27 Jan 2018 22:04:57 +0000 (14:04 -0800)]
Merge pull request from jabranham/lexical-bindings
[WIP] Lexical bindings
GitHub-reference: https://github.com/jwiegley/use-package/issues/617
Alex Branham [Sat, 27 Jan 2018 21:17:26 +0000 (15:17 -0600)]
Don't remove sharp quotes
Alex Branham [Sat, 27 Jan 2018 17:11:40 +0000 (11:11 -0600)]
Test still requires cl
Alex Branham [Sat, 27 Jan 2018 16:19:42 +0000 (10:19 -0600)]
Fix byte compiler warnings
Alex Branham [Sat, 27 Jan 2018 15:56:15 +0000 (09:56 -0600)]
Use lexical bindings and remove cl package
John Wiegley [Sat, 27 Jan 2018 08:46:16 +0000 (00:46 -0800)]
Merge pull request from jabranham/system-packages-update
System packages update
GitHub-reference: https://github.com/jwiegley/use-package/issues/616
Alex Branham [Sat, 27 Jan 2018 04:37:47 +0000 (22:37 -0600)]
lexical binding
Alex Branham [Sat, 27 Jan 2018 04:37:31 +0000 (22:37 -0600)]
Prefer non-obsolete var names
John Wiegley [Tue, 9 Jan 2018 01:54:04 +0000 (17:54 -0800)]
Merge pull request from jabranham/fix-byte-compiler
Prefer org-table-align to orgtbl-ctrl-c-ctrl-c
GitHub-reference: https://github.com/jwiegley/use-package/issues/611
Alex Branham [Tue, 9 Jan 2018 01:21:46 +0000 (19:21 -0600)]
Prefer org-table-align to orgtbl-ctrl-c-ctrl-c
org-table-align is an autoloaded function so the byte compiler can
find it. orgtbl-ctrl-c-ctrl-c isn't so we get a warning about
undefined functions.
John Wiegley [Tue, 26 Dec 2017 19:04:41 +0000 (11:04 -0800)]
Merge pull request from justbur/elisp-cap
Handle automatic macro expansion by elisp-completion-at-point
GitHub-reference: https://github.com/jwiegley/use-package/issues/599
John Wiegley [Tue, 26 Dec 2017 19:04:13 +0000 (11:04 -0800)]
Merge pull request from nickmccurdy/render-report-table
Render the use-package-report table using Org
GitHub-reference: https://github.com/jwiegley/use-package/issues/592
wouter bolsterlee [Wed, 20 Dec 2017 07:31:56 +0000 (08:31 +0100)]
Fix sanity check for correct :custom-face format
Instead of testing the length of each form passed to :custom-face,
the sanity check would test the number of forms passed to :custom-face,
causing it to fail when more than 2 face customisations are used.
Fixes https://github.com/jwiegley/use-package/issues/600.
Copyright-paperwork-exempt: yes
Justin Burkett [Mon, 18 Dec 2017 20:15:28 +0000 (15:15 -0500)]
Handle automatic macro expansion by elisp-completion-at-point
The function `elisp--local-variables' inserts an unbound variable,
`elisp--witness--lisp', into macro forms to determine the locally bound
variables for `elisp-completion-at-point'. It ends up throwing a lot of errors
since it can occupy the position of a keyword (or look like a second argument to
a keyword that takes one). Deleting it when it's at the top level should be
harmless since there should be no locally bound variables to discover here
anyway.
John Wiegley [Sun, 17 Dec 2017 08:35:01 +0000 (00:35 -0800)]
Guard a call to display-warning with ignore
Fixes https://github.com/jwiegley/use-package/issues/589
Nick McCurdy [Sat, 16 Dec 2017 19:52:14 +0000 (14:52 -0500)]
Render the use-package-report table using Org
I noticed that the "Gathering Statistics" instructions for rendering the Org
table could be automated for convenience. Now the table is reformatted
automatically, and you can still manually sort it. I'm not sorting it by default
to maintain the same order of use-package forms for easier troubleshooting.
John Wiegley [Sat, 16 Dec 2017 06:48:42 +0000 (22:48 -0800)]
All the second argument in use-package-defaults lists to be a function
Address the question raised in https://github.com/jwiegley/use-package/issues/591
John Wiegley [Thu, 14 Dec 2017 01:03:05 +0000 (17:03 -0800)]
Add a test related to
GitHub-reference: https://github.com/jwiegley/use-package/issues/589
John Wiegley [Thu, 14 Dec 2017 01:02:55 +0000 (17:02 -0800)]
Add more tests related to issue
GitHub-reference: https://github.com/jwiegley/use-package/issues/572
John Wiegley [Mon, 11 Dec 2017 05:36:41 +0000 (21:36 -0800)]
Minor simplification of a function
John Wiegley [Mon, 11 Dec 2017 05:25:37 +0000 (21:25 -0800)]
bind-keys fixes related to
GitHub-reference: https://github.com/jwiegley/use-package/issues/482
John Wiegley [Sun, 10 Dec 2017 17:53:13 +0000 (09:53 -0800)]
Add a clarifying test for
GitHub-reference: https://github.com/jwiegley/use-package/issues/482
John Wiegley [Sun, 10 Dec 2017 00:28:49 +0000 (16:28 -0800)]
Fix a scoping issues with multiple occurrences of :bind
Fixes https://github.com/jwiegley/use-package/issues/585
John Wiegley [Fri, 8 Dec 2017 08:44:29 +0000 (00:44 -0800)]
Start building a use-package linter in use-package-lint.el
John Wiegley [Fri, 8 Dec 2017 08:28:14 +0000 (00:28 -0800)]
use-package-normalize/:disabled has the wrong number of arguments
John Wiegley [Fri, 8 Dec 2017 06:40:48 +0000 (22:40 -0800)]
Remove several unnecessary calls to `ignore'
John Wiegley [Fri, 8 Dec 2017 06:04:24 +0000 (22:04 -0800)]
Add another :bind test
John Wiegley [Thu, 7 Dec 2017 23:50:07 +0000 (15:50 -0800)]
Add further note to NEWS.md
John Wiegley [Thu, 7 Dec 2017 22:34:51 +0000 (14:34 -0800)]
Add tests for two more issues
John Wiegley [Thu, 7 Dec 2017 21:23:36 +0000 (13:23 -0800)]
Fix the tests
John Wiegley [Thu, 7 Dec 2017 21:22:57 +0000 (13:22 -0800)]
Clarify a note in NEWS.md
John Wiegley [Thu, 7 Dec 2017 21:14:32 +0000 (13:14 -0800)]
Changes to the way auto-deferral is indicated
This change adds a new extension hook `use-package-autoloads/<KEYWORD>` for
specifying exactly which autoloads a keyword should imply. This is the proper
way to indicate autoloads, rather than adding to the `:commands` entry as was
done before.
Further, autoloading now must occur in order to cause implied deferred
loading; if :bind is used with only lambda forms, for example, this will not
cause deferred loading without `:defer t`.
John Wiegley [Thu, 7 Dec 2017 21:13:49 +0000 (13:13 -0800)]
Introduce new customization variable `use-package-merge-key-alist'
John Wiegley [Thu, 7 Dec 2017 06:52:34 +0000 (22:52 -0800)]
Use cl-gentemp in another place
This avoids "Variable unknown" errors if a byte-compiled init.elc happening to
encounter an error while evaluating an :init or :config block.
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
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 .
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
John Wiegley [Wed, 6 Dec 2017 19:53:21 +0000 (11:53 -0800)]
Add documentation for `use-package-report'
John Wiegley [Wed, 6 Dec 2017 18:51:24 +0000 (10:51 -0800)]
use-package-defaults predicate must also receive the package name
John Wiegley [Wed, 6 Dec 2017 18:45:34 +0000 (10:45 -0800)]
Remove Package-Requires for diminish and delight, as these are optional
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
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
John Wiegley [Wed, 6 Dec 2017 17:37:00 +0000 (09:37 -0800)]
Don't compute the verbose debug text unless it's requested
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
John Wiegley [Wed, 6 Dec 2017 16:27:31 +0000 (08:27 -0800)]
Add support for gathering statistics on use-package declarations
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
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
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
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
John Wiegley [Wed, 6 Dec 2017 05:50:16 +0000 (05:50 +0000)]
Make the expanded text for :after cleaner
John Wiegley [Wed, 6 Dec 2017 00:13:03 +0000 (16:13 -0800)]
Several changes as suggested by flycheck
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.
John Wiegley [Tue, 5 Dec 2017 23:47:41 +0000 (15:47 -0800)]
Enable all tests on Travis
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
John Wiegley [Tue, 5 Dec 2017 23:46:44 +0000 (15:46 -0800)]
Whitespace change
John Wiegley [Tue, 5 Dec 2017 22:51:44 +0000 (14:51 -0800)]
Default running-on-travis to t
John Wiegley [Tue, 5 Dec 2017 22:36:56 +0000 (14:36 -0800)]
Enable 4 tests that work when not run on Travis
John Wiegley [Tue, 5 Dec 2017 22:34:15 +0000 (14:34 -0800)]
For now, stub out test that breaks Travis
John Wiegley [Tue, 5 Dec 2017 22:27:49 +0000 (14:27 -0800)]
Stub some referenced variables, for Travis
John Wiegley [Tue, 5 Dec 2017 21:33:11 +0000 (13:33 -0800)]
Add note in NEWS.md about :requires vs. :if
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
John Wiegley [Tue, 5 Dec 2017 21:26:03 +0000 (13:26 -0800)]
Enhance fix-expansion to take surrounding let bindings into account
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
John Wiegley [Tue, 5 Dec 2017 21:11:17 +0000 (13:11 -0800)]
Normalize errors should be errors, that are then caught by :catch
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
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
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
Radon Rosborough [Tue, 5 Dec 2017 06:44:22 +0000 (22:44 -0800)]
Fix function accidentally made interactive
John Wiegley [Tue, 5 Dec 2017 01:03:59 +0000 (17:03 -0800)]
Use cl-gensym
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
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
John Wiegley [Tue, 5 Dec 2017 00:36:40 +0000 (16:36 -0800)]
Add note in NEWS.md about :after and autoloaded keybindings
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
John Wiegley [Mon, 4 Dec 2017 23:43:10 +0000 (15:43 -0800)]
Add a bind-key test
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
John Wiegley [Mon, 4 Dec 2017 23:24:31 +0000 (15:24 -0800)]
Add several missing comments
John Wiegley [Mon, 4 Dec 2017 23:22:08 +0000 (15:22 -0800)]
Swap the order of two definitions
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
John Wiegley [Mon, 4 Dec 2017 21:27:57 +0000 (13:27 -0800)]
Comment out two tests that break on Travis
John Wiegley [Mon, 4 Dec 2017 21:21:54 +0000 (21:21 +0000)]
Rename up-* files to use-package-* for consistency
John Wiegley [Mon, 4 Dec 2017 21:13:02 +0000 (13:13 -0800)]
Merge branch 'split-bind-key'
John Wiegley [Mon, 4 Dec 2017 20:11:59 +0000 (12:11 -0800)]
Commit .texi file, as it requires several dependencies to generate
John Wiegley [Mon, 4 Dec 2017 20:10:26 +0000 (12:10 -0800)]
Merge branch 'master' into next
John Wiegley [Mon, 4 Dec 2017 20:09:52 +0000 (12:09 -0800)]
Add a test-in-progress for issue 506
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
John Wiegley [Mon, 4 Dec 2017 19:55:35 +0000 (11:55 -0800)]
Split key binding functionality out into its own file
John Wiegley [Mon, 4 Dec 2017 19:53:35 +0000 (11:53 -0800)]
Please the byte-compiler
John Wiegley [Mon, 4 Dec 2017 19:53:18 +0000 (11:53 -0800)]
Require cl for the use-package tests
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
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
John Wiegley [Mon, 4 Dec 2017 19:05:11 +0000 (11:05 -0800)]
Ensure that :commands always declare-function at compile time
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
John Wiegley [Mon, 4 Dec 2017 18:41:17 +0000 (10:41 -0800)]
Fix duplication in an error message
John Wiegley [Mon, 4 Dec 2017 18:30:49 +0000 (10:30 -0800)]
Add expand-maximally macro to up-tests.el
John Wiegley [Mon, 4 Dec 2017 18:29:27 +0000 (10:29 -0800)]
Revert "Reduce some code duplication"
This reverts commit
1e560c514004747062276ca59ddf425a3edc44cd .
John Wiegley [Mon, 4 Dec 2017 17:39:54 +0000 (09:39 -0800)]
Move :preface handling within the code
John Wiegley [Mon, 4 Dec 2017 17:33:18 +0000 (09:33 -0800)]
Add two new tests