jed-users mailing list

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

Re: Where is push_defaults?


On  4.04.06, Dave Laird wrote:

> Here is the .jedrc file:
> 
> % require ("ispell_init");
> require ("keydefs");
> 
>  unsetkey("^[1");
>  define text_mode_hook()
> %  {
> %     flyspell_mode;
> %	  }
...
 
> I downloaded :
> 
> menutils.sl
> bufutils.sl
...

> ...and applied them to the Jed directory /usr/local/jed/lib

By "apply", do you mean "copy" or "copy and install"?
 
> ...and the minute I uncomment 'require ispell_init' and 'flyspell_mode, it
> errors out with 'push_defaults is undefined'...

It looks like ispell_init misses the autoload command for
"push_defaults". If you add

  autoload("push_defaults", "sl_utils");
  
before the require("ispell_init"); it should work. 


Guenter


PS:

> 		setkey("beg_of_line","\e[H");
> 		setkey("eol","\e[F");
> 		%setkey("beg_of_line","key_home");
> 		%setkey("eol","key_end");

As you load keydefs.sl, how about using the key variables defined
there, like e.g.

 		setkey("beg_of_line", Key_Home);

(remember to use the correct spelling and no quotes).


-- 
Milde ife.et.tu-dresden.de

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


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