]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years agoMerge pull request from justbur/ignore-keywords
John Wiegley [Tue, 6 Feb 2018 17:36:33 +0000 (09:36 -0800)]
Merge pull request from justbur/ignore-keywords

Add use-package-ignore-unknown-keywords option
GitHub-reference: https://github.com/jwiegley/use-package/issues/624

6 years agoAdd use-package-ignore-unknown-keywords option
Justin Burkett [Tue, 6 Feb 2018 16:35:45 +0000 (11:35 -0500)]
Add use-package-ignore-unknown-keywords option

This option allows use-package to skip over keywords it doesn't recognize.

6 years agoRevert "Merge pull request from jabranham/lexical-bindings"
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

6 years agoRevert "Move variable bindings to the bottom of each file"
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.

6 years agoMove variable bindings to the bottom of each file
John Wiegley [Sat, 27 Jan 2018 22:07:11 +0000 (14:07 -0800)]
Move variable bindings to the bottom of each file

6 years agoMerge pull request from jabranham/lexical-bindings
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

6 years agoDon't remove sharp quotes
Alex Branham [Sat, 27 Jan 2018 21:17:26 +0000 (15:17 -0600)]
Don't remove sharp quotes

6 years agoTest still requires cl
Alex Branham [Sat, 27 Jan 2018 17:11:40 +0000 (11:11 -0600)]
Test still requires cl

6 years agoFix byte compiler warnings
Alex Branham [Sat, 27 Jan 2018 16:19:42 +0000 (10:19 -0600)]
Fix byte compiler warnings

6 years agoUse lexical bindings and remove cl package
Alex Branham [Sat, 27 Jan 2018 15:56:15 +0000 (09:56 -0600)]
Use lexical bindings and remove cl package

6 years agoMerge pull request from jabranham/system-packages-update
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

6 years agolexical binding
Alex Branham [Sat, 27 Jan 2018 04:37:47 +0000 (22:37 -0600)]
lexical binding

6 years agoPrefer non-obsolete var names
Alex Branham [Sat, 27 Jan 2018 04:37:31 +0000 (22:37 -0600)]
Prefer non-obsolete var names

6 years agoMerge pull request from jabranham/fix-byte-compiler
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

6 years agoPrefer org-table-align to orgtbl-ctrl-c-ctrl-c
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.

6 years agoMerge pull request from justbur/elisp-cap
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

6 years agoMerge pull request from nickmccurdy/render-report-table
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

6 years agoFix sanity check for correct :custom-face format
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

6 years agoHandle automatic macro expansion by elisp-completion-at-point
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.

6 years agoGuard a call to display-warning with ignore
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

6 years agoRender the use-package-report table using Org
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.

6 years agoAll the second argument in use-package-defaults lists to be a function
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

6 years agoAdd a test related to
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

6 years agoAdd more tests related to issue
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

6 years agoMinor simplification of a function
John Wiegley [Mon, 11 Dec 2017 05:36:41 +0000 (21:36 -0800)]
Minor simplification of a function

6 years agobind-keys fixes related to
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

6 years agoAdd a clarifying test for
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

6 years agoFix a scoping issues with multiple occurrences of :bind
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

6 years agoStart building a use-package linter in use-package-lint.el
John Wiegley [Fri, 8 Dec 2017 08:44:29 +0000 (00:44 -0800)]
Start building a use-package linter in use-package-lint.el

6 years agouse-package-normalize/:disabled has the wrong number of arguments
John Wiegley [Fri, 8 Dec 2017 08:28:14 +0000 (00:28 -0800)]
use-package-normalize/:disabled has the wrong number of arguments

6 years agoRemove several unnecessary calls to `ignore'
John Wiegley [Fri, 8 Dec 2017 06:40:48 +0000 (22:40 -0800)]
Remove several unnecessary calls to `ignore'

6 years agoAdd another :bind test
John Wiegley [Fri, 8 Dec 2017 06:04:24 +0000 (22:04 -0800)]
Add another :bind test

6 years agoAdd further note to NEWS.md
John Wiegley [Thu, 7 Dec 2017 23:50:07 +0000 (15:50 -0800)]
Add further note to NEWS.md

6 years agoAdd tests for two more issues
John Wiegley [Thu, 7 Dec 2017 22:34:51 +0000 (14:34 -0800)]
Add tests for two more issues

6 years agoFix the tests
John Wiegley [Thu, 7 Dec 2017 21:23:36 +0000 (13:23 -0800)]
Fix the tests

6 years agoClarify a note in NEWS.md
John Wiegley [Thu, 7 Dec 2017 21:22:57 +0000 (13:22 -0800)]
Clarify a note in NEWS.md

6 years agoChanges to the way auto-deferral is indicated
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`.

6 years agoIntroduce new customization variable `use-package-merge-key-alist'
John Wiegley [Thu, 7 Dec 2017 21:13:49 +0000 (13:13 -0800)]
Introduce new customization variable `use-package-merge-key-alist'

6 years agoUse cl-gentemp in another place
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.

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.