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

362 commits

Author SHA1 Message Date
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
justbur
9493f2c425 Revert preserve-size setting on buffer
It's preventing the buffer from automatically shrinking
2015-10-01 20:22:37 -04:00
justbur
48fd060b76 Let bind golden-ratio-mode when showing window
Prevents golden-ratio from changing size of which-key buffer

Fix #67
2015-09-29 11:38:01 -04:00
justbur
26ec90203a Add preserve-size option to side-window display
Beginning of fix for #67
2015-09-29 10:54:29 -04:00
justbur
4b54f3e045 Don't fail if buffer was killed somehow 2015-09-27 12:52:02 -04:00
justbur
49204b7f96 Fix merge conflicts 2015-09-24 10:38:06 -04:00
justbur
86d0613c7f Bump version 2015-09-24 10:33:52 -04:00
justbur
4ddf2777da Better fix for #65
Go back to using the original strategy of backing up
`prefix-help-command` but make sure it never gets set to
`which-key-show-next-page`.
2015-09-24 10:32:17 -04:00
justbur
e5e5f7c978 Revert "Fix #65"
This reverts commit c1873df76d.
2015-09-24 10:22:29 -04:00
justbur
c1873df76d Fix #65
Don't try to backup the value of `prefix-help-command` because it was
getting set to `which-key-show-next-page` somehow creating an infinite
recursion error. Just call `describe-prefix-bindings` directly, which
should cover almost all cases.
2015-09-23 14:00:46 -04:00
justbur
df53b5d11c Fix docstring typo
Thanks @hmelman
2015-09-22 09:07:11 -04:00
justbur
74a372468e Add alist-name arg to add-key-val-to-alist
Otherwise the name of the alist is not available to this function
2015-09-20 21:26:11 -04:00
justbur
6a5c2410dd Add faces group 2015-09-20 20:59:01 -04:00
justbur
db263bc2d6 Better messages for add-key-val-to-alist 2015-09-19 11:10:58 -04:00
justbur
acf30ee10a Remove some alists from customize and update docs
The helper functions should be used now due to the nature of the lists.
Removing the variables from customize should encourage this.

Also add automatic conversion of old format of
`which-key-key-based-description-replacement-alist`.
2015-09-18 15:39:27 -04:00
justbur
f865977df3 Update README for key-based replacements 2015-09-18 11:20:00 -04:00
justbur
4d7363df19 Add ability to highlight certain commands
Adds `which-key-highlighted-command-list` and
`which-key-highlighted-command-face` as user-customizable means of
highlighting arbitrary commands (selected through regexp) with arbitrary
faces.
2015-09-16 12:20:24 -04:00
Justin Burkett
5761b07b57 typo in readme 2015-09-09 11:21:50 -04:00
justbur
358ebaca5d Mute echo-keystrokes message
It seems to be too much information to display on *every* startup
2015-09-08 06:31:52 -04:00
justbur
e0c80e3ab5 Better warning for add-key-val-to-alist 2015-09-03 15:23:59 -04:00
justbur
8b5d4c1dd2 Fix typo 2015-09-03 13:19:42 -04:00
justbur
5cfc20646f Minor fix on last commit 2015-09-03 13:11:12 -04:00
justbur
34dbf35123 Common interface for prefix names and titles 2015-09-03 13:01:02 -04:00
justbur
e5ed7de510 Minor changes to key-seq functions 2015-09-02 20:50:36 -04:00
justbur
2f45969ca9 Change default indentation of helpers 2015-09-02 20:36:39 -04:00