- Subject: Re: [jed-users] jed.rc only partially working
- From: Jay Belanger <jay.p.belanger@xxxxxxxxx>
- Date: Fri, 3 Mar 2017 21:58:36 -0600
> I will refer you to similar past threads:
>
> <http://lists.jedsoft.org/lists/jed-users/2002/0000520.html>
> <http://lists.jedsoft.org/lists/jed-users/2004/0000072.html>
Thanks. I hadn't realized that "jed -batch" could be so useful.
> > When I try to set keybindings in my .jed/jed.rc or .jedrc file, they
> > don't take affect. For example, if my rc file contains
> > enable_top_status_line (0);
> > setkey("del","^Cd");
> > and I start jed, the top status line is gone, but Control-c d doesn't
> > delete. If I start jed with
>
> Right. The reason is that you did not define an editor emulation and
> after jed loaded your jedrc file and saw that none was loaded, it used
> a default emulation (emacs).
Ah; I misunderstood how the default of emacs worked.
I wouldn't have guessed this, but it makes sense...
> then put the following in your jedrc file:
>
> require ("emacs"); % load the emacs emulation
> setkey("del","^Cd");
... and now things work great.
> However, if you want to create your own keybindings from scratch
Oh, maybe I'll do that someday.
> See jed.sl in the jed/lib directory for the "jed" emulation. To my
> knowledge, I am the only person in the world who uses this emulation.
I didn't even know there was a jed emulation(?); the quickref
documentation didn't mention it.
> I hope this helps.
Yup; thanks a lot!
(And thanks Parke and Roland, too.)
Jay
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
[2017 date index]
[2017 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]