| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
: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
|
|\
| |
| |
| | |
Correct prefix keys after use-package-autoload-keymap
GitHub-reference: https://github.com/jwiegley/use-package/issues/686
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
closes https://github.com/jwiegley/use-package/issues/660
|
| |
| |
| |
| | |
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.
|
|\ \ |
|
| | | |
|
| |/
| |
| |
| | |
This supersedes https://github.com/jwiegley/use-package/issues/617 and closes https://github.com/jwiegley/use-package/issues/648
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Copyright-paperwork-exempt: yes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|/
|
|
| |
new style of auto-deferral for chords
|
|
|
|
| |
closes https://github.com/jwiegley/use-package/issues/652
|
|
|
|
| |
The code worked because the file is using dynamic binding.
|
|
|
|
|
|
| |
This is used for `hash-table-keys`.
Fix https://github.com/jwiegley/use-package/issues/644.
|
| |
|
|
|
|
| |
The code worked because the file is using dynamic binding.
|
|
|
|
|
|
| |
This is used for `hash-table-keys`.
Fix https://github.com/jwiegley/use-package/issues/644.
|
|
|
|
| |
Fix https://github.com/jwiegley/use-package/issues/641
|
|
|
|
| |
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.
|
|
|
|
| |
Previously the argument was never used.
|
|
|
|
| |
This option allows use-package to skip over keywords it doesn't recognize.
|
|
|
|
|
| |
This reverts commit d21787f1d64a740c0e00899835d9200a0e4690df, reversing
changes made to fd8a3510fd1a555b925f57b2870917e3c4ea0206.
GitHub-reference: https://github.com/jwiegley/use-package/issues/617
|
|
|
|
| |
This reverts commit c29193bf0724633adf7183dad2d0b6faf7d029ab.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| | |
Handle automatic macro expansion by elisp-completion-at-point
GitHub-reference: https://github.com/jwiegley/use-package/issues/599
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | | |
Render the use-package-report table using Org
GitHub-reference: https://github.com/jwiegley/use-package/issues/592
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/589
|
|
|
|
| |
Address the question raised in https://github.com/jwiegley/use-package/issues/591
|
| |
|
|
|
| |
GitHub-reference: https://github.com/jwiegley/use-package/issues/482
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/585
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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`.
|
| |
|
|
|
|
|
| |
This avoids "Variable unknown" errors if a byte-compiled init.elc happening to
encounter an error while evaluating an :init or :config block.
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/571
|
|
|
|
| |
This reverts commit 7cc17cee8f8ae2093d98efebf429cd10e9b0b81c.
|