From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Kifer Newsgroups: gmane.emacs.bugs Subject: bug#1072: Viper version is 3.14 of April 06, 2008; can't exit viper insert mode with ESC using emacsclient -t Date: Tue, 7 Oct 2008 19:06:07 -0400 Organization: Stony Brook University Message-ID: <20081007190607.32194926@kiferserv> References: <20081006095245.2FE176A99@usha.takhisis.invalid> <20081006124104.25eb7619@kiferserv> <20081007144950.GA20151@usha.takhisis.invalid> <48EB8C94.2070403@gmail.com> Reply-To: kifer@cs.sunysb.edu, 1072@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223422226 15176 80.91.229.12 (7 Oct 2008 23:30:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2008 23:30:26 +0000 (UTC) Cc: 1072@emacsbugs.donarmstrong.com, Stefano Zacchiroli To: "Lennart Borgman (gmail)" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 01:31:23 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnM1L-0000Pr-EM for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 01:31:15 +0200 Original-Received: from localhost ([127.0.0.1]:35287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnM0H-00035Y-7i for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Oct 2008 19:30:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnM0B-000344-4G for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 19:30:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnM08-00031g-G4 for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 19:30:02 -0400 Original-Received: from [199.232.76.173] (port=36866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnM08-00031S-AG for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 19:30:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41724) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnM08-00038O-2k for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 19:30:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97NTv99021344; Tue, 7 Oct 2008 16:29:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m97NF25M017852; Tue, 7 Oct 2008 16:15:02 -0700 X-Loop: don@donarmstrong.com Resent-From: Michael Kifer Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Oct 2008 23:15:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1072 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1072-submit@emacsbugs.donarmstrong.com id=B1072.122342077216607 (code B ref 1072); Tue, 07 Oct 2008 23:15:02 +0000 Original-Received: (at 1072) by emacsbugs.donarmstrong.com; 7 Oct 2008 23:06:12 +0000 Original-Received: from sbcs.cs.sunysb.edu (sbcs.cs.sunysb.edu [130.245.1.15]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97N68T7016601 for <1072@emacsbugs.donarmstrong.com>; Tue, 7 Oct 2008 16:06:10 -0700 Original-Received: from kiferserv (compserv1 [130.245.1.44]) by sbcs.cs.sunysb.edu (8.13.6/8.12.11) with ESMTP id m97N67pQ007457; Tue, 7 Oct 2008 19:06:07 -0400 (EDT) In-Reply-To: <48EB8C94.2070403@gmail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 07 Oct 2008 19:30:02 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21245 Archived-At: It is (viper--intercept-key-maps viper--key-maps) but it does not look like this kicks in. The value of viper--intercept-key-maps is ((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))) So, the keymaps are set correctly, but they do not seem to kick in. michael On Tue, 07 Oct 2008 18:21:40 +0200 "Lennart Borgman (gmail)" wrote: > Stefano Zacchiroli wrote: > >> The key different seems to be key binding, while in main Emacs and > >> framed client "C-h k ESC" returns (viper-intercept-ESC-key), in > >> console clients "C-h k ESC" hangs showing "ESC-" waiting for the > >> next key in the binding. > > > > Does this blink some light? (Or maybe explains that the bug is not at > > all related to Viper and need to be looked for in some emacsclient > > detail?) > > What is the value of emulation-mode-map-alists in both cases? Is > viper--intercept-key-maps there in both cases? > > 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))) > > What is the values of the key variables in the association list? > > > Thanks a lot! > > Cheers. > > >