From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Silvio Levy Newsgroups: gmane.emacs.help Subject: M-x mystery Date: Mon, 02 Jan 2012 01:51:23 -0800 Message-ID: <20120102095123.F3895181003@neo.msri.org> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1325497898 26782 80.91.229.12 (2 Jan 2012 09:51:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Jan 2012 09:51:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 02 10:51:35 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RheYH-0008Pl-P7 for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Jan 2012 10:51:33 +0100 Original-Received: from localhost ([::1]:60834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RheYH-0005iS-Br for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Jan 2012 04:51:33 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RheYC-0005iL-Hy for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 04:51:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RheYB-0002aZ-Mc for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 04:51:28 -0500 Original-Received: from spike.lmi.net ([66.117.140.17]:40034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RheYB-0002aN-IE for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 04:51:27 -0500 Original-Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id 61AF2154019; Mon, 2 Jan 2012 01:51:24 -0800 (PST) Original-Received: by neo.msri.org (Postfix, from userid 1000) id F3895181003; Mon, 2 Jan 2012 01:51:23 -0800 (PST) Original-Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id DBCE5180170; Mon, 2 Jan 2012 01:51:23 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.17 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83284 Archived-At: Dear emacs folks in trying to debug some bad interactions between vip.el (VI emulation) and icicles, I've come against an obstable I can't surmount: M-x sometimes ceases to be M-x and becomes instead ESC-x. Minimal example: I run "emacs -q -l foo.el" where foo.el contains this code: (defun doit () "run test" (interactive) (defvar vip-mode-map (make-keymap)) (define-key vip-mode-map "\e" 'kill-line) (use-local-map vip-mode-map) ) Then I into a scratch buffer and type M-x doit -- so far so good. After that, when I type M-x the behavior, it is as if I had typed ESC and x: the current line is killed and an x is inserted. Any ideas about what I'm doing wrong? Silvio