chiark / gitweb /
dot/emacs, el/dot-emacs.el: Defeat `keyboard-escape-quit'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 10 Jun 2015 13:47:54 +0000 (14:47 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 10 Jun 2015 13:51:37 +0000 (14:51 +0100)
This is a really bad command to invoke by accident because it vaporizes
your current, possibly elaborate, window configuration.  Unfortunately,
it's bound to ESC ESC ESC, which is also C-[ C-[ C-[, and C-[ is right
next to C-p, which I often try to bounce on, oblivious to the occasional
off-by-one error.

  * Bind ESC ESC to a function which says `wrong-button' (and fails to
    ring the bell because Emacs is broken).  At least this way I'm
    likely to notice.

  * Bind ESC C-] C-] to `keyboard-escape-quit', because it might just be
    useful for something.


No differences found