Subject: Re: bug#1072: Viper version is 3.14 of April 06, 2008; can't exit viper insert mode with ESC using emacsclient -t

From: Stefano Zacchiroli <[email-masked]>
Date: Thu, 9 Oct 2008 11:08:10 +0200

On Tue, Oct 07, 2008 at 06:21:40PM +0200, Lennart Borgman (gmail) wrote:
> What is the value of emulation-mode-map-alists in both cases?

in emacsclient -t: (viper--intercept-key-maps viper--key-maps)
in main emacs:     (viper--intercept-key-maps viper--key-maps)

(i.e., they are the same)

> Is viper--intercept-key-maps there in both cases?

Yes, it is there in both cases, and it appears to have the same
content.

> What is the value of this variable in both cases? It should be something
> like
> 
> ((viper-vi-intercept-minor-mode keymap
>                                 (f6 . viper-toggle-key-action)
>                                 (escape . viper-intercept-ESC-key)
>                                 (26))
>  (viper-insert-intercept-minor-mode keymap
>                                     (escape . viper-intercept-ESC-key))
>  (viper-emacs-intercept-minor-mode keymap
>                                    (f6 . viper-change-state-to-vi)
>                                    (26)))

It is similar, the only difference is that I'm missing f6. My verbatim
value is (in both cases):

((viper-vi-intercept-minor-mode keymap
				(escape . viper-intercept-ESC-key)
				(26 . viper-toggle-key-action))
 (viper-insert-intercept-minor-mode keymap
				    (escape . viper-intercept-ESC-key))
 (viper-emacs-intercept-minor-mode keymap
				   (26 . viper-change-state-to-vi)))

Do you see anything wrong with that?

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
I'm still an SGML person,this newfangled /\ All one has to do is hit the
XML stuff is so ... simplistic  -- Manoj \/ right keys at the right time