1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-04 13:03:09 -08:00
No description
Find a file
Bar Magal 02140265c4 Frame popup support and some small fixes
Summary of changes:
- add emacs 24.3 as a dependency, because
  `display-buffer-in-major-side-window` doesn't exist in older emacsen
- add option to show which-key buffer in a popup frame
  `(setq which-key-popup-type 'frame)`
- stop close timer when disabling which-key-mode
- don't hide which-key buffer before showing it. instead, show methods
  handle the case that the buffer is already shown
- `which-key/hide-popup` calls function depending on popup
  type (similar to `which-key/show-popup`)
- use `display-buffer-in-major-side-window` instead of
  `display-buffer-in-side-window`, for popup type side-window. ensures
  new side window is created properly even if other side windows already
  exist.
- erase previous contents of which-key buffer before inserting new
  contents, and adjust buffer display in window by moving point to
  the buffer's beginning
2015-07-06 13:46:46 +03:00
img Better picture 2015-07-03 13:06:43 -04:00
LICENSE.md Add license 2015-07-01 20:20:55 -04:00
README.org Better picture 2015-07-03 13:06:43 -04:00
which-key.el Frame popup support and some small fixes 2015-07-06 13:46:46 +03:00

Rewrite of guide-key-mode for emacs.

Here's a recent picture showing what it does:

/mirrors/emacs/media/commit/02140265c42cc3f4793bfcd05ee6c5165ecd4b2c/img/which-key-bottom.png

Status

It is somewhat stable for me at the moment, but expect to see potentially weird behavior (then to report it to me!).

Completed

  1. Use idle timers to trigger window popup instead of guide-key's constant polling.
  2. Add support for replacement lists to modify key descriptions on the fly.

Ongoing/Planned

  1. Explore alternatives to popwin like window-pupose and using display-buffer directly