From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13709: bug#13793: 24.3.50; M-x broken in viper and X Date: Tue, 26 Feb 2013 09:10:28 -0500 Message-ID: References: <20130223123501.43568c52@susi> <20130225201657.GA10969@susi> <20130226085741.GB31613@bayes.mathematik.tu-chemnitz.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1361887891 13058 80.91.229.3 (26 Feb 2013 14:11:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 14:11:31 +0000 (UTC) Cc: 13793@debbugs.gnu.org, 13709@debbugs.gnu.org, Michael Kifer To: Frank Fischer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 26 15:11:50 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UALFv-0003hN-2Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 15:11:43 +0100 Original-Received: from localhost ([::1]:42676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UALFZ-0000NL-UV for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 09:11:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UALFW-0000N3-0N for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 09:11:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UALFU-0004OT-Pt for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 09:11:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UALFU-0004OP-ML for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 09:11:16 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UALHB-0003zV-JO for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 09:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Feb 2013 14:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13709-submit@debbugs.gnu.org id=B13709.136188793615267 (code B ref 13709); Tue, 26 Feb 2013 14:13:01 +0000 Original-Received: (at 13709) by debbugs.gnu.org; 26 Feb 2013 14:12:16 +0000 Original-Received: from localhost ([127.0.0.1]:50946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UALGS-0003yB-2f for submit@debbugs.gnu.org; Tue, 26 Feb 2013 09:12:16 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:28630) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UALGQ-0003y1-3x; Tue, 26 Feb 2013 09:12:14 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlMJABK/CFFFxKJt/2dsb2JhbABEuzWCVgQEexdzgh4BAQQBViMFCws0EhQYDSQuh3AGsR+QDpEKA4hhnBmBXoMVgUgk X-IPAS-Result: AlMJABK/CFFFxKJt/2dsb2JhbABEuzWCVgQEexdzgh4BAQQBViMFCws0EhQYDSQuh3AGsR+QDpEKA4hhnBmBXoMVgUgk X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="2504596" Original-Received: from 69-196-162-109.dsl.teksavvy.com (HELO pastel.home) ([69.196.162.109]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 26 Feb 2013 09:10:27 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 13BAC6CF3D; Tue, 26 Feb 2013 09:10:28 -0500 (EST) In-Reply-To: <20130226085741.GB31613@bayes.mathematik.tu-chemnitz.de> (Frank Fischer's message of "Tue, 26 Feb 2013 09:57:42 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71843 Archived-At: >> [ Modulo some dance =E0 la evil-esc-mode to add/remove this binding so >> that code that adds escape sequences to this map never bumps into the >> [escape] mapping. ] > Maybe one question, because I'm not too familiar with translation > keymaps. What do you think is the best solution to this > add-escape-sequences-to-input-decode-map-problem? The only possibility > that comes into my mind would be to advice `define-key` so that > `evil-normal-esc-map` is temporarily put back into `input-decode-map`. > Is there a better way than using such an advice? I guess an advice might work (it probably wouldn't need to put the map back, just let-bind a variable that causes the filter function to return evil-normal-esc-map without bothering to sit-for). But it doesn't sound very appealing. Maybe "enable evil-esc-mode in post-command-hook and disable it in pre-command-hook" might work? Stefan