jed-users mailing list

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

[Jed-users-l] setkey and next_line_cmd (in a function sequence) yields "next_line_cmd is undefined


Hi,

>From the docs:

The fun argument is usually the name of an internal or a user defined
S-Lang function. However, if may also be a sequence of functions or
even another keysequence (a keyboard macro). For example,

         setkey ("bol;insert(string(whatline()))", "^Kw");

Source: http://www.jedsoft.org/jed/doc/jedfuns-12.html#ss12.29

However:

public define global_mode_hook ( hook_name ) {
  local_setkey ("next_line_cmd",                       "^T");
  local_setkey ("bol;set_mark_cmd;next_line_cmd",     "^X^T");
  ;;; }

^T works as expected, however, ^XT give as "next_line_cmd is undefined" error.

Any suggestions?

Thanks!

-Parke
_______________________________________________
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]