From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#45625: C-p (previous-line) now wipes out windows, if misaimed Date: Sun, 03 Jan 2021 22:03:25 +0800 Message-ID: <87sg7if782.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1520"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org To: 45625@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 03 15:41:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kw4ZG-0000J5-LW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Jan 2021 15:41:15 +0100 Original-Received: from localhost ([::1]:36208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kw4ZF-0003Pi-NK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Jan 2021 09:41:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kw4Z4-0003OI-7l for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 09:41:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kw4Z4-0000jV-0R; Sun, 03 Jan 2021 09:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kw4Z3-00035r-Sw; Sun, 03 Jan 2021 09:41:01 -0500 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: rms@gnu.org, bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jan 2021 14:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45625 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: rms@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160968485811871 (code B ref -1); Sun, 03 Jan 2021 14:41:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jan 2021 14:40:58 +0000 Original-Received: from localhost ([127.0.0.1]:37282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kw4Z0-00035O-9V for submit@debbugs.gnu.org; Sun, 03 Jan 2021 09:40:58 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:58432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kw4Yy-00035G-Nk for submit@debbugs.gnu.org; Sun, 03 Jan 2021 09:40:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kw4Yy-0003LP-3V for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 09:40:56 -0500 Original-Received: from camel.birch.relay.mailchannels.net ([23.83.209.29]:16601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kw4Yv-0000gR-TA for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2021 09:40:55 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 01789921C05 for ; Sun, 3 Jan 2021 14:40:50 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a31.g.dreamhost.com (100-96-9-178.trex.outbound.svc.cluster.local [100.96.9.178]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 620AE921ACB for ; Sun, 3 Jan 2021 14:40:49 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a31.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Sun, 03 Jan 2021 14:40:49 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Imminent-Arch: 1945ba547f28a758_1609684849604_1051288586 X-MC-Loop-Signature: 1609684849604:4215727387 X-MC-Ingress-Time: 1609684849603 Original-Received: from pdx1-sub0-mail-a31.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTP id 280937F629 for ; Sun, 3 Jan 2021 06:40:49 -0800 (PST) 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=cyQS89UfKkH5XE6QRw5ARndJXDg=; b=ReGrtgU9SoMA8wH7 daarMi6c+4sRZskg7E0/1XYitKyqBoEuwo2Hr0YLnkCESnLZtmCfKubJ/+DAqgwk YO1PP4jrQvc00mj8Z972Tw3zvEdVsJufcEYjwf+M/lphp02LWkWxEYJ3+Pc1B3s9 fhnUe8Y2Pva7jQPfdE51171dHAA= Original-Received: from jidanni.org (114-41-30-74.dynamic-ip.hinet.net [114.41.30.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTPSA id E1DB37F12C for ; Sun, 3 Jan 2021 06:40:48 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a31 Received-SPF: pass client-ip=23.83.209.29; envelope-from=jidanni@jidanni.org; helo=camel.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197246 Archived-At: Just the other day I noticed windows disappearing. It turns out that "ESC ESC ESC" has been made even more super powered, by adding "or go back to just one window (by deleting all but the selected window)" to the many things it does. Well it turns out ESC is also ^[. And p is next to [ on many keyboards. So ^p is next to ^[. And ^p is/was the main way to do previous-line (go up). So if your fingers aren't aimed correctly, then holding down CTRL+P will not send the cursor marching up the screen, but will instead wipe out your other windows! Try it. Hold down ^[. All your other windows will go away. (When you finally release your finger, in the minibuffer you might see "ESC-" or "ESC ESC-" or nothing at all, depending if you hit e.g., 31, 32, or 33 mis-aimed ^P's.) Conclusion: keyboard-escape-quit should not also delete other windows. There is already C-x 1 (delete-other-windows) for that! Yes, one could just say "Start using the arrow keys instead of ^p for crying out loud." But for older users it is too late for that. emacs-version "27.1"