[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A bug, I think, in key-binding

From: Richard Stallman
Subject: Re: A bug, I think, in key-binding
Date: Wed, 09 Aug 2006 21:13:00 -0400

    I don't think the two are incompatible: currently, key-binding does not work
    if one of the keys in the sequence is an event (rather than just a char or
    a symbol),

Yes, it does work in that case.  (I just tested it.)

    > Perhaps we should have a function to do lookup on a key sequence
    > just the same way the command loop does.  That can be written in Lisp;
    > it just has to see if the first event is a mouse even, and move point
    > there inside save-excursion.

    Moving point is not sufficient if the click is on an image-map, or on
    before-string.  I'd rather reuse the C code if at all possible rather than
    try to mimick it in elisp (unless we can completely replace the C version
    with the elisp version).

That is a valid point; this needs to be implemented at C level.

Perhaps an optional argument to key-binding is the way to do it.
Would you like to implement that?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]