* ace-window.el (aw--doit): Use `set-transient-map' instead of `(setq
overriding-local-map)`, as it has more priority and `helm' is using
it. This will avoid the current conflict with helm.
Re #15.
* ace-window.el (aw--current-op): New var.
(aw--callback): New command, replaces "...-wrapper" from `aw-generic'.
(aw--doit): New function, replaces the other part of `aw-generic'.
(ace-select-window): Update.
(ace-delete-window): Update.
(ace-swap-window): Update.
(aw-switch-to-window): Now expects only an aj-data structure.
(aw-delete-window): Now expects only an aj-data structure. Will
`delete-frame' when there's only one window if frame.
(aw-swap-window): Now expects only an aj-data structure.
Up to now, the `aw-generic' macro was called inside the autoload file.
Now define empty functions that generate the autoload entry points,
then redefine them using the old mechanism.
Fixes#13.
* ace-window.el (aw-ignored-buffers): New custom variable. Set this to
a list of buffer names that are often around, but you don't want to
switch to them.
(aw-ignore-on): New custom variable. This value can be toggled with
M-0 `ace-window'.
(aw-ignored-p): New function.
(aw-list-visual-area): Don't return ignored windows.
(aw-generic): Add ignoring.
(ace-window): With 0 prefix argument, toggle `aw-ignore-on'.
Now the frame to which window belongs is the first key by which the
sorting is done. This means that the windows that belong to the same
frame will be numbered sequentially.
* ace-window.el (aw-offset): New function.
The issue with top left part of the window being after the newline,
i.e. it can't be written to without modifying the buffer, is fixed
by displaying the jump character on the next available line.
Fixes#11.
This is a minor fix to #11.
The issue is fixed for when the first visible character in window
is actually a character and not empty space.
The other situation still needs to be solved.
With two single-window frames, `next-window' was being called with
ALL-FRAMES as nil, resulting in the current window being returned
instead of the non-selected window. This commit sets the ALL-FRAMES
argument to 'visible' and modifies `aw-switch-to-window' to account for
the two-window case where POSITION may not be a window in the current
frame.
The only handler this commit modifies is `aw-switch-to-window' because
the behavior for `aw-delete-window' and `aw-swap-window' with multiple
frames doesn't seem to be well specified at this point.
* ace-window.el (aw-generic): New macro.
(ace-window): Do different things depending on prefix arg.
(ace-delete-window): New interactive function.
(ace-select-window): New interactive function.
(ace-swap-window): New interactive function.
(aw-switch-to-window): Test if argument is window.
(aw-delete-window): New function.
(aw-swap-window): New function.
Fixes#2.