evil interferes with describe-key in Emacs 24
When evil is enabled, C-h k M-w gives me "M-w is undefined". If I disable evil with C-z, it works as expected again. This may be Mac-only behavior, I guess. -- Sarah
On Sun, 4 Sep 2011 21:42:43 +0200, Sarah Brofeldt <[email protected]> wrote:
When evil is enabled, C-h k M-w gives me "M-w is undefined". If I disable evil with C-z, it works as expected again. This may be Mac-only behavior, I guess.
Same problem on linux. -- http://antono.info/
On 2011-09-05 04:06 +0200, Antono Vasiljev wrote:
On Sun, 4 Sep 2011 21:42:43 +0200, Sarah Brofeldt wrote:
When evil is enabled, C-h k M-w gives me "M-w is undefined". If I disable evil with C-z, it works as expected again.
Same problem on linux.
Does this happen with all keys, or just "M-w"? -- Vegard
On Sep 5, 2011, at 14:57 , Vegard Øye wrote:
On 2011-09-05 04:06 +0200, Antono Vasiljev wrote:
On Sun, 4 Sep 2011 21:42:43 +0200, Sarah Brofeldt wrote:
When evil is enabled, C-h k M-w gives me "M-w is undefined". If I disable evil with C-z, it works as expected again.
Same problem on linux.
Does this happen with all keys, or just "M-w"?
It happens on "some keys (™)" - but most all single-key Meta chords. Eg. M-y, M-t, M-u, etc. etc. etc. -- Sarah
Sarah Brofeldt <[email protected]> writes:
On Sep 5, 2011, at 14:57 , Vegard Øye wrote:
On 2011-09-05 04:06 +0200, Antono Vasiljev wrote:
On Sun, 4 Sep 2011 21:42:43 +0200, Sarah Brofeldt wrote:
When evil is enabled, C-h k M-w gives me "M-w is undefined". If I disable evil with C-z, it works as expected again.
Same problem on linux.
Does this happen with all keys, or just "M-w"?
It happens on "some keys (™)" - but most all single-key Meta chords. Eg. M-y, M-t, M-u, etc. etc. etc.
Sounds like something changed with the handling of the prefix-key ESC/escape. Perhaps some interference with the special handling of those keys? Need to get an Emacs 24 somewhere ... Frank
On 2011-09-05 18:25 +0200, Frank Fischer wrote:
Sounds like something changed with the handling of the prefix-key ESC/escape. Perhaps some interference with the special handling of those keys?
I can confirm your suspicion. The error is contingent on the following line in evil-states.el: (define-key evil-esc-map (kbd "ESC") 'evil-esc) `evil-esc-map' is the first keymap listed in `evil-mode-map-alist', and has priority over all other Evil keymaps.
Need to get an Emacs 24 somewhere ...
You can get the sources from Bazaar, but you'll have to install a host of libraries to compile them. The following may save you some time if you have not compiled Emacs previously. First, install Bazaar: sudo apt-get install bzr Then download the Bazaar repository (as explained on http://savannah.gnu.org/projects/emacs/): bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk This will take some time. When it's done, enter the resulting trunk/ directory and refer to INSTALL.BZR for build instructions. autoconf is needed: sudo apt-get install autoconf Now run ./autogen.sh to generate the configure script. Then run ./configure and it will likely complain about missing dependencies. These are the libraries I had to install: sudo apt-get install libtool \ libgtk2.0-dev \ libxpm-dev \ libjpeg-dev \ libgif-dev \ libungif4-dev \ libtiff-dev \ libncurses-dev When everything is in place, Emacs can be built with: make bootstrap This will create an Emacs binary in the src/ subdirectory. -- Vegard
On 6 Sep 2011, Vegard Øye wrote:
On 2011-09-05 18:25 +0200, Frank Fischer wrote:
Need to get an Emacs 24 somewhere ...
You can get the sources from Bazaar, but you'll have to install a host of libraries to compile them. The following may save you some time if you have not compiled Emacs previously.
First, install Bazaar:
sudo apt-get install bzr ...
If you assume an apt-based GNU/Linux distribution there's also Julien Danjou's emacs-snapshot: http://emacs.naquadah.org/ Michael
ohm, thank you both, but my last sentence was just a mental note for myself and perhaps an excuse why I didn't investigate the issue immediately. IIRC I have an Emacs 24 compiled somewhere around, just forgot where ... ;) Frank
You can get the sources from Bazaar, but you'll have to install a host of libraries to compile them. The following may save you some time if you have not compiled Emacs previously.
First, install Bazaar:
sudo apt-get install bzr
Then download the Bazaar repository (as explained on http://savannah.gnu.org/projects/emacs/):
bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk
You don't have to use bzr, you can actually get it from git repository as well if you want: git://git.savannah.gnu.org/emacs.git That's what I have been doing and I'm sure the git repository is being updated every day, even every minute I guess. :-) York
When evil is enabled, C-h k M-w gives me "M-w is undefined". If I disable evil with C-z, it works as expected again. This may be Mac-only behavior, I guess.
-- Sarah
I have been suffering from this problem since I switched to Emacs24. I had posted to the issue tracker though. https://bitbucket.org/lyro/evil/issue/63/c-h-k-reports-is-undefined Thanks, York
participants (6)
-
Antono Vasiljev -
Frank Fischer -
Michael Markert -
Sarah Brofeldt -
Vegard Øye -
York Zhao