Add aw-ignore-p enhancements and expand documentation
Allow mouse selection of window when only one choice in window list
Add doc for aw-make-frame-char
Utilize aw-make-frame-char in aw-dispatch-default plus comment fix
In aw-update, let ignore-window-parameters be t to get all windows
Remove treatment of aw-action as a window from a mouse click
Fixes#121
* ace-window.el (aw-dispatch-alist): Bind to "z".
The location and size of the new frame are controlled by `aw-frame-offset' and `aw-frame-size'.
Re #114
Make ace-maximize-window an obsolete alias of ace-delete-other-windows to
remain consistent with the corresponding functions in lisp/window.el.
Fixes#85
Now the ordering of the frames in ace-window will match the one
exhibited by next-multiframe-window/previous-multiframe-window.
Change-Id: I10a6e4cca281cbe44c9c6806d1c67c28be7f2202
This works to allow switching only between frames in the
visible-frame-list. If you use i3, you can employ
https://github.com/vava/i3-emacs to advise visible-frame-list so that it
only contains frames which are actually on a visible workspace.
* ace-window.el (aw-switch-to-window): Push current window to ring
before switching frames. It's OK to push without checking, the check
is performed in `aw--push-window'.
Fixes#61
ace-window.el (aw-move-window): New defun.
During dispatch, while in window-1, press "M" and select window-2.
The buffer currently in window-1 will move to window-2.
The most recently selected buffer will move to window-1.
Fixes#56
Use case: suppose you have many windows and you call
`describe-function'. It pops up *Help* replacing a necessary buffer.
The you can e.g. "M-p M a" to move the *Help* buffer to replace a less
necessary buffer in window "a", while restoring the necessary buffer
that *Help* previously replaced.
* ace-window.el (aw-window-list): Stop filtering out empty read-only
buffers.
(aw-empty-buffers-list): New defvar, store empty buffers here.
(aw--done): Return empty buffers to their empty state (they had a single
space inserted in order for overlay to work).
(aw--lead-overlay): Insert a space into an empty buffer.
(aw-select): Move inserting a space into `aw--lead-overlay'.
* ace-window.el (aw-dispatch-always): New defcustom to enable the
permanent dispatch.
(aw--flip-keys): Remove defvar.
(aw-flip-keys): Remove defcustom, use `aw-dispatch-alist' instead.
(aw-dispatch-alist): New defcustom.
(aw-dispatch-default): Update.
(aw-select): Do a dispatch when `aw-dispatch-always' is non-nil.
(ace-delete-window):
(ace-swap-window):
(ace-maximize-window): Use callback-style, so that it's possible to
switch the action during the selection.
(aw--pop-window): Update for empty stack and only two windows.
Fixes#44