jed-users mailing list

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

Re: Question about placement of setkey() calls (was: Question about mailedit.sl docs)


On Sun, Aug 06, 2006 at 04:12:46PM +0000, Jörg Sommer wrote:
> Marc Haber <mh+jed-users@xxxxxxxxxxxx> wrote:
> > I am using jed 0.99.18 on Debian sid[1].
> >
> > When I want to set my own key, a setkey statement (for example
> > setkey("beg_of_line", "^[[H");) is not honored when I write it at the
> > top level of my ~/.jed/jed.rc. If I put the setkey statement into a
> > keybindings_hook definition, it works.
> 
> If you put it at the top level, which keys reports ^hw (Help->Where Is
> Command) for beg_of_line? Which function is bound to ^[[H?

It works now. I suspect this was actually an issue in some other
package which was updated in the mean time.

What does not work is mapping a local function to a key with setkey a
the top level.

   setkey("prepare_for_paste", "^X\"");

needs to be in keybindings_hook to work. ^hw is no help here since it
does not seem to be able to find out "Where is a function".

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

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