all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 45625@debbugs.gnu.org
Cc: rms@gnu.org
Subject: bug#45625: C-p (previous-line) now wipes out windows, if misaimed
Date: Sun, 03 Jan 2021 22:03:25 +0800	[thread overview]
Message-ID: <87sg7if782.5.fsf@jidanni.org> (raw)

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"





             reply	other threads:[~2021-01-03 14:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87bldwq0ko.fsf@gnus.org>
2021-01-03 14:03 ` 積丹尼 Dan Jacobson [this message]
2021-01-03 17:04   ` bug#45625: C-p (previous-line) now wipes out windows, if misaimed Philipp Stephani
2021-01-04  3:28     ` 積丹尼 Dan Jacobson
2021-01-04  5:16     ` Richard Stallman
2021-01-04  5:27       ` 積丹尼 Dan Jacobson
2021-01-04  6:32       ` Jose A. Ortega Ruiz
2021-01-05  6:37         ` Richard Stallman
2021-01-05 17:04           ` Jose A. Ortega Ruiz
2021-01-10 15:21             ` bug#45625: ESC ESC ESC deletes other windows Lars Ingebrigtsen
     [not found]   ` <handler.45625.C.16102921303076.notifdonectrl.0@debbugs.gnu.org>
2021-01-11 11:24     ` bug#45625: ESC ESC ESC 積丹尼 Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg7if782.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=45625@debbugs.gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.