| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/525
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/333
Fixes https://github.com/jwiegley/use-package/issues/461
|
|
|
|
| |
Re: https://github.com/jwiegley/use-package/issues/457
|
|
|
|
|
|
| |
cl-lib is also required for a separate call to cl-mapcan.
Fixes https://github.com/jwiegley/use-package/issues/520
|
|
|
|
|
|
|
| |
This used to not happen if `:init` or `:config` was missing, or set to nil as
with `:init nil`.
Fixes https://github.com/jwiegley/use-package/issues/250
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/474
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/493
|
| |
|
| |
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/518
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/444
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/476
|
|
|
|
|
|
|
| |
This could actually be used to store your own metadata in use-package
declarations, to be (read) later by simply parsing init file contents.
Fixes https://github.com/jwiegley/use-package/issues/483
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/499
|
|
|
|
|
|
|
|
|
|
| |
This makes the following an error:
:commands
:commands nil
:commands ()
Fixes https://github.com/jwiegley/use-package/issues/512
|
|
|
|
| |
Fixes https://github.com/jwiegley/use-package/issues/514
|
|\
| |
| |
| | |
Remove duplicate documentation of :mode
GitHub-reference: https://github.com/jwiegley/use-package/issues/489
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
Allow `:diminish` with no arguments.
GitHub-reference: https://github.com/jwiegley/use-package/issues/472
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When given no arguments, have :diminish assume it should diminish a
mode named after the current package (the package’s name, with “-mode”
appended, if it’s not already) to an empty string.
When given only a string to diminish an implicit package name to, do
not append “-mode” to the package name if it already ends with
it. (This is a backwards-incompatible change if someone was
diminishing a package named “foo-mode” implementing `foo-mode-mode`.)
Add test cases for `use-package-normalize-diminish`.
This addresses some of the redundancy mentioned in issue https://github.com/jwiegley/use-package/issues/288.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
Add customization keywords
GitHub-reference: https://github.com/jwiegley/use-package/issues/508
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allows customization of faces using customize-set-faces. This makes it
easier to manage customization in version control. Instead of having all the
faces written in a custom.el, the faces can be customized where the rest
of the package is configured.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allows customization of variable using customize-set-variables. This makes it
easier to manage customization in version control. Instead of having all the
variables written in a custom.el, the variable can be customized where the rest
of the package is configured.
|
|/ / / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
It expects a literal string as argument at macro-expansion
time, but we need to construct the message.
|
|\ \ \
| |_|/
|/| |
| | | |
Fix bug in use-package-install-deferred-package
GitHub-reference: https://github.com/jwiegley/use-package/issues/479
|
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, deferred installation didn't work because I didn't convert
the result of a `completing-read' back from a string to a symbol,
which meant the hash-table lookup failed.
|
| |/
|/| |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
This allows using forms such as
(use-package foo :delight)
;; => (delight 'foo-mode)
(use-package foo :delight " f")
;; => (delight 'foo-mode " f")
(use-package foo :delight (a-mode) (b-mode " b")
;; => (delight 'a-mode) (delight 'b-mode " b")
This brings support for `:delight` in line with `:diminish`.
GitHub-reference: https://github.com/jwiegley/use-package/issues/477
|
|
|
|
|
|
|
|
| |
These keywords work equivalently to `:mode` or `:interpreter`, but for
`magic-mode-alist` and `magic-fallback-mode-alist`.
The handler function implementation is now passed a list to add to,
and shared by all four of them.
GitHub-reference: https://github.com/jwiegley/use-package/issues/469
|
|
|
|
|
|
|
|
|
| |
If the network is missing and there is a new use-package with :ensure,
startup would fail part of the way through due package.el being unable
to reach the package repo. This will catch that error and report it
while allowing startup to continue.
Copyright-paperwork-exempt: yes
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous version of `use-package-normalize-value', when passed
nil, would return the list (symbol-value (quote nil)). This meant that
keywords which used `use-package-normalize-value' or the higher-level
normalizer `use-package-normalize-test' would get a non-nil
argument (i.e. the above list) even when the user specified nil to the
package.
This had the concrete impact of making it so that :defer-install nil
was treated as :defer-install t.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The parsing logic in `use-package-normalize-pairs' is not designed to
deal with keyword arguments. However, `use-package-normalize-pairs' is
used to process the arguments to :bind, which can include keyword
arguments. These keyword arguments are supposed to be passed untouched
to the underlying `bind-keys' function, but there is a clause in
`use-package-normalize-pairs' that replaces lists with their first
element. Thus an invocation like:
(use-package company
:bind (:map company-active-map
:filter (company-explicit-action-p)
("RET" . company-complete-selection)))
Generates code like this:
(bind-keys
:map company-active-map
:filter company-explicit-action-p
("RET" . company-complete-selection))
Which generates an error since `company-explicit-action-p' is now
being referenced as a variable rather than a function.
The proper solution is to refactor the logic that goes into parsing
uses of :bind, but this commit adds a temporary patch to eliminate the
above problem, while trying to be as reverse-compatible as possible.
In particular it just inhibits the list-to-first-element
transformation when the previous element processed was a keyword.
|
|\
| |
| |
| | |
Fix :after keyword
GitHub-reference: https://github.com/jwiegley/use-package/issues/439
|
| |
| |
| |
| |
| |
| |
| |
| | |
Commit [1] broke the functionality of :after (see [2]) due to an
extraneous quote being added.
[1]: bd2afa53c7580d23ed8008267b80e1834b6e6600
[2]: https://github.com/jwiegley/use-package/pull/433#issuecomment-287606553
|
|/
|
|
| |
See https://github.com/jwiegley/use-package/pull/433#issuecomment-289317875
|
|\
| |
| |
| | |
Resolve merge conflicts.
|
| |
| |
| |
| | |
This reverts commit 87a8ff6d693f3cc79ea423ca8c8e0a60b0bc596c.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The following expressions are now permitted:
foo ; load after foo is loaded
foo bar ; load after both foo and bar are loaded
:all foo bar ; same as previous
:any foo bar ; load after either foo or bar is loaded
:any (:all foo bar) baz ; more complex combinations...
:any (:all foo bar) (:all baz wow)
:all (:any foo bar) (:any baz wow)
Fixes https://github.com/jwiegley/use-package/issues/283
|
| |
| |
| |
| | |
Fixes https://github.com/jwiegley/use-package/issues/204
|