emacs-devel
[Top][All Lists]
Advanced

[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: Thu, 17 Aug 2006 02:02:44 -0400

[I sent this message a week ago but did not get a response.]

    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]