1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-24 08:51:10 -08:00
Commit graph

669 commits

Author SHA1 Message Date
D.K
ba03e7e5bc Add translation keymap support (#210) 2019-05-28 21:14:09 -04:00
Justin Burkett
77586e62b6 Add which-key-dump-bindings
Fixes #209
2019-05-17 21:57:18 -04:00
Justin Burkett
187ac0eb89 Add note to docstring for which-key-idle-delay
Ref #206
2019-03-15 08:48:23 -04:00
Justin Burkett
c87b0ce782 Add debugging messages for buffer sizing 2019-03-06 10:18:52 -05:00
Justin Burkett
51c485f16b Don't ignore case when making replacements
Fixes #204
2019-03-01 10:41:36 -05:00
Justin Burkett
9c5922edbb Version 3.3.2 2019-02-25 14:10:06 -05:00
Justin Burkett
d9122c48b2 Always check non-major-mode replacements in which-key--maybe-replace 2019-02-25 09:57:03 -05:00
Justin Burkett
3b184d6f0c Simplify finding and matching replacements
Don't try to grab all matching replacements ahead of time, because later ones
may not match if earlier ones make deletions.

Fixes #202
2019-02-24 22:57:31 -05:00
Justin Burkett
2f5661646b Version 3.3.1 2018-11-14 09:34:39 -05:00
Justin Burkett
43e3e3d764 Fix use of describe-prefix-bindings in which-key-show-standard-help
Use describe-prefix-bindings directly if we do not enter through
which-key-C-h-dispatch.

Fixes #198
2018-11-14 09:32:27 -05:00
Justin Burkett
ace569b65f Check for existence of buffer in which-key--popup-showing-p
Fixes #197
2018-11-08 10:21:07 -05:00
Justin Burkett
c938bbf8d4 Mention #130 in README 2018-08-28 11:44:32 -04:00
Justin Burkett
013cdb7259 Make Travis test on v26.1 2018-06-27 10:28:44 -04:00
Justin Burkett
ff79dfff66 Version 3.3.0 2018-06-21 15:38:47 -04:00
Justin Burkett
a4095e8ee6 Fix handling of duplicate (evil) bindings in show keymap 2018-06-08 08:51:48 -04:00
Justin Burkett
0dc4e84722 Use window-size-change-functions for detecting size changes
Fixes #193
2018-06-01 09:46:35 -04:00
Justin Burkett
2c915407e1 Add support for evil's auxiliary maps in show-keymap functions 2018-05-30 22:02:11 -04:00
Justin Burkett
4042f06564 Fix prefix bindings in which-key-show-major-mode 2018-05-30 21:45:26 -04:00
Justin Burkett
206be7a42b Fix behavior of f and t in evil operator map
f and t (also F and T) read characters manually, so the popup should not be
shown after these commands. This only applies if
which-key-show-operator-state-maps is non-nil.

Fixes #191
2018-05-22 10:11:15 -04:00
Justin Burkett
8a878de16d Version 3.2.0 2018-04-26 10:33:36 -04:00
Michał K
bc97659029 Fix and improve defcustoms 2018-03-21 11:31:52 +01:00
Justin Burkett
d19fe4e037 Fix switching to top-level from which-key-undo-key 2018-03-01 13:18:43 -05:00
Justin Burkett
437065886d Factor out which-key--this-command-keys function 2018-02-28 21:29:52 -05:00
Justin Burkett
013681a1e3 Fixes related to removal of which-key--current-prefix 2018-02-28 21:19:23 -05:00
Justin Burkett
0b2739a2be Fix display of meta bindings in which-key-show-keymap 2018-02-28 11:20:20 -05:00
Justin Burkett
3c05294dc6 Fix which-key--create-pages 2018-02-28 08:07:27 -05:00
Justin Burkett
ded908ec0b Remove which-key--current-prefix 2018-02-28 08:07:27 -05:00
Justin Burkett
e97253b052 Add prefix arg to which-key--get-current-bindings and ..
which-key--get-bindings
2018-02-28 08:07:27 -05:00
Justin Burkett
ed7aa66aad Remove a bunch of global variables
Remove need for which-key--using-top-level. Add prefix-title slot to
which-key--pages object.  Remove which-key--using-show-keymap. Remove
which-key--current-show-keymap-name. Remove
which-key--using-show-operator-keymap.
2018-02-28 08:06:30 -05:00
Justin Burkett
61e399f75f Add and use which-key--automatic-display 2018-02-27 20:30:07 -05:00
Justin Burkett
ab60391873 Use cl-struct to hold which-key pages 2018-02-27 09:06:30 -05:00
Justin Burkett
9dc8d3233b Add which-key-toggle-docstrings 2018-02-26 13:24:52 -05:00
Justin Burkett
f77d4210f6 Consolidate key binding collection into which-key--get-bindings 2018-02-26 13:21:17 -05:00
Justin Burkett
f251541021 Refactor show keymap functions 2018-02-26 11:52:49 -05:00
Justin Burkett
0f80d0f95c Use symbol at point in whow keymap functions 2018-02-25 22:51:11 -05:00
Justin Burkett
7da9f8caf3 Fix which-key--show-keymap when no bidnings found
which-key--get-formatted-key-bindings takes a nil argument to mean look for
global bindings which is not what we want here.
2018-02-25 22:36:10 -05:00
Justin Burkett
b5f706398e Detect menu-items in which-key--get-keymap-bindings 2018-02-25 22:35:38 -05:00
Justin Burkett
2e53187307 Fix typo in previous commit 2018-02-24 16:35:16 -05:00
Justin Burkett
fd714bca14 Fix docstring of which-key--get-keymap-bindings 2018-02-24 16:33:13 -05:00
Justin Burkett
caa18b2086 Fix descriptions of keys involving meta when showing keymaps 2018-02-24 16:29:33 -05:00
Justin Burkett
ca991b0d3a Autoload the show keymap functions 2018-02-23 13:48:51 -05:00
Justin Burkett
506c34829c Add which-key-show-full-keymap
Command to show all bindings in a keymap recursively.

Add test for new which-key--get-keymap-bindings functionality.
2018-02-23 13:46:08 -05:00
Justin Burkett
6a4d2c2cc0 Extract which-key--ignore-keys-regexp and which-key-show-keymap-1 2018-02-23 13:32:19 -05:00
Justin Burkett
fce520f8af Improve which-key--format-and-replace
Do a better job with nil descriptions
2018-01-31 09:06:19 -05:00
Justin Burkett
e5db4b6256 Handle null description in which-key--propertize-description
Fixes #186
2018-01-31 09:02:55 -05:00
Justin Burkett
adc0d660ad Use safe version of propertize
Should fix #186
2018-01-31 08:58:15 -05:00
Justin Burkett
5493d22489 Fix description truncation when showing docstrings 2018-01-31 08:04:24 -05:00
Justin Burkett
0aae4c8634 Improve which-key-show-docstrings option
Add setting docstring-only to omit command names. Add which-key-docstring-face.

See #185
2018-01-31 07:46:17 -05:00
Justin Burkett
c71fbbbc3e Add option to show docstrings in which-key buffer
Implements a simple version of the suggestion in #185
2018-01-30 20:29:51 -05:00
Justin Burkett
1219622b75 Remove debugging message 2018-01-08 22:30:21 -05:00