[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7496: 23.2; copy recursive keymap cause crash
From: |
ARISAWA Akihiro |
Subject: |
bug#7496: 23.2; copy recursive keymap cause crash |
Date: |
Sat, 27 Nov 2010 14:10:40 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Stefan Monnier writes:
>> When I call `copy-keymap' with a keymap which contains recursive binding,
>> the emacs crashed.
> - don't use cyclic keymaps and especially don't copy them.
> - don't use copy-keymap, instead: inherit.
OK.
I use cycle binding in global-map, and the evernote-mode.el calls
(copy-keymap global-map).
http://code.google.com/p/emacs-evernote-mode/
So, I will suggest to the author that evernote-mode.el uses
set-keymap-parent instead of copy-keymap.
Regards,
ARISAWA