help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x mystery


From: Alexander
Subject: Re: M-x mystery
Date: Mon, 2 Jan 2012 11:32:32 -0500



On Mon, Jan 2, 2012 at 4:51 AM, Silvio Levy <levy@msri.org> wrote:
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<RET> -- 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


I'm a novice but from what I read in an GNU emacs manual ESC and Meta are initially the same. So maybe you mapped something to ESC and emacs is confused?
--
Alexander
7D9C597B


reply via email to

[Prev in Thread] Current Thread [Next in Thread]