Oleh Krehel
b93380cdf3
ace-window.el: Remove obsolete variables
...
They were around for ~3 years.
6 years ago
Oleh Krehel
e445b2c29b
ace-window.el (aw-select): Disable transient-mark-mode for the duration
...
Fixes #188
6 years ago
Oleh Krehel
a36c1472d0
ace-window.el (aw-dispatch-alist): Add hyperbole comment
6 years ago
Jack Kamm
7e0777b39a
ace-window.el (ace-display-buffer): Add
...
Fixes #187
6 years ago
Oleh Krehel
edbbb1b77c
ace-window.el (ace-window): Extend doc
...
Fixes #184
6 years ago
Daniel Radetsky
a5344925e3
ace-window.el (aw-minibuffer-leading-char-face): New face
...
Fixes #180
Fixes #181
7 years ago
Oleh Krehel
091150b33e
.github/FUNDING.yml: Add
7 years ago
Oleh Krehel
138a80cbc4
ace-window.el (aw--lead-overlay): Fix double recenter problem
...
* ace-window.el (aw--done): Add logic for restoring old window points.
(aw--face-rel-height): Should return 1 for :height 1.0.
When the face height is e.g. 3, we do a recenter to make sure it's
visible. But that shifts the point out of window, which results in another recenter.
After the second recenter the point is visible, but the overlay isn't.
Fixes #176
7 years ago
Oleh Krehel
ab0db6a2c3
ace-window.el (aw--lead-overlay): Make sure the overlay is within window
...
Fixes #175
The issue was introduced in a429c66f31 by
the window-hscroll logic. Maybe it's good to check the fix still works.
Re #165
7 years ago
Oleh Krehel
27bb0b7835
test/elpa.el: Put .elpa in ~ instead of the current directory
...
This leads to less duplication.
7 years ago
Oleh Krehel
fc0d19c85f
ace-window.el (aw-select): Fix
...
Fixes #174
7 years ago
Oleh Krehel
c963bb9316
ace-window.el: Fix compiler warning
7 years ago
Oleh Krehel
196382b5c8
ace-window.el (aw-display-mode-overlay): New defcustom
...
Fixes #173
7 years ago
Akira Komamura
cd82d83345
Use call-interactively if the callee function is a command
7 years ago
Oleh Krehel
301c762f2f
ace-window.el (aw-transpose-frame): Move to "T" binding
...
Re #96
7 years ago
Oleh Krehel
2d132bab25
ace-window.el (aw-transpose-frame): Add and bind to "t"
...
Fixes #96
7 years ago
Oleh Krehel
a3ad48f380
ace-window.el (aw--point-visible-p): Prettify doc
7 years ago
Bob Weiner
ac89475dcb
Fix handling of horizontally scrolled windows and buffer-begin error
...
Re #78
Fixes #142
Fixes #166
Fixes #168
7 years ago
Bob Weiner
a429c66f31
ace-window.el (aw--lead-overlay): Handle windhow hscroll better
...
Fixes #165
Re #131
7 years ago
duianto
f0da12d301
Readme.md: Add copy window to both action lists
7 years ago
Nick Drozd
d7bdb53622
Make aw-make-frame disable-able
...
There are times when I don't want a new frame made under any
circumstances. If that's the case, I don't want to accidentally
trigger aw-make-frame by hitting the wrong key at the dispatch.
Setting aw-make-frame-char to nil takes it off the key list, but this
requires a slight change to the dispatch check.
7 years ago
Nick Drozd
706f24e894
Fix typo
7 years ago
Nick Drozd
8969616944
Add execute-command-other-window
...
Fixes #160
7 years ago
Oleh Krehel
58463b4cb0
ace-window.el (aw-select): Fix when selecting from an ignored window
...
When there are three windows, and the ignored one is selected, the
length of (aw-window-list) is 2, but we should still dispatch because
neither of the 2 is selected at the moment.
Fixes #161
7 years ago
Oleh Krehel
d0a5559b25
ace-window.el (ace-window): M-0 should not modify aw-ignore-on permanently
7 years ago
Oleh Krehel
94986cb687
ace-window.el (aw-ignored-p): Don't ignore window if it's selected
...
If the current window is on `aw-ignored-buffers', and it's currently
selected, and `aw-ignore-current' is nil, the current window is not to
be ignored.
Fixes #144
7 years ago
Oleh Krehel
2307fd15db
ace-window.el (aw-dispatch-alist): Don't bind anything on home row
...
Re #156
7 years ago
Eric Froemling
1194d6162a
Add copy-window functionality
...
Fixes #156
Fixes #149
7 years ago
Nick Drozd
9ca16c6bc3
Fix aw-switch-buffer-other-window bug
...
When aw-switch-buffer-other-window is executed, it switches to the
selected window, changes the buffer, and then switches back. If the
buffer-switching function is canceled, the window won't get switched
back. Using unwind-protect ensures that the function ends with the
starting window selected.
7 years ago
Oleh Krehel
a2f1dd5c28
ace-window.el (aw--face-rel-height): Fix for int height
...
Fixes #157
7 years ago
Oleh Krehel
379413cad1
ace-window.el (aw-offset): Update
...
Don't call forward line if the buffer is too small.
Re #131
7 years ago
Oleh Krehel
d20bd7c6f1
ace-window.el (aw-delete-window): Add optional kill-buffer arg
...
Example config:
(add-to-list
'aw-dispatch-alist
(list
?X
(lambda (w)
(aw-delete-window w t))
"Delete Window and Kill Buffer"))
Fixes #146
7 years ago
Oleh Krehel
21fb8abb3b
ace-window.el (aw--after-make-frame): Extract, add make-frame-visible
...
Fixes #153
7 years ago
Oleh Krehel
95e478e97c
ace-window.el (aw-offset): Use the fix in all modes, not just shell-mode
...
Fixes #131
Fixes #134
7 years ago
Oleh Krehel
88e48db56a
ace-window.el: Fix leading char not displayed if the face height isn't 1.0
...
Fixes #145
7 years ago
duianto
1b1950e15c
Update readme.md, add melpa badges
7 years ago
Ca Xiansheng
bd4802756c
ace-window.el (aw-ignored-p): Only call frame-parent if defined
...
Fixes crash on Emacs-24.5
Fixes #151
Fixes #150
7 years ago
Oleh Krehel
2e3b9562b5
ace-window.el (aw-ignored-p): Ignore child frames
...
Fixes #150
7 years ago
Oleh Krehel
746ffd2508
ace-window.el (aw-ignored-buffers): Clean up doc
...
Re #148
7 years ago
Pengji Zhang
3fe86fbf3f
Update the name of the LV buffer
7 years ago
Ca Xiansheng
95a75e63d8
ace-window.el: Fix frame-parameter being nil sometimes
...
Happens on Emacs-24.5.1.
7 years ago
Oleh Krehel
5b88de026c
ace-window.el (aw-translate-char-function): New defcustom
...
Fixes #141
8 years ago
Oleh Krehel
d93e16b52e
ace-window.el: Fix frame-parameter being a cons sometimes
...
Happens on Emacs-24.5.
Fixes #138
8 years ago
Oleh Krehel
92d20e7e75
Bring back "Make window ordering rely on frame position"
...
Fixes #136
Fixes #135
8 years ago
Oleh Krehel
8d71b8f97d
ace-window.el (aw--lead-overlay): Fix warning
8 years ago
Wilfred Hughes
702bc2767a
Show the overlay in the bottom of the window too
...
This is useful when point overlaps the overlay at the top of the
window, making it difficult to read the label.
Fixes #129 .
Fixes #132 .
8 years ago
Oleh Krehel
d4066b1de0
Revert "Make window ordering rely on frame position"
...
This reverts commit c35618ed00 .
Fixes #135
8 years ago
Connor Nelson
c35618ed00
Make window ordering rely on frame position
...
I'm not quite sure what exactly the intention was of doing this off the id comparisons of the frames (they don't seem to be very consistent?).
I think that going off frame positions is much more intuitive. This only considers horizontal frame position, but it might also be worth considering their vertical position.
8 years ago
Oleh Krehel
208ea2a4e8
Change key suggestion "M-p" -> "M-o"
...
"M-p" conflicts with e.g. `shell-mode' and the minibuffer binding.
Fixes #123
8 years ago
Oleh Krehel
ceea53d7b6
ace-window.el (aw-dispatch-default): Add fboundp
...
Fixes #124
8 years ago