From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#27717: other-window when there is no other window Date: Sun, 16 Jul 2017 03:48:49 +0800 Message-ID: <87efthjxb2.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500154703 24930 195.159.176.226 (15 Jul 2017 21:38:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Jul 2017 21:38:23 +0000 (UTC) To: 27717@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 15 23:38:17 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 1dWUlU-00067U-Pv for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Jul 2017 23:38:17 +0200 Original-Received: from localhost ([::1]:43325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWUla-00024N-5W for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Jul 2017 17:38:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWUlQ-000247-21 for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 17:38:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWUlJ-0006Ai-2l for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 17:38:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38066) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWUlI-0006Ae-Vl for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 17:38:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dWUlI-0000b9-Ps for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 17:38:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jul 2017 21:38:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27717 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15001546502215 (code B ref -1); Sat, 15 Jul 2017 21:38:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Jul 2017 21:37:30 +0000 Original-Received: from localhost ([127.0.0.1]:40737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWUkj-0000Zf-Le for submit@debbugs.gnu.org; Sat, 15 Jul 2017 17:37:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWUkh-0000ZP-IG for submit@debbugs.gnu.org; Sat, 15 Jul 2017 17:37:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWUkb-0005Xx-Kr for submit@debbugs.gnu.org; Sat, 15 Jul 2017 17:37:22 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dWUkb-0005Xr-HU for submit@debbugs.gnu.org; Sat, 15 Jul 2017 17:37:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWUka-00021t-JM for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 17:37:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWUkV-0005S5-O1 for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 17:37:20 -0400 Original-Received: from homie.mail.dreamhost.com ([208.97.132.208]:56289 helo=homiemail-a14.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dWUkV-0005PM-GP for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2017 17:37:15 -0400 Original-Received: from homiemail-a14.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a14.g.dreamhost.com (Postfix) with ESMTP id 14BCE392077 for ; Sat, 15 Jul 2017 14:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=ezg7E5lRq53SiAyVhxdBwUmb0xs=; b=c89fJL/mkAn2touk TF18gbaMRzoycWhAkbfO/zvaAy2x+1qNXIG+/2SMGevMBsnWT7T3uDaUN5nGnguP 8lvYdhONzk6A6Kh/In69nx26wpaVNmtVWa2GflmxsZNTU0E6spU6SWPGiBQ3FBac 6roZl9eDi2Gfn1Vlc2iRiMSP2Sg= Original-Received: from jidanni.org (114-41-29-155.dynamic-ip.hinet.net [114.41.29.155]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a14.g.dreamhost.com (Postfix) with ESMTPSA id CE3B5392075 for ; Sat, 15 Jul 2017 14:37:12 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:134603 Archived-At: 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.