1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-02 11:50:48 -08:00
Commit graph

736 commits

Author SHA1 Message Date
Syohei YOSHIDA
3af2f25803 Use bound-and-true-p for byte compile warning 2015-11-18 12:55:56 +09:00
Syohei YOSHIDA
e888ee885a Move definition position for byte-compile warning 2015-11-18 12:54:31 +09:00
justbur
ef44d0771a Sort character ranges properly
Fix #85
2015-11-17 21:50:55 -05:00
justbur
aa60a2364e Make special-key matching case sensitive 2015-11-16 22:31:10 -05:00
justbur
25bd62aa49 Refactor sorting functions and move fn keys up 2015-11-16 22:13:16 -05:00
justbur
0bddd2db10 Silence warnings for obsolete function 2015-11-16 22:02:18 -05:00
justbur
39fb658dbf Turn on case-sensitivity in replacements
Should avoid situations like #84
2015-11-16 21:57:59 -05:00
justbur
b0991a8a91 Satisfy compiler 2015-11-16 20:13:58 -05:00
justbur
7068ebd224 Bring in new describe-buffer-bindings parsing func
based on similar function in helm-descbinds. This parses the output of
describe-buffer-bindings line by line, and is easier to follow and
manipulate than the previous one that uses complicated regexp
expressions.
2015-11-16 20:04:13 -05:00
justbur
b0f9f580f3 Mention show-top-level in the README 2015-11-15 21:39:33 -05:00
justbur
b2c7d25dde Minor stylistic changes to previous pr 2015-11-13 13:09:37 -05:00
Iqbal Ansari
d3fe7b2e2a Ignore self-insert-command bindings 2015-11-13 22:40:05 +05:30
Iqbal Ansari
25d006eac1 Include keybindings of the form 'a .. z' in which key popup 2015-11-13 22:40:05 +05:30
Iqbal Ansari
6aec4bd9f4 Use set-temporary-overlay-map to setup paging keys for toplevel popup 2015-11-13 22:40:05 +05:30
Iqbal Ansari
26ca465bd1 Manually flush headings for keybindings 2015-11-13 22:40:05 +05:30
Iqbal Ansari
cdd2934d0d Allow function key bindings to be displayed in toplevel help 2015-11-13 22:40:05 +05:30
Iqbal Ansari
95788e94c1 Add a command to popup toplevel bindings 2015-11-13 22:40:05 +05:30
Iqbal Ansari
09aff8b342 Fix some minor bugs 2015-11-13 22:40:05 +05:30
Iqbal Ansari
652af436e8 Improve regexp to match toplevel bindings 2015-11-13 22:40:05 +05:30
Iqbal Ansari
bbe4817313 Change code to handle nil which-key--current-prefix
This would happen when viewing toplevel bindings
2015-11-13 22:40:05 +05:30
justbur
65f0755dd8 Fix sort order of function keys 2015-11-13 12:03:26 -05:00
justbur
fd8681828e Don't use face for prefix if using echo area
With some themes the switch from the text from echo-keystrokes with no
face to the which-key text with a face is annoying.
2015-11-13 09:00:33 -05:00
justbur
b0a13d88df Bump minor version 2015-11-12 13:29:42 -05:00
justbur
51044ea80b Add option to pad key columns on the left
Allows you to make more space between the columns if you think the
layout is too tight.
2015-11-12 13:28:33 -05:00
justbur
e447eaf944 Fix #79
Explicitly set word-wrap in which-key buffer. Fix unicode correction
2015-11-03 20:26:48 -05:00
justbur
864218b307 Add example of adding Unicode replacements in README
Thanks @epitzer for the suggestion.
https://github.com/justbur/emacs-which-key/issues/52
2015-11-03 20:03:29 -05:00
justbur
d777bb50fd Don't show help hint for evil operators
Paging and help doesn't work for these, so don't offer
2015-10-29 21:10:37 -04:00
justbur
8740f0f4e6 Add option to show popup for evil operators
Default is to enable if evil is loaded before which-key. Otherwise, it
is disabled.
2015-10-29 20:51:09 -04:00
justbur
8b4b1ee056 Add melpa stable banner 2015-10-28 22:52:28 -04:00
justbur
777c28444a Don't warn when same cons is added to alist twice 2015-10-22 09:59:36 -04:00
justbur
7226967e4f Move sorting functions and add to readme 2015-10-20 09:26:07 -04:00
justbur
3cdf8a476c Better choices for built-in functions
Thanks @xuchunyang!
2015-10-18 19:48:04 -04:00
justbur
8e0e113479 Cleanup previous commit 2015-10-18 14:15:48 -04:00
justbur
61be00149a Remove dash.el dependency 2015-10-18 13:31:11 -04:00
justbur
d63ce4f196 Remove s.el dependency 2015-10-18 12:31:40 -04:00
justbur
2ea4c91d97 Satisfy compiler for golden-ratio-mode 2015-10-15 10:52:48 -04:00
justbur
8f23bd79c6 Preliminary support for undo 2015-10-08 21:59:40 -04:00
justbur
f91ebdad78 Add new sort function for testing
This is a variation on key order, which uses alphabetical sorting for
characters, putting lowercase before uppercase.

@syl20bnr
2015-10-08 08:16:26 -04:00
justbur
ac33130bc8 Fix problem with two locations for side-window
Can't always reuse the same window in this case when we go to a deeper
set of keybindings, because we may need to switch sides.
2015-10-07 09:01:28 -04:00
justbur
3a71cc1303 Switch to defun in last commit 2015-10-06 22:05:23 -04:00
justbur
e9aa7c37b8 Add new sort function
As suggested by @hmelman, sort by whether a key is a prefix or not (no
prefix takes priority) then by key.
2015-10-06 21:55:48 -04:00
justbur
0982ad358c Bump version to 0.6.2 2015-10-06 10:25:32 -04:00
justbur
caa70fe652 readme: Remove what's new and add dependency note 2015-10-05 07:31:42 -04:00
Justin Burkett
d2e3a09d87 Merge pull request #71 from justbur/refactor
Refactor
2015-10-03 14:38:00 -04:00
justbur
1ef76a9341 Remove comment 2015-10-03 14:22:29 -04:00
justbur
a180639582 Refactor show-next-page 2015-10-03 13:41:00 -04:00
justbur
0533cdc2bb Move golden-ratio-mode let binding
Let bind golden-ratio-mode earlier in show-page function which may help
prevent golden-ratio from moving the whihc-key buffer
2015-10-03 13:20:35 -04:00
Iqbal Ansari
b07a243110 Do not display which-key popup if an interactive command is in progress
This prevents the which-key popup from being displayed if
`read-key-sequence` is invoked from a command as opposed to the editor's
main loop.

The changes introduced in #b96481 and #6d20c0 have been removed since
they are not needed now
2015-10-02 19:48:59 +05:30
justbur
6d20c00c0a Add remove-hook to previous commit 2015-10-02 09:04:51 -04:00
Iqbal Ansari
b96481da28 Run which-key--hide-popup in post-command-hook also 2015-10-02 17:02:25 +05:30