unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: iquiw <iku.iwasa@gmail.com>
Cc: 18182@debbugs.gnu.org
Subject: bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode
Date: Wed, 20 Aug 2014 15:44:47 -0400	[thread overview]
Message-ID: <jwvk363ug11.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <CAOAV122TV6Tv2CBwy1PCB8sujmQNOcbGXZd7Hgfgp-FvoZoogA@mail.gmail.com> (iquiw's message of "Tue, 19 Aug 2014 22:59:02 +0900")

> Thank you for the detailed explanation.
> I tried the patch, but the behavior does not changed.

Hmm... yes, sorry, I forgot that many keys are bound to an ESC prefix
(all the "M-" keys).  I guess you could use

   (define-key input-decode-map [?\e] [escape])

which does seem to work.  Of course, that'll only work in the terminal
in which you start.  E.g. it won't work when you make-frame-on-display
or if you use emacs-daemon.


        Stefan





  reply	other threads:[~2014-08-20 19:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <wu61hp65yr.fsf@fencepost.gnu.org>
2014-08-18 18:28 ` bug#18182: bug bisection help Eli Zaretskii
2014-08-03 12:43   ` bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode iquiw
2014-08-03 16:29     ` Eli Zaretskii
2014-08-18 18:58     ` bug#18182: bug bisection help Glenn Morris
2014-08-19  2:22     ` bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode Stefan Monnier
2014-08-19 13:59       ` iquiw
2014-08-20 19:44         ` Stefan Monnier [this message]
2014-08-21 14:08           ` iquiw
2020-09-09 10:05       ` Lars Ingebrigtsen
2020-09-09 13:50         ` Stefan Monnier
2020-09-10 12:21           ` Lars Ingebrigtsen
2021-10-20  8:07             ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvk363ug11.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=18182@debbugs.gnu.org \
    --cc=iku.iwasa@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).