* 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
* ace-window.el (aw--done): Update.
(aw-dispatch-function): New defvar. Set this to customize the midway
switch behavior.
(aw-action): New defvar. Midway switch will change this variable.
(aw-set-mode-line): New defun.
(aw-dispatch-default): New defun. Catch a char not in `aw-keys' and
perform an action depending on it.
(aw-select): Set `aw-action' to the ACTION arg, and call it in the
end. It can be changed during the selection.
(aw-split-window-vert): New command.
(aw-split-window-horz): New command.
Fixes#44
* ace-window.el (aw-select): Add an optional arg ACTION. Call it on
selected window. Set `avy-handler-function' to catch ?x and modify
ACTION into 'aw-delete-window.
(ace-select-window): Use callback-style.
Re #44
* Cask: New file.
* Makefile: Leave only the compile target.
* ace-window.el: Depend on `avy'.
* avy-init.el:
* avy-jump.el:
* avy-test.el:
* avy.el: Delete files, they are in `avy' repository now.
Fixes#39