From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.bugs Subject: bug#27717: other-window when there is no other window Date: Sun, 16 Jul 2017 21:13:44 +0200 Message-ID: <877ez8qjo7.fsf@jane> References: <87efthjxb2.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1500232454 19227 195.159.176.226 (16 Jul 2017 19:14:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Jul 2017 19:14:14 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 26.0.50 Cc: 27717@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 16 21:14:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWozW-0004Xt-27 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jul 2017 21:14:06 +0200 Original-Received: from localhost ([::1]:46566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWozb-0007D0-K6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jul 2017 15:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWozV-0007Cs-Ft for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 15:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWozS-0003pB-CJ for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 15:14:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWozS-0003ox-8J for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 15:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dWozS-0005da-0A for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2017 15:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jul 2017 19:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27717 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27717-submit@debbugs.gnu.org id=B27717.150023243421651 (code B ref 27717); Sun, 16 Jul 2017 19:14:01 +0000 Original-Received: (at 27717) by debbugs.gnu.org; 16 Jul 2017 19:13:54 +0000 Original-Received: from localhost ([127.0.0.1]:42698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWozK-0005d8-4q for submit@debbugs.gnu.org; Sun, 16 Jul 2017 15:13:54 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:49217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWozI-0005cz-Cs for 27717@debbugs.gnu.org; Sun, 16 Jul 2017 15:13:52 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 8050AE65E7; Sun, 16 Jul 2017 21:13:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0inPgbg8VinL; Sun, 16 Jul 2017 21:13:46 +0200 (CEST) Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 277F9E6571; Sun, 16 Jul 2017 21:13:46 +0200 (CEST) In-reply-to: <87efthjxb2.fsf@jidanni.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134639 Archived-At: On 2017-07-15, at 21:48, 積丹尼 Dan Jacobson 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