GNU bug report logs -
#27717
other-window when there is no other window
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Sat, 15 Jul 2017 21:38:04 UTC
Severity: wishlist
Tags: fixed
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> 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.
The documentation of ‘other-window’ contains the sentence "COUNT zero
means do not skip any window, so select the selected window." which
clearly indicates that "doing nothing" is a valid action in this case.
C-x 5 o behaves in a similar way.
Admittedly, saying that ‘other-window’ does "Select another window in
cyclic ordering of windows." is misleading.
martin
This bug report was last modified 5 years and 336 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.