abo-abo / ace-window

Quickly switch windows in Emacs
977 stars 87 forks source link

Missing window selection when there are three windows and one is ignored #144

Closed Alexander-Miller closed 5 years ago

Alexander-Miller commented 5 years ago

See https://github.com/Alexander-Miller/treemacs/issues/301

abo-abo commented 5 years ago

This is expected behavior. For the purposes of ace-window there are only 2 selectable windows. Set aw-dispatch-always if you don't like this behavior.

Alexander-Miller commented 5 years ago

there are only 2 selectable windows

And focus is on the third one which is set to be ignored. That means that out of the 3 visible windows 2 are valid targets for ace-window, so foregoing dispatch is not correct in this case. It would only be right if one of the not-ignored windows was focused.

abo-abo commented 5 years ago

Thanks, please test.

Alexander-Miller commented 5 years ago

Fix is confirmed :+1: