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)
commita1b01eb3d3e7cfe59bfd6b1e35d5485a97d39359
tree94ff467608c42c0649ab94cdf1c2fed87325899a
parentcf7fb3e1358138b58d340275498086cdeba9a333
dot/emacs, el/dot-emacs.el: Defeat `keyboard-escape-quit'.

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.
dot/emacs
el/dot-emacs.el