]>
git.eshelyaron.com Git - emacs.git/log
Justin Talbott [Thu, 20 Jun 2019 15:27:46 +0000 (11:27 -0400)]
update bind-chords to use of eval-after-load when maps declared
also improve :chord keyword syntax processing to more closely mimic bind-keys since the same binding
normalizer is used.
also add tests for use-package-chords to cover these test cases
John Wiegley [Wed, 29 May 2019 20:40:03 +0000 (13:40 -0700)]
Make custom-face evaluate elisp. ()
Make custom-face evaluate elisp.
GitHub-reference: https://github.com/jwiegley/use-package/issues/773
Vincent Zhang [Wed, 29 May 2019 08:04:35 +0000 (16:04 +0800)]
Make custom-face evaluate elisp
Fix https://github.com/jwiegley/use-package/issues/696.
Copyright-paperwork-exempt: yes
John Wiegley [Fri, 5 Apr 2019 20:47:24 +0000 (13:47 -0700)]
Merge pull request from stribb/master
Add a line of documentation for (use-pacakage ... :hook).
GitHub-reference: https://github.com/jwiegley/use-package/issues/759
Andrew Stribblehill [Thu, 4 Apr 2019 09:19:52 +0000 (11:19 +0200)]
Add a line of documentation for (use-pacakage ... :hook)
Copyright-paperwork-exempt: yes
John Wiegley [Mon, 19 Nov 2018 23:50:27 +0000 (15:50 -0800)]
Merge pull request from conao3/fix_default_value
fix gethash default value for use-package-statistics-time
GitHub-reference: https://github.com/jwiegley/use-package/issues/681
John Wiegley [Sat, 10 Nov 2018 17:58:42 +0000 (09:58 -0800)]
Merge pull request from tarsiiformes/silencio
Silence byte-compiler on Emacs 25
GitHub-reference: https://github.com/jwiegley/use-package/issues/733
Jonas Bernoulli [Sat, 10 Nov 2018 17:52:37 +0000 (18:52 +0100)]
Silence byte-compiler on Emacs 25
Emacs 25 defined a global variable `features', which triggers a
warning "Lexical argument shadows the dynamic variable features".
That's not `use-package's fault, but we should suppress the warning
anyway, so that there is no additional noise that would cause us to
potentially overlook warnings that absolutely have to be addressed.
John Wiegley [Wed, 24 Oct 2018 23:22:41 +0000 (16:22 -0700)]
Merge pull request from jwiegley/use-package-chords-suppress-compiler-message
prefix argument with _ to suppress Unused lexical argument warning
GitHub-reference: https://github.com/jwiegley/use-package/issues/713
Justin Talbott [Thu, 13 Sep 2018 15:01:53 +0000 (11:01 -0400)]
Merge pull request from lrochfort/ensure-system-package_use-sudo
[Fix https://github.com/jwiegley/use-package/issues/720] Install system packages using system-packages-install
GitHub-reference: https://github.com/jwiegley/use-package/issues/721
Laurence Rochfort [Wed, 12 Sep 2018 16:53:26 +0000 (17:53 +0100)]
[] Install system packages using system-packages-install
:ensure-system-package was installing packages by running
system-packages-get-command via async-shell-command. This meant that
system-packages-use-sudo wasn't being honoured.
This patch makes :ensure-system-package use system-packages-install
for all cases, except where a custom install command is supplied, in
which case async-shell-command is used.
This issue was introduced in
9f034a0bcfdd8c4 [https://github.com/jwiegley/use-package/issues/673], as a fix for
[https://github.com/jwiegley/use-package/issues/661]. Prior to that commit, system-packages-use-sudo was being
honoured.
This patch also fixes a bug where a cons containing a lone symbol in a
list of conses causes nil to used as the package to install.
GitHub-reference: fix https://github.com/jwiegley/use-package/issues/720
Copyright-paperwork-exempt: yes
Justin Talbott [Mon, 13 Aug 2018 19:15:42 +0000 (15:15 -0400)]
prefix argument with _ to suppress Unused lexical argument warning
per @tarsius’s comment
https://github.com/jwiegley/use-package/commit/
5d9c854a6cf12fff2326ee5653e87e2d3d550a8d #commitcomment-
29996666
John Wiegley [Sun, 15 Jul 2018 18:01:24 +0000 (11:01 -0700)]
Merge pull request from justbur/autoload-keymap
Correct prefix keys after use-package-autoload-keymap
GitHub-reference: https://github.com/jwiegley/use-package/issues/686
John Wiegley [Tue, 10 Jul 2018 07:29:34 +0000 (00:29 -0700)]
Merge pull request from jwiegley/ensure-system-package-filepath
allow :ensure-system-package to check the presence of files at path
GitHub-reference: https://github.com/jwiegley/use-package/issues/703
Justin Talbott [Mon, 9 Jul 2018 21:47:42 +0000 (17:47 -0400)]
allow :ensure-system-package to check the presence of files at path
closes https://github.com/jwiegley/use-package/issues/660
John Wiegley [Tue, 3 Jul 2018 19:58:38 +0000 (12:58 -0700)]
Merge pull request from killdash9/patch-1
Place :chords at beginning of use-package-keywords
GitHub-reference: https://github.com/jwiegley/use-package/issues/697
Russell Black [Fri, 29 Jun 2018 02:40:58 +0000 (20:40 -0600)]
Place :chords at beginning of use-package-keywords
When it is at the end, the keys don't get bound until after the package has been loaded, which is bad. Placing it at the beginning allows the key bindings to be mapped to auto-loaded functions before the package is loaded, so that a key chord press triggers the package load.
John Wiegley [Mon, 25 Jun 2018 19:12:37 +0000 (12:12 -0700)]
Merge pull request from killdash9/patch-1
New style of auto-deferral for chords
GitHub-reference: https://github.com/jwiegley/use-package/issues/658
John Wiegley [Mon, 25 Jun 2018 19:09:44 +0000 (12:09 -0700)]
Merge branch 'master' into patch-1
John Wiegley [Thu, 14 Jun 2018 05:19:49 +0000 (22:19 -0700)]
Merge pull request from jabranham/enable-lexical-binding
Enable lexical binding
GitHub-reference: https://github.com/jwiegley/use-package/issues/657
Alex Branham [Tue, 22 May 2018 17:37:28 +0000 (12:37 -0500)]
Fix use-package-normalize-function
Alex Branham [Tue, 22 May 2018 16:41:21 +0000 (11:41 -0500)]
Fix use-package-normalize-function tests
Alex Branham [Tue, 20 Mar 2018 16:40:26 +0000 (11:40 -0500)]
Enable lexical binding
This supersedes https://github.com/jwiegley/use-package/issues/617 and closes https://github.com/jwiegley/use-package/issues/648
John Wiegley [Wed, 13 Jun 2018 20:49:11 +0000 (13:49 -0700)]
Merge pull request from taingra/master
Added an Introduction taken from the README
GitHub-reference: https://github.com/jwiegley/use-package/issues/692
John Wiegley [Wed, 13 Jun 2018 20:49:00 +0000 (13:49 -0700)]
Update use-package.texi
Thomas Ingram [Wed, 13 Jun 2018 20:24:23 +0000 (16:24 -0400)]
Added an Introduction taken from the README
Copyright-paperwork-exempt: yes
Justin Burkett [Mon, 4 Jun 2018 01:38:20 +0000 (21:38 -0400)]
Correct prefix keys after use-package-autoload-keymap
By adding events of the form (cons t event) to unread-command-events, Emacs
correctly updates this-command-keys for the subsequent use of the prefix.
Before this change, packages like my which-key were not getting the correct
prefix after use-package-autoload-keymap loaded the relevant package.
See https://github.com/justbur/emacs-which-key/issues/192
John Wiegley [Sat, 19 May 2018 21:48:47 +0000 (14:48 -0700)]
Merge pull request from akhramov/fix/ensure-system-package-cleanup
ensure-system-package cleanup
GitHub-reference: https://github.com/jwiegley/use-package/issues/683
Artyom Khramov [Sat, 19 May 2018 18:44:43 +0000 (00:44 +0600)]
Ensure system package cleanup
The function introduced in https://github.com/jwiegley/use-package/issues/673 wasn't declared at compile time, and
it made byte compiler unhappy. Moreover, it was forgotten to remove
redundant compile time variables. Thanks @tarsius for pointing that
out.
This change
* Removes redundant variable declarations
* Adds `system-packages-get-command` function declaration.
Copyright-paperwork-exempt: yes
Naoya Yamashita [Sat, 19 May 2018 05:21:26 +0000 (14:21 +0900)]
fix gethash default value for use-package-statistics-time
float-time expect list like (HIGH LOW USEC PSEC)
> HIGH has the most significant bits of the seconds, while LOW has the
> least significant 16 bits. USEC and PSEC are the microsecond and
> picosecond counts.
by `current-time` in editfns.c
Justin Talbott [Sun, 13 May 2018 04:30:24 +0000 (00:30 -0400)]
Merge pull request from andschwa/remap-command
Document that remapping commands is supported with bind-key
GitHub-reference: https://github.com/jwiegley/use-package/issues/674
Andrew Schwartzmeyer [Mon, 30 Apr 2018 16:54:12 +0000 (09:54 -0700)]
Document that remapping commands is supported with bind-key
Copyright-paperwork-exempt: yes
Justin Talbott [Thu, 26 Apr 2018 18:21:50 +0000 (14:21 -0400)]
Merge pull request from akhramov/fix/ensure-system-package-noconfirm
[Fix https://github.com/jwiegley/use-package/issues/661] ensure-system-package: honor system-packages customizations
GitHub-reference: https://github.com/jwiegley/use-package/issues/673
Artyom Khramov [Wed, 25 Apr 2018 20:22:53 +0000 (02:22 +0600)]
[] ensure-system-package: honor system-packages customizations
ensure-system-package doesn't honor system-packages
customizations (https://github.com/jwiegley/use-package/issues/661), because system-packages didn't provide an API
to retrieve shell command to be executed.
This change makes use of the new system-packages'
`system-package-get-command` function and therefore fixes the issue.
GitHub-reference: fix https://github.com/jwiegley/use-package/issues/661
Copyright-paperwork-exempt: yes
Russell Black [Sat, 24 Mar 2018 04:04:48 +0000 (22:04 -0600)]
Update use-package-chords.el
Russell Black [Sat, 24 Mar 2018 03:46:36 +0000 (21:46 -0600)]
Update use-package-chords.el
new style of auto-deferral for chords
Justin Talbott [Fri, 16 Mar 2018 20:07:41 +0000 (16:07 -0400)]
Merge pull request from waymondo/master
:ensure-system-package - allow cdr of cons to be a package name symbol
GitHub-reference: https://github.com/jwiegley/use-package/issues/654
Justin Talbott [Fri, 16 Mar 2018 16:29:20 +0000 (12:29 -0400)]
:ensure-system-package allow cdr of cons to be a package name symbol
closes https://github.com/jwiegley/use-package/issues/652
John Wiegley [Wed, 14 Mar 2018 18:43:35 +0000 (11:43 -0700)]
Merge pull request from valignatev/master
Encourage installation via https instead of http
GitHub-reference: https://github.com/jwiegley/use-package/issues/651
Valentin Ignatev [Wed, 14 Mar 2018 11:27:09 +0000 (21:27 +1000)]
Encourage installation via https instead of http
John Wiegley [Tue, 13 Mar 2018 06:35:01 +0000 (23:35 -0700)]
Merge pull request from DamienCassou/fix-report-again
Fix report again after revert
GitHub-reference: https://github.com/jwiegley/use-package/issues/647
Damien Cassou [Sun, 11 Mar 2018 12:22:13 +0000 (13:22 +0100)]
Fix compile-time warnings due to the statistics-reporting code
The code worked because the file is using dynamic binding.
Damien Cassou [Sun, 11 Mar 2018 12:21:00 +0000 (13:21 +0100)]
Add missing require
This is used for `hash-table-keys`.
Fix https://github.com/jwiegley/use-package/issues/644.
John Wiegley [Mon, 12 Mar 2018 04:37:34 +0000 (21:37 -0700)]
Merge pull request from jwiegley/revert-645-fix-report
Revert "Fix report"
GitHub-reference: https://github.com/jwiegley/use-package/issues/646
John Wiegley [Mon, 12 Mar 2018 04:37:02 +0000 (21:37 -0700)]
Revert "Fix report"
John Wiegley [Mon, 12 Mar 2018 04:34:23 +0000 (21:34 -0700)]
Merge pull request from DamienCassou/fix-report
Fix report
GitHub-reference: https://github.com/jwiegley/use-package/issues/645
Damien Cassou [Sun, 11 Mar 2018 12:22:13 +0000 (13:22 +0100)]
Fix compile-time warnings due to the statistics-reporting code
The code worked because the file is using dynamic binding.
Damien Cassou [Sun, 11 Mar 2018 12:21:00 +0000 (13:21 +0100)]
Add missing require
This is used for `hash-table-keys`.
Fix https://github.com/jwiegley/use-package/issues/644.
John Wiegley [Thu, 8 Mar 2018 22:45:02 +0000 (14:45 -0800)]
Merge pull request from DamienCassou/tabulated-list
Use a tabulated-list to display package configuration statistics
GitHub-reference: https://github.com/jwiegley/use-package/issues/642
Damien Cassou [Thu, 8 Mar 2018 19:48:07 +0000 (20:48 +0100)]
Use a tabulated-list to display package configuration statistics
Fix https://github.com/jwiegley/use-package/issues/641
John Wiegley [Mon, 5 Mar 2018 18:09:44 +0000 (10:09 -0800)]
Merge pull request from matthewbauer/patch-1
Support ":package" in use-package
GitHub-reference: https://github.com/jwiegley/use-package/issues/633
Matthew Justin Bauer [Sun, 25 Feb 2018 21:03:43 +0000 (15:03 -0600)]
Support ":package" in use-package
bind-key supports the keyword ":package" but use-package does not know that. Adding this should be helpful. In the future, maybe we could automatically fill in with the use-package package, but that could be a breaking change.
John Wiegley [Tue, 6 Feb 2018 22:14:51 +0000 (14:14 -0800)]
Merge pull request from justbur/normalize-fix
Fix usage of plist argument in use-package-normalize-plist
GitHub-reference: https://github.com/jwiegley/use-package/issues/625
Justin Burkett [Tue, 6 Feb 2018 17:48:51 +0000 (12:48 -0500)]
Fix usage of plist argument in use-package-normalize-plist
Previously the argument was never used.
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
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.
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