GNU bug report logs - #7496
23.2; copy recursive keymap cause crash

Previous Next

Package: emacs;

Reported by: ARISAWA Akihiro <ari <at> mbf.ocn.ne.jp>

Date: Sat, 27 Nov 2010 01:04:02 UTC

Severity: minor

Tags: fixed

Found in version 23.2

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ARISAWA Akihiro <ari <at> mbf.ocn.ne.jp>
To: 7496 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#7496: 23.2; copy recursive keymap cause crash
Date: Sat, 27 Nov 2010 14:10:40 +0900
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




This bug report was last modified 5 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.