Subject: Re: bug#27717: other-window when there is no other window

From: Marcin Borkowski <[email-masked]>
Date: Sun, 16 Jul 2017 21:13:44 +0200

On 2017-07-15, at 21:48, 積丹尼 Dan Jacobson <[email-masked]> wrote:

> C-x o runs the command other-window.
>
> Alas, if there is no other window, it does nothing.
>
> It doesn't even print a message "no other window". BUG!
>
> Better yet in this case would be just switch to an other buffer (the
> same buffer that switch-to-buffer asks the user about, but without
> asking the user.)
>
> And only if there is also no other buffer, then print the message.

How about this

http://mbork.pl/2017-02-26_other-window-or-switch-buffer

and that

http://mbork.pl/2017-06-12_smart-next-window-or-buffer

?

Best,

-- 
Marcin Borkowski