GNU bug report logs - #18182
24.3.92; C-[ does not work as ESC in viper-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: iquiw <iku.iwasa@HIDDEN>; dated Sun, 3 Aug 2014 15:24:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'normal' from 'important' Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 18182 <at> debbugs.gnu.org:


Received: (at 18182) by debbugs.gnu.org; 21 Aug 2014 14:09:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 21 10:09:13 2014
Received: from localhost ([127.0.0.1]:49031 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XKT3A-0003Mh-Hf
	for submit <at> debbugs.gnu.org; Thu, 21 Aug 2014 10:09:12 -0400
Received: from mail-yk0-f176.google.com ([209.85.160.176]:49593)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <iku.iwasa@HIDDEN>) id 1XKT38-0003MT-HJ
 for 18182 <at> debbugs.gnu.org; Thu, 21 Aug 2014 10:09:11 -0400
Received: by mail-yk0-f176.google.com with SMTP id 19so7702902ykq.21
 for <18182 <at> debbugs.gnu.org>; Thu, 21 Aug 2014 07:09:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=QR0q9+nvLrgHqelI1m3c32zIMwRfEM6BMMtoZk/cccM=;
 b=Blm9jtsjWgjeC8VrPYIRFdKtF2m0zQkFirCMG/tgS+3PcgIg3Dnm7zaEMmy54rBL+d
 DjRtWem4z8ndcKYJBWpCADe2kMlIHf4z5dP6ZrHKERUFg5LvwLCnzFj79H8Ycl3H6hFM
 4cQ3xKeeA8r6uO4mHpZRjb8p/b6KYwqfSyFWfF7oxRMbwj8hWAdtJIbCIpmNneP7SmWi
 L8byXShnnJVIALcpSO1bDThKxpJeUNJNPN/FVAoa2gznE+vX5vxFUYSYusklVfAcjd3i
 bsMmtust55A8OmrfZlYGDgWnV5PjengDA96GbcOcBmDThmu6DmyHQKbcEOXIXxkqXx55
 T0vg==
X-Received: by 10.236.54.10 with SMTP id h10mr82184816yhc.24.1408630145061;
 Thu, 21 Aug 2014 07:09:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.170.159.135 with HTTP; Thu, 21 Aug 2014 07:08:44 -0700 (PDT)
In-Reply-To: <jwvk363ug11.fsf-monnier+emacsbugs@HIDDEN>
References: <CAOAV1233TTb+zFno7yqff3R2bC6Z9FGb-Lx04_vJZZyN8GSZYw@HIDDEN>
 <jwvegwdgrh5.fsf-monnier+emacsbugs@HIDDEN>
 <CAOAV122TV6Tv2CBwy1PCB8sujmQNOcbGXZd7Hgfgp-FvoZoogA@HIDDEN>
 <jwvk363ug11.fsf-monnier+emacsbugs@HIDDEN>
From: iquiw <iku.iwasa@HIDDEN>
Date: Thu, 21 Aug 2014 23:08:44 +0900
Message-ID: <CAOAV122FUL4cQUPqjn5UKvXtJLREdC=DfckxdxALA2XR=r9LiA@HIDDEN>
Subject: Re: bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode
To: Stefan Monnier <monnier@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 18182
Cc: 18182 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Thu, Aug 21, 2014 at 4:44 AM, Stefan Monnier
<monnier@HIDDEN> wrote:
> 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.

Yes, it works as expected.
I will use this configuration.

Thank you.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18182; Package emacs. Full text available.

Message received at 18182 <at> debbugs.gnu.org:


Received: (at 18182) by debbugs.gnu.org; 20 Aug 2014 19:44:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 20 15:44:51 2014
Received: from localhost ([127.0.0.1]:48404 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XKBoR-0007NU-1i
	for submit <at> debbugs.gnu.org; Wed, 20 Aug 2014 15:44:51 -0400
Received: from chene.dit.umontreal.ca ([132.204.246.20]:42147)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1XKBoO-0007NJ-Nt
 for 18182 <at> debbugs.gnu.org; Wed, 20 Aug 2014 15:44:49 -0400
Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242])
 by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s7KJilLk012224;
 Wed, 20 Aug 2014 15:44:47 -0400
Received: by ceviche.home (Postfix, from userid 20848)
 id 55A61660C4; Wed, 20 Aug 2014 15:44:47 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: iquiw <iku.iwasa@HIDDEN>
Subject: Re: bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode
Message-ID: <jwvk363ug11.fsf-monnier+emacsbugs@HIDDEN>
References: <CAOAV1233TTb+zFno7yqff3R2bC6Z9FGb-Lx04_vJZZyN8GSZYw@HIDDEN>
 <jwvegwdgrh5.fsf-monnier+emacsbugs@HIDDEN>
 <CAOAV122TV6Tv2CBwy1PCB8sujmQNOcbGXZd7Hgfgp-FvoZoogA@HIDDEN>
Date: Wed, 20 Aug 2014 15:44:47 -0400
In-Reply-To: <CAOAV122TV6Tv2CBwy1PCB8sujmQNOcbGXZd7Hgfgp-FvoZoogA@HIDDEN>
 (iquiw's message of "Tue, 19 Aug 2014 22:59:02 +0900")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV5040=0
X-NAI-Spam-Version: 2.3.0.9378 : core <5040> : inlines <1196> : streams
 <1269212> : uri <1804833>
X-Spam-Score: -2.0 (--)
X-Debbugs-Envelope-To: 18182
Cc: 18182 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18182; Package emacs. Full text available.

Message received at 18182 <at> debbugs.gnu.org:


Received: (at 18182) by debbugs.gnu.org; 19 Aug 2014 13:59:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 19 09:59:33 2014
Received: from localhost ([127.0.0.1]:47442 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XJjwi-0008Uf-80
	for submit <at> debbugs.gnu.org; Tue, 19 Aug 2014 09:59:32 -0400
Received: from mail-yh0-f45.google.com ([209.85.213.45]:45741)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <iku.iwasa@HIDDEN>) id 1XJjwe-0008UP-P0
 for 18182 <at> debbugs.gnu.org; Tue, 19 Aug 2014 09:59:29 -0400
Received: by mail-yh0-f45.google.com with SMTP id 29so5745199yhl.32
 for <18182 <at> debbugs.gnu.org>; Tue, 19 Aug 2014 06:59:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-type;
 bh=9NtvPkksdwuUhPex0mZT9WjDsr6cAFqJKPeXEYKIqLg=;
 b=mR9NQIvOAdbU0sD/Cd4hyeHOSqhzOHeda3XGK8Qs+BtJJYiNO62ql41XAX+8qF6scR
 ocH5YloH4zHpuK4NElcC34SYr7g3O07unCXetunBsmaeqNlxPUsAE2FtUAH+SRDBREa2
 Q5y8etVIylhcJV7bPsVguTahciw03jH7T5Bq6PQq3oSXlYCfezjpkARYbb/y0rD0cAEO
 pWSYFP5gUkUaMdpYxfGWz2e3v2uGaKWOYPoRYLYRiZ2m1tDh6XNFq6CKTod8EciyyC5Y
 8TrBEcn8bkVokRK9uJf+MtFVwmIl2Nnhvxej/7e0exdNsg4HFqlJ1ZyO1b3s4mlDiC4S
 88/w==
X-Received: by 10.236.14.34 with SMTP id c22mr64403785yhc.97.1408456762911;
 Tue, 19 Aug 2014 06:59:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.170.159.135 with HTTP; Tue, 19 Aug 2014 06:59:02 -0700 (PDT)
In-Reply-To: <jwvegwdgrh5.fsf-monnier+emacsbugs@HIDDEN>
References: <CAOAV1233TTb+zFno7yqff3R2bC6Z9FGb-Lx04_vJZZyN8GSZYw@HIDDEN>
 <jwvegwdgrh5.fsf-monnier+emacsbugs@HIDDEN>
From: iquiw <iku.iwasa@HIDDEN>
Date: Tue, 19 Aug 2014 22:59:02 +0900
Message-ID: <CAOAV122TV6Tv2CBwy1PCB8sujmQNOcbGXZd7Hgfgp-FvoZoogA@HIDDEN>
Subject: Re: bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode
To: Stefan Monnier <monnier@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 18182
Cc: 18182 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Thank you for the detailed explanation.

I tried the patch, but the behavior does not changed.

After viper is enabled, function-key-map has the following value.
```
(keymap (27 . [escape]) (right-fringe keymap (mouse-3 .
mouse--strip-first-event) (mouse-2 . mouse--strip-first-event)
(mouse-1 . mouse--strip-first-event)) (left-fringe keymap (mouse-3 .
mouse--strip-first-event) (mouse-2 . mouse--strip-first-event)
(mouse-1 . mouse--strip-first-event)) (escape . [27]) (return . [13])
(clear . [12]) (linefeed . [10]) (tab . [9]) (kp-equal . [61])
(kp-separator . [44]) (kp-tab . [9]) ...)
```

Complete value is pasted in https://gist.github.com/iquiw/10c49212fd59fc795c59


On Tue, Aug 19, 2014 at 11:22 AM, Stefan Monnier
<monnier@HIDDEN> wrote:
>> The following steps reproduce the problem.
>> 1. Run "emacs -Q".
>> 2. Type "M-x viper" to enable viper-mode.
>> 3. Type "i" to enter viper insert mode.
>> 4. Type "C-[".
>
>> On Emacs 24.3, it exits from viper insert mode as well as ESC key does.
>> On Emacs 24.3.92, it displays "ESC-" in minibuffer and does not exit
>> from viper insert mode.
>
> In Emacs-24.4, Viper's escape key sequence (in viper-ESC-key) was
> changed from [?\e] to [escape], i.e. from the ASCII escape char (usually
> called ESC in Emacs) to the `escape' key (usually called `escape' in
> Emacs).
>
> When `escape' has no specific binding, Emacs remaps it to ESC (via
> function-key-map), so previously the `escape' key worked to trigger the
> ESC binding of Viper.
>
> The C-[ key is an alias (at a lower level) for the ESC char, so indeed
> now it doesn't work any more to trigger the "viper-ESC-key" behavior.
>
> Actually it still works under a tty, since under a tty Viper receives
> ESC (rather than `escape') when you hit the escape key, so it has
> special code that maps this ESC to an `escape' (but only for tty frames,
> not in GUI frames).
>
> I think the hack below should work.  Can you confirm it works for you?
>
>
>         Stefan
>
>
> === modified file 'lisp/emulation/viper.el'
> --- lisp/emulation/viper.el     2014-06-29 02:33:50 +0000
> +++ lisp/emulation/viper.el     2014-08-19 02:22:11 +0000
> @@ -600,6 +600,9 @@
>                     ))
>               (viper-set-expert-level 'dont-change-unless)))
>
> +        (if (equal viper-ESC-key [escape])
> +            (define-key function-key-map [?\e] [escape]))
> +
>         (or (memq major-mode viper-emacs-state-mode-list) ; don't switch to Vi
>             (memq major-mode viper-insert-state-mode-list) ; don't switch
>             (viper-change-state-to-vi))
>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18182; Package emacs. Full text available.

Message received at 18182 <at> debbugs.gnu.org:


Received: (at 18182) by debbugs.gnu.org; 19 Aug 2014 02:23:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 18 22:23:19 2014
Received: from localhost ([127.0.0.1]:46796 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XJZ4w-0006GE-SM
	for submit <at> debbugs.gnu.org; Mon, 18 Aug 2014 22:23:19 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:3435)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1XJZ4u-0006G1-AQ
 for 18182 <at> debbugs.gnu.org; Mon, 18 Aug 2014 22:23:16 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArYGAIDvNVPAqyKr/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWFQ4FCws0EhQYDSSIBAjSGReOegeEOASrA4NMIQ
X-IPAS-Result: ArYGAIDvNVPAqyKr/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWFQ4FCws0EhQYDSSIBAjSGReOegeEOASrA4NMIQ
X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="87136162"
Received: from 192-171-34-171.cpe.pppoe.ca (HELO pastel.home)
 ([192.171.34.171])
 by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
 18 Aug 2014 22:23:10 -0400
Received: by pastel.home (Postfix, from userid 20848)
 id CD455615CF; Mon, 18 Aug 2014 22:22:59 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: iquiw <iku.iwasa@HIDDEN>
Subject: Re: bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode
Message-ID: <jwvegwdgrh5.fsf-monnier+emacsbugs@HIDDEN>
References: <CAOAV1233TTb+zFno7yqff3R2bC6Z9FGb-Lx04_vJZZyN8GSZYw@HIDDEN>
Date: Mon, 18 Aug 2014 22:22:59 -0400
In-Reply-To: <CAOAV1233TTb+zFno7yqff3R2bC6Z9FGb-Lx04_vJZZyN8GSZYw@HIDDEN>
 (iquiw's message of "Sun, 3 Aug 2014 21:43:44 +0900")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 18182
Cc: 18182 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> The following steps reproduce the problem.
> 1. Run "emacs -Q".
> 2. Type "M-x viper" to enable viper-mode.
> 3. Type "i" to enter viper insert mode.
> 4. Type "C-[".

> On Emacs 24.3, it exits from viper insert mode as well as ESC key does.
> On Emacs 24.3.92, it displays "ESC-" in minibuffer and does not exit
> from viper insert mode.

In Emacs-24.4, Viper's escape key sequence (in viper-ESC-key) was
changed from [?\e] to [escape], i.e. from the ASCII escape char (usually
called ESC in Emacs) to the `escape' key (usually called `escape' in
Emacs).

When `escape' has no specific binding, Emacs remaps it to ESC (via
function-key-map), so previously the `escape' key worked to trigger the
ESC binding of Viper.

The C-[ key is an alias (at a lower level) for the ESC char, so indeed
now it doesn't work any more to trigger the "viper-ESC-key" behavior.

Actually it still works under a tty, since under a tty Viper receives
ESC (rather than `escape') when you hit the escape key, so it has
special code that maps this ESC to an `escape' (but only for tty frames,
not in GUI frames).

I think the hack below should work.  Can you confirm it works for you?


        Stefan


=== modified file 'lisp/emulation/viper.el'
--- lisp/emulation/viper.el	2014-06-29 02:33:50 +0000
+++ lisp/emulation/viper.el	2014-08-19 02:22:11 +0000
@@ -600,6 +600,9 @@
 		    ))
 	      (viper-set-expert-level 'dont-change-unless)))
 
+        (if (equal viper-ESC-key [escape])
+            (define-key function-key-map [?\e] [escape]))
+
 	(or (memq major-mode viper-emacs-state-mode-list) ; don't switch to Vi
 	    (memq major-mode viper-insert-state-mode-list) ; don't switch
 	    (viper-change-state-to-vi))





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18182; Package emacs. Full text available.

Message received at 18182 <at> debbugs.gnu.org:


Received: (at 18182) by debbugs.gnu.org; 18 Aug 2014 18:58:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 18 14:58:34 2014
Received: from localhost ([127.0.0.1]:46444 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XJS8X-0002tJ-GY
	for submit <at> debbugs.gnu.org; Mon, 18 Aug 2014 14:58:33 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:47110 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1XJS8V-0002tB-Ie
 for 18182 <at> debbugs.gnu.org; Mon, 18 Aug 2014 14:58:32 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>)
 id 1XJS8U-0005qc-3m; Mon, 18 Aug 2014 14:58:30 -0400
From: Glenn Morris <rgm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug bisection help
References: <wu61hp65yr.fsf@HIDDEN> <83fvgtd54c.fsf@HIDDEN>
X-Spook: Merlin JFK AMW argus threat plutonium CESID MILSATCOM
X-Ran: @i7(vxJ@o[8zqu-2N]jxU{uZ2N#~.Otf]*+,s_DRQ~JHsqX/}_:hqydlMiiO*Iyxn#D96M
X-Hue: black
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Mon, 18 Aug 2014 14:58:29 -0400
Message-ID: <1qk365d3qi.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -5.7 (-----)
X-Debbugs-Envelope-To: 18182
Cc: 18182 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.7 (-----)

Eli Zaretskii wrote:

> Crystal ball says that 18182 is due to r112692.

Our survey says... nope.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18182; Package emacs. Full text available.

Message received at 18182 <at> debbugs.gnu.org:


Received: (at 18182) by debbugs.gnu.org; 18 Aug 2014 18:28:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 18 14:28:52 2014
Received: from localhost ([127.0.0.1]:46430 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XJRfo-00020X-8F
	for submit <at> debbugs.gnu.org; Mon, 18 Aug 2014 14:28:52 -0400
Received: from mtaout26.012.net.il ([80.179.55.182]:50865)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1XJRfm-00020H-BU
 for 18182 <at> debbugs.gnu.org; Mon, 18 Aug 2014 14:28:51 -0400
Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il
 (HyperSendmail v2007.08) id <0NAI00P00LH42L00@HIDDEN> for
 18182 <at> debbugs.gnu.org; Mon, 18 Aug 2014 21:27:12 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0NAI00K9BLXCHT60@HIDDEN>; Mon, 18 Aug 2014 21:27:12 +0300 (IDT)
Date: Mon, 18 Aug 2014 21:28:35 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug bisection help
In-reply-to: <wu61hp65yr.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Glenn Morris <rgm@HIDDEN>
Message-id: <83fvgtd54c.fsf@HIDDEN>
References: <wu61hp65yr.fsf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 18182
Cc: 18182 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> From: Glenn Morris <rgm@HIDDEN>
> Date: Mon, 18 Aug 2014 13:52:12 -0400
> 
> 
> It would be helpful if someone could bisect
> 
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18116
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18182
> 
> to find the causes.
> Please send any reply to the relevant bug addresses.

Crystal ball says that 18182 is due to r112692.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18182; Package emacs. Full text available.

Message received at 18182 <at> debbugs.gnu.org:


Received: (at 18182) by debbugs.gnu.org; 3 Aug 2014 16:30:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 03 12:30:04 2014
Received: from localhost ([127.0.0.1]:56143 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XDyfb-0001AJ-4u
	for submit <at> debbugs.gnu.org; Sun, 03 Aug 2014 12:30:03 -0400
Received: from mtaout21.012.net.il ([80.179.55.169]:60903)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1XDyfX-00019K-J4
 for 18182 <at> debbugs.gnu.org; Sun, 03 Aug 2014 12:30:00 -0400
Received: from conversion-daemon.a-mtaout21.012.net.il by
 a-mtaout21.012.net.il (HyperSendmail v2007.08) id
 <0N9Q00000O66PR00@HIDDEN> for 18182 <at> debbugs.gnu.org;
 Sun, 03 Aug 2014 19:29:52 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0N9Q000R3OHSNP50@HIDDEN>;
 Sun, 03 Aug 2014 19:29:52 +0300 (IDT)
Date: Sun, 03 Aug 2014 19:29:57 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#18182: 24.3.92; C-[ does not work as ESC in viper-mode
In-reply-to: <CAOAV1233TTb+zFno7yqff3R2bC6Z9FGb-Lx04_vJZZyN8GSZYw@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: iquiw <iku.iwasa@HIDDEN>
Message-id: <83a97lr0xm.fsf@HIDDEN>
References: <CAOAV1233TTb+zFno7yqff3R2bC6Z9FGb-Lx04_vJZZyN8GSZYw@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 18182
Cc: 18182 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> From: iquiw <iku.iwasa@HIDDEN>
> Date: Sun, 3 Aug 2014 21:43:44 +0900
> 
> The following steps reproduce the problem.
> 
> 1. Run "emacs -Q".
> 2. Type "M-x viper" to enable viper-mode.
> 3. Type "i" to enter viper insert mode.
> 4. Type "C-[".
> 
> On Emacs 24.3, it exits from viper insert mode as well as ESC key does.
> On Emacs 24.3.92, it displays "ESC-" in minibuffer and does not exit
> from viper insert mode.

FWIW, in "emacs -nw", C-[ does exit the viper insert mode.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#18182; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Aug 2014 15:23:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 03 11:23:21 2014
Received: from localhost ([127.0.0.1]:56106 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XDxd2-0007jh-D0
	for submit <at> debbugs.gnu.org; Sun, 03 Aug 2014 11:23:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37879)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <iku.iwasa@HIDDEN>) id 1XDv94-0003rH-J6
 for submit <at> debbugs.gnu.org; Sun, 03 Aug 2014 08:44:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <iku.iwasa@HIDDEN>) id 1XDv8y-0004qr-5D
 for submit <at> debbugs.gnu.org; Sun, 03 Aug 2014 08:44:09 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:55591)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <iku.iwasa@HIDDEN>) id 1XDv8y-0004qn-2C
 for submit <at> debbugs.gnu.org; Sun, 03 Aug 2014 08:44:08 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39601)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <iku.iwasa@HIDDEN>) id 1XDv8w-00023T-TW
 for bug-gnu-emacs@HIDDEN; Sun, 03 Aug 2014 08:44:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <iku.iwasa@HIDDEN>) id 1XDv8v-0004qb-Qs
 for bug-gnu-emacs@HIDDEN; Sun, 03 Aug 2014 08:44:06 -0400
Received: from mail-yk0-x231.google.com ([2607:f8b0:4002:c07::231]:44263)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <iku.iwasa@HIDDEN>) id 1XDv8v-0004qX-N3
 for bug-gnu-emacs@HIDDEN; Sun, 03 Aug 2014 08:44:05 -0400
Received: by mail-yk0-f177.google.com with SMTP id 79so3509428ykr.36
 for <bug-gnu-emacs@HIDDEN>; Sun, 03 Aug 2014 05:44:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=B2y13IS3Jr4TSbsfX7Oz9AmnKy43UAoCPU01DIjGHSw=;
 b=H7ynHwC6g3ZnGySYJOR943STFwiIQVdT6J1sORkYBuYqgxYknl4ZQ18DAYQr5YrNS+
 C6qkyCsAMrPN/epMUav0q177Mx9v19qAzM4CnboYwRodvU901Vj0v9sr3qGosdHKXXTj
 qRlaLQcaTIn4kMJReJbLoim1x72ne3EWr+8C1p7miQYyCueM5lK7Y5mwUom/I2SYid4a
 eGYD7wUGxPsD+Rg/0DGmXu3yu/+AH5/EHBF8AbvXxRodrsHqb5IYa/yf5WzEAPlVXeE9
 Cx2whBcAYtWkpdl9Uxp3b3MrPaIVcqrQ8BgzzQ18K/CcZHJZ7KxTEW+4umc39YC7rJ7M
 l+eQ==
X-Received: by 10.236.228.40 with SMTP id e38mr27785416yhq.76.1407069845016;
 Sun, 03 Aug 2014 05:44:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.170.159.135 with HTTP; Sun, 3 Aug 2014 05:43:44 -0700 (PDT)
From: iquiw <iku.iwasa@HIDDEN>
Date: Sun, 3 Aug 2014 21:43:44 +0900
Message-ID: <CAOAV1233TTb+zFno7yqff3R2bC6Z9FGb-Lx04_vJZZyN8GSZYw@HIDDEN>
Subject: 24.3.92; C-[ does not work as ESC in viper-mode
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 03 Aug 2014 11:23:18 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

The following steps reproduce the problem.

1. Run "emacs -Q".
2. Type "M-x viper" to enable viper-mode.
3. Type "i" to enter viper insert mode.
4. Type "C-[".

On Emacs 24.3, it exits from viper insert mode as well as ESC key does.
On Emacs 24.3.92, it displays "ESC-" in minibuffer and does not exit
from viper insert mode.

Ref. http://lists.gnu.org/archive/html/help-gnu-emacs/2014-07/msg00539.html




In GNU Emacs 24.3.92.1 (i686-pc-mingw32)
 of 2014-06-27 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'

Important settings:
  value of $LANG: JPN
  locale-coding-system: cp932

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x v i p e r <return> n 5 n i ESC C-g <escape> M-x
r e p o r t - e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading viper...
Inhibit Viper startup message? (y or n) n
The last message is in buffer `Viper Startup Message'
Do you wish to make this change permanent? (y or n) n
Loading viper...done
C-M-g is undefined

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils viper viper-ex viper-macs viper-mous
viper-cmd viper-keym ring viper-util viper-init advice help-fns
time-date japan-util tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win
w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
w32notify w32 multi-tty emacs)

Memory information:
((conses 8 86796 5253)
 (symbols 32 18900 0)
 (miscs 32 67 93)
 (strings 16 14303 3778)
 (string-bytes 1 380276)
 (vectors 8 11981)
 (vector-slots 4 482985 3024)
 (floats 8 69 98)
 (intervals 28 203 9)
 (buffers 508 15))




Acknowledgement sent to iquiw <iku.iwasa@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#18182; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.