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

736 commits

Author SHA1 Message Date
justbur
c493e0b4bb Resize popup when frame resized
Fixes #139
2016-09-11 16:02:46 -04:00
Justin Burkett
ad9b0e43bc Merge pull request #137 from tarsius/outlines
Follow conventions for section headers
2016-08-31 19:55:26 -04:00
Justin Burkett
df90df61b3 Merge pull request #136 from tarsius/fixup
Move definition of which-key--local-binding-p
2016-08-31 19:55:03 -04:00
Jonas Bernoulli
1c4bea2d09 Follow conventions for section headers
Doing so allows the use of `outline-minor-mode' makes it possible
to navigate sections similarly to how that is done in `org-mode'.
2016-09-01 01:26:10 +02:00
Jonas Bernoulli
fe21ce6f0b Move definition of which-key--local-binding-p
It has to be defined after the inline functions which it uses.
2016-08-31 14:41:41 +02:00
Justin Burkett
1eace34a1f Version 1.1.15 2016-08-17 11:17:45 -04:00
Justin Burkett
b7cce2d0a7 Add note about setting delay to zero 2016-08-17 11:17:16 -04:00
Justin Burkett
06444f300e Fix minibuffer echo not displaying
See #133
2016-08-17 11:11:56 -04:00
justbur
979b984290 Version 1.1.14
Tagged wrong commit
2016-07-28 09:21:32 -04:00
justbur
c03f179e25 Disable hack for echo area
Seems to cause more problems (like completion commands sometimes being
overwritten) than it solves.
2016-07-28 09:17:19 -04:00
justbur
b7e1906dd6 Fix Makefile 2016-07-27 09:22:38 -04:00
justbur
eb4a6f6e25 Add allow-imprecise-window-fit option
Possible fix for #130

When enabled this option avoids the use of fit-window-to-buffer to
resize the popup. My profiling suggested that emacs was spending a lot
of time in this function (and hanging sometimes) with different fonts. I
noticed this with Roboto Mono on MSWindows, which should explain #130.
2016-07-09 15:25:50 -04:00
justbur
9ec4b6a258 Explicitly set tab-width when collecting bindings
For some reason indent-tabs-mode doesn't use tabs with strange
tab-widths.

See https://github.com/syl20bnr/spacemacs/issues/6497
2016-07-06 15:16:40 -04:00
justbur
71b0b83a27 Fix previous commit 2016-07-05 09:05:47 -04:00
justbur
adfcd0e73b Add whitelist and blacklist options
which-key-allow-regexps is a list of regexps that allow the popup when
one is matched

which-key-inhibit-regexps inhibits the popup when one regexp matches

The string matched against is the current key sequence as produced by
key-description.

Fixes #129
2016-07-05 08:58:40 -04:00
justbur
9184b1bcbf Remove setup code
It's no longer necessary and makes changing echo-keystrokes annoying.
2016-06-17 08:42:18 -04:00
justbur
ff66d8abc7 Make current-prefix nil when not showing popup 2016-06-16 11:01:53 -04:00
justbur
6adadec740 Use sit-for instead of timer for delay functions 2016-06-16 10:10:51 -04:00
justbur
c2fb61f2f8 Fix arg to which-key-delay-functions 2016-06-14 21:45:10 -04:00
justbur
e4d61490e8 Redesign delayed keys implementation
Everything is controlled through which-key-delay-functions now.

Ref #128
2016-06-14 21:42:34 -04:00
justbur
12d2266d9d Fix bug in previous commit 2016-06-09 22:39:47 -04:00
justbur
322cda0e78 Introduce delayed prefixes
One version of idea in #128. This design is subject to change.
2016-06-09 22:37:11 -04:00
justbur
13316578c8 Bump version 2016-05-27 09:35:27 -04:00
justbur
d031bad7b6 Fix performance issue with secondary timer
The secondary timer option was restarting the timer every time through
the update function, which caused the cpu to max out. Adds a flag so
that the timer is only restarted when necessary.

Fixes #126
2016-05-27 09:31:35 -04:00
justbur
169c1ad725 Bump version 2016-05-26 11:19:02 -04:00
justbur
8fee7c168e Fix --echo when echo-keystrokes nil 2016-05-26 11:16:43 -04:00
justbur
3018a537f5 Remove some unused code in comments 2016-05-24 21:37:52 -04:00
justbur
e8a66637c7 Change name of arg in define-key-recursively
Also clarify docstring
2016-05-24 12:44:50 -04:00
justbur
c6ad06c03d New screenshots 2016-05-16 21:25:05 -04:00
justbur
1b611e9947 More cleanup of README 2016-05-16 21:18:59 -04:00
justbur
02ee845072 README typo 2016-05-16 21:15:28 -04:00
justbur
642373e356 Fix comment about special keys in README 2016-05-16 21:08:18 -04:00
justbur
0c32f52bfc Update docs for new sort function 2016-05-16 21:06:23 -04:00
justbur
c18ff1c131 Add which-key-local-then-key-order
To use (setq which-key-sort-order 'which-key-local-then-key-order)

See #125
2016-05-16 15:35:33 -04:00
justbur
484f4ff9a7 Bump version 2016-05-13 09:05:03 -04:00
justbur
796d0ccefb Account for echo-keystrokes = which-key-idle-delay
Ref #123
2016-05-12 08:39:38 -04:00
justbur
e151eebebf Bump version 2016-05-07 08:07:55 -04:00
Justin Burkett
7ccae62f0d Merge pull request #122 from redguardtoo/master
tooltip-mode does in exist in emacs-nox #120
2016-05-07 08:03:05 -04:00
Chen Bin
df41a62dc8 tooltip-mode does in exist in emacs-nox #120 2016-05-07 14:22:53 +10:00
justbur
9883acc887 Bump version 2016-05-05 10:31:45 -04:00
justbur
e13a378a9d Backport two frame width functions for 24.3 support
Fixes #119
2016-05-05 10:30:44 -04:00
Justin Burkett
a6397980d5 Merge pull request #116 from cute-jumper/master
Fix god mode advice
2016-04-27 15:04:01 -04:00
Junpeng Qiu
d905bf6570 Fix god mode advice
See https://github.com/justbur/emacs-which-key/pull/115
2016-04-27 14:45:41 -04:00
justbur
e095d528f7 Merge branch 'god-mode' 2016-04-26 14:27:58 -04:00
justbur
cc2a561a16 Add advice for god-mode support to hide popup
The standard way to hide the popup before the command is not working.
2016-04-26 14:26:25 -04:00
justbur
9a5d4c5b15 Fix minor issues with god-mode support
Make sure advice is activated for god-mode-lookup-command

Check for null which-key--god-mode-key-string
2016-04-26 14:16:08 -04:00
justbur
88fd7608c5 Better default for which-key-echo-keystrokes
Fixes #114
2016-04-26 11:08:32 -04:00
justbur
137ccbbac7 Add third-party section to which-key.el 2016-04-26 09:18:48 -04:00
justbur
bfc5c38b6d Add third-party support section to readme 2016-04-26 09:18:20 -04:00
justbur
5284e904cc Add support for god-mode
Needs to be explicitly activated by calling
(which-key-enable-god-mode-support)
2016-04-26 09:07:12 -04:00