Eli Zaretskii
dde3b9350e
Merge from origin/emacs-29
...
0f183770c5
Fix byte-compiled files that use 'bind-key' from use-package
acfcf7f369
Fix "Paste from Kill Menu" in non X toolkit builds
04996b2124
Handle tabs in the SQL shown in the column listing
573fcf2712
Add new keyword to 'typescript-ts-mode'
db7d70d3ca
; Add commentary to 'describe-function's completion
2023-08-04 03:17:51 -04:00
Eli Zaretskii
0f183770c5
Fix byte-compiled files that use 'bind-key' from use-package
...
* lisp/use-package/bind-key.el (bind-key): Ensure 'bind-key' is
loaded at run time. Patch by John Wiegley <johnw@gnu.org>.
(Bug#64901)
2023-08-04 09:41:30 +03:00
Eli Zaretskii
3c55fbd4ad
Merge from origin/emacs-29
...
cae528457c
; Add 2023 to copyright years.
b394359261
Improve documentation of 'isearch-open-overlay-temporary'
ab3210e709
Document 'use-package' in the 2 main manuals
# Conflicts:
# etc/refcards/ru-refcard.tex
# lib/explicit_bzero.c
# m4/explicit_bzero.m4
2023-01-01 05:47:47 -05:00
Eli Zaretskii
cae528457c
; Add 2023 to copyright years.
2023-01-01 05:31:12 -05:00
Stefan Kangas
fcd0b377e0
Merge from origin/emacs-29
...
06ef030f93
use-package.texi: New section "Manual installation"
f4ce6fa7d3
Revert "Revert "Improve last change to xfaces.c" (05ece1e...
b8d2ec920f
Revert "Improve last change to xfaces.c" (05ece1eb8b
)
24c8c28ae6
Do not pare arguments unnecessarily.
9c0d7bb73b
Add automated tests for Eglot
d3669cfe15
Eglot: allow skipping compile-time warnings about LSP int...
04b7e01885
; project.el: Bump version.
f2876014ad
Add customizale faces for tree-sitter explorer
3e349ee119
Fix error message when installing non-existent package
733cdeabfb
Don't use diff-mode buffer as a patch when it's visiting ...
87475f4af2
Fix pcase rx patterns using rx-let bindings (bug#59814)
4893a15631
Fix use-package-defaults defcustom type (bug#59941)
074b7e6f4d
; * lisp/use-package/bind-key.el: Remove ineffective back...
864ed9dfa1
; * lisp/progmodes/dockerfile-ts-mode.el: use \' instead ...
9f7e5584a4
* lisp/language/indian.el: Improve Brahmi composition rul...
78ad33bb05
; Minor cleanup of last change in xfaces.c.
2024ade271
; Improve docs of relaxing face-font attribute match (bug...
2022-12-12 09:05:53 +01:00
Mattias Engdegård
074b7e6f4d
; * lisp/use-package/bind-key.el: Remove ineffective backslashes.
2022-12-11 12:09:42 +01:00
Po Lu
13310643cd
Merge from origin/emacs-29
...
5fbd12ff49
Adapt manual names in emacs-news-mode
b36bc69267
; * etc/NEWS: Fix typos.
f626b9f385
; * doc/misc/use-package.texi: Fix indexing.
56a6712bd6
; * lisp/erc/erc.el (erc-default-target): Fix comment.
dcf69a1da4
Respect some spaces in auth-source-pass--match-regexp
acd462b030
; Improve the use-package manual
801c1c22de
; Prefer HTTPS to HTTP in some URLs
74a009dd96
Eglot: Handle LSP progress with Emacs progress reporters ...
0cfeb1c2bc
Eglot: cleanup whitespace and indentation
465a9e78b9
Better test-custom-opts diagnostics
bdbb709978
; Fix groff warnings in man pages
d3d9676bf8
New script admin/check-man-pages
c2aea9d132
; Mention flush-lines in kill-matching-lines docstring
f5c3585e4d
; Fix typos
58a483960d
; Improve use-package-autoload-keymap docstring
# Conflicts:
# etc/NEWS
2022-12-11 09:34:02 +08:00
Stefan Kangas
f5c3585e4d
; Fix typos
2022-12-09 10:18:00 +01:00
Po Lu
2f0bd8167c
Merge from origin/emacs-29
...
67ef92fb0e
Revert "; * src/emacs.c (main): Improvements to last chan...
6ccdda3df2
server-eval-at: Don't call server--file-name
9089577329
; Improve use-package Commentary sections
15dda8cd5b
; Don't say to require bind-key in use-package manual
2626704054
; Normalize GPLv3 license statements in new files
2022-12-09 09:31:37 +08:00
Stefan Kangas
9089577329
; Improve use-package Commentary sections
...
* lisp/use-package/bind-key.el:
* lisp/use-package/use-package-bind-key.el:
* lisp/use-package/use-package-core.el:
* lisp/use-package/use-package-ensure-system-package.el:
* lisp/use-package/use-package-ensure.el:
* lisp/use-package/use-package.el: Improve Commentary sections.
2022-12-09 00:32:30 +01:00
Stefan Kangas
2626704054
; Normalize GPLv3 license statements in new files
2022-12-09 00:13:00 +01:00
Stefan Kangas
da476ae182
Fix namespacing issues in bind-key.el
...
* lisp/use-package/bind-key.el (get-binding-description)
(compare-keybindings): Rename from this...
(bind-key--get-binding-description)
(bind-key--compare-keybindings): ...to this.
2022-12-08 23:47:44 +01:00
Stefan Kangas
b9fa81514f
; Minor doc fixes in bind-key.el
...
* lisp/use-package/bind-key.el (bind-key-segregation-regexp)
(bind-key): Minor doc fixes.
2022-12-08 17:14:31 +01:00
Stefan Kangas
15fb115551
Update use-package defgroups
...
* lisp/use-package/bind-key.el (bind-key):
* lisp/use-package/use-package-core.el (use-package):
* lisp/use-package/use-package-ensure.el (use-package-ensure): Add
:link, :version and :group to defgroups.
2022-12-08 17:11:21 +01:00
Stefan Kangas
888558ec42
Improve bind-keys* and override-global-mode docstrings
...
* lisp/use-package/bind-key.el (bind-keys*): Add docstring.
(override-global-mode) Improve docstring.
2022-12-08 02:09:40 +01:00
Stefan Kangas
efae6048dd
Add package keyword from finder-known-keywords
2022-11-17 12:15:21 +01:00
Stefan Kangas
06f92d1cc0
Fix Package-Requires for bind-{chord,key}.el
2022-11-17 12:14:57 +01:00
John Wiegley
e42c8479ec
Merge pull request from skangas/dir-locals
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/1023
2022-11-16 11:29:27 -08:00
Stefan Kangas
30fa366737
Add .dir-locals.el
2022-11-16 18:02:20 +01:00
Stefan Kangas
79c2c3a3ad
Delete redundant headers
2022-11-16 08:43:55 +01:00
Stefan Kangas
2399d0d5ce
Normalize GPLv3 license statements
2022-11-16 08:43:55 +01:00
John Wiegley
3e81af80a2
Revert "Allow multiple keymaps in :map argument"
2022-11-15 15:24:12 -08:00
John Wiegley
49fffe7cf4
Merge remote-tracking branch 'origin/master' into pr-830
2022-11-15 09:21:07 -08:00
John Wiegley
ae301ad36d
Merge pull request from skangas/checkdoc
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/1015
2022-11-14 12:07:34 -08:00
Stefan Kangas
ff30d22909
Various checkdoc fixes
2022-11-14 02:18:43 +01:00
Stefan Kangas
45e6ee1371
Fix tests on Emacs 26 or older
...
This fixes the following error in Emacs 25.3:
In toplevel form:
bind-key.el:549:1:Error: the function ‘mapcan’ is not known to be defined.
2022-11-13 23:26:44 +01:00
Payas Relekar
2ee9b31ca4
bind-key.el: Bump version for ELPA
2022-10-28 10:37:18 +05:30
Payas Relekar
0fafd98513
Update copyright for submission to ELPA
...
- Update year to 2022
- Set copyright to Free Software Foundation, Inc.
2022-10-25 20:02:35 +05:30
Jacob First
ec96b47664
bind-keys supports passing a list of keymaps as :map argument
2022-09-29 04:01:42 -04:00
Codruț Constantin Gușoi
1494f65f61
Fix emacs native compilation warning for bind-key
...
To reproduce, have emacs built with native compilation and notice the
compilation logs. You can then open the offending file and run `M-x
emacs-lisp-native-compile-and-load` before and after the changes to see
the warning is removed.
```
■ Warning (comp): bind-key.el:150:2: Warning: docstring has wrong
usage of unescaped single quotes (use \= or different quoting)
```
2022-09-10 17:16:18 +01:00
realcomplex
a05b9e28ed
Go back to making override-global-mode
non-global
...
Copyright-paperwork-exempt: yes
2022-08-11 09:08:25 +02:00
Koen van Greevenbroek
85c1287c26
Make sure that bind-key's override-global-mode
is initially on
...
In 4004dde
the arguments to `define-minor-mode` were changed
erroneously. Whereas the `override-global-mode` was initially defined
as `(define-minor-mode override-global-mode "..." t "")`, the two
latter arguments where changed to `:global t :lighter ""`. However,
the two original arguments corresponded to the keywords `:init-value`
and `:lighter`, respectively.
With `:init-value t` now missing, the minor mode isn't enabled by
default, and `bind-key*` appears not to work.
Copyright-paperwork-exempt: yes
2022-08-10 11:47:07 +02:00
Jonas Bernoulli
53c1889342
Quote single quotes in docstrings or use different quoting
...
The byte-compiler started pointing this out:
Warning: docstring has wrong usage of unescaped single
quotes (use \= or different quoting)
2022-08-08 23:06:34 +02:00
John Wiegley
a0ba027ee5
Merge pull request from wcy123/master
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/822
2022-08-07 08:53:36 -07:00
John Wiegley
ca426a7732
Merge pull request from phst/lex
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/848
2022-08-07 08:49:45 -07:00
John Wiegley
de0c8c36c7
Merge pull request from Hugo-Heagren/bind-keys-repeat-map
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/974
2022-08-07 08:30:25 -07:00
Jonas Bernoulli
4004dde6ea
Avoid positional arguments to define-minor-mode
...
Back in Emacs-21.1, `define-minor-mode' grew keyword arguments to
replace its old positional arguments. Starting with Emacs-28.1
a warning will be omitted if positional arguments are still used.
2022-06-26 17:07:04 +02:00
Wang Chunye
9be2580f5f
optimization: constand folding for read-kbd-macro
...
to boost startup performance, it is better to avoid invoking
`read-kbd-macro` at run time which requires 'cl-lib.
it takes ~20ms to load cl-lib
Copyright-paperwork-exempt: yes
2022-02-06 21:23:46 +08:00
Hugo Heagren
1143f14d65
bind-keys-form: error for repeat sub-keywords without :repeat-map
...
Error descriptively if :continue or :exit is specified without
:repeat-map.
2022-01-28 22:37:37 +00:00
Hugo Heagren
c4bd2aa3b8
bind-key-form: allow :continue keyword inside repeat map
...
Purely syntactic sugar, using :continue is the same as not using any
keyword inside :repeat-map at all.
Amend end of function to pass repeat-map value onto next invocation in
recursive uses. This allows for the same repeat map to be used for
:exit and :continue.
2022-01-28 22:37:37 +00:00
Hugo Heagren
5ef327ce9f
bind-key-form: allow :exit keyword inside repeat map
...
Keys bound inside the scope of :exit are bound inside the repeat map,
but do not have their repeat-map property set (so they run a function,
but 'exit' the map).
2022-01-28 22:37:37 +00:00
Hugo Heagren
2203246454
bind-keys-form: new keyword :repeat-map, for defining repeat maps
...
use-package-normalize/:bind: allow keyword :repeat-map.
bind-keys-form: Add keyword :repeat-map. Specifying a symbol as the
repeat-map defines a keymap with that name (and with the docstring
`repeat-doc', if specified). Symbols for functions bound to keys under
the scope of :repeat-map have their 'repeat-map property set to this
map. Update docstring (and that of `bind-keys') to reflect changes.
Rename `doc' to `prefix-doc' for clarity and consistency with
'repeat-doc'.
2022-01-28 22:37:06 +00:00
Daniel Mendler
5ca7bc321d
unbind-key: Ensure that keys are removed from the keymap
...
* The removal from the keymap is performed by bind-key--remove
* Use the same argument normalization as bind-key
2021-02-10 15:34:12 +01:00
Daniel Mendler
ec750952f4
bind-key: Use new symbols for kmapvar
2021-02-10 15:23:44 +01:00
Philipp Stephani
5bd7e0ca7d
Migrate remaining files to lexical binding
2020-08-03 21:37:34 +02:00
Jimmy Yuen Ho Wong
950068809b
Support keymap symbol in bind-key
...
GitHub-reference: fix https://github.com/jwiegley/use-package/issues/845
2020-07-08 04:46:56 +01:00
Jonas Bernoulli
8c7fa11a3f
Fix typos
2019-11-06 13:49:46 +01:00
Andrew Schwartzmeyer
d2fec5e5e3
Document that remapping commands is supported with bind-key
...
Copyright-paperwork-exempt: yes
2018-04-30 09:55:27 -07:00
John Wiegley
a4d2e77961
bind-keys fixes related to
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/482
2017-12-10 21:25:37 -08:00
John Wiegley
c272c6b56b
Update some GPL version references
...
Fixes https://github.com/jwiegley/use-package/issues/563
2017-12-06 06:19:15 -08:00