jed-users mailing list

[2014 Date Index] [2014 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] "Inconsistent key-definition" error when mixing Control and Escape


Parke <parke.nexus@xxxxxxxxx> wrote:
> Both of the following produce an "Inconsistent key-definition" error.
>
>   local_setkey ( "top_of_buffer", "^X\e[5~" );
>   local_setkey ( "top_of_buffer", "\e[5~^X" );

If you are using emacs emulation, then you already have Ctrl-X ESC
bound to something ("evaluate_cmd").  This means that you wil not be
able to bind Ctrl-X ESC[5~ to anything without first unbinding Ctrl-X
ESC:

   local_unsetkey ("^X\e");
   local_setkey ( "top_of_buffer", "^X\e[5~" );

The same is true for the ESC[5~ Ctrl-X combination, since by default
ESC[5~ is bound to the PageUp key.

I hope this explains what is going on.  --John
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2014 date index] [2014 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]