comparison src/ChangeLog @ 5693:4d15e903800b

Be more careful about erroring with probable GNU-syntax keysyms, keymap.c src/ChangeLog addition: 2012-11-06 Aidan Kehoe <kehoea@parhasard.net> * keymap.c (define_key_check_and_coerce_keysym): When worrying about GNU Emacs-like keysym syntax, if the symbol name starts with c-whatever (or s-whatever, or m-whatever), check for a function binding for that before erroring. Otherwise command remapping and C mode interact badly, since most of the C mode commands are regarded as GNU Emacs-style keysyms.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 06 Nov 2012 22:33:58 +0000
parents be87f507f510
children 9f1c9f957073
comparison
equal deleted inserted replaced
5692:be87f507f510 5693:4d15e903800b
1 2012-11-06 Aidan Kehoe <kehoea@parhasard.net>
2
3 * keymap.c (define_key_check_and_coerce_keysym):
4 When worrying about GNU Emacs-like keysym syntax, if the symbol
5 name starts with c-whatever (or s-whatever, or m-whatever), check
6 for a function binding for that before erroring. Otherwise command
7 remapping and C mode interact badly, since most of the C mode
8 commands are regarded as GNU Emacs-style keysyms.
9
1 2012-11-06 Aidan Kehoe <kehoea@parhasard.net> 10 2012-11-06 Aidan Kehoe <kehoea@parhasard.net>
2 11
3 * keymap.c (event_binding): 12 * keymap.c (event_binding):
4 Do command remapping here for interactive lookups; avoids a 13 Do command remapping here for interactive lookups; avoids a
5 relatively expensive repeated call to get_relevant_keymaps(), as 14 relatively expensive repeated call to get_relevant_keymaps(), as