[Top][All Lists]

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

Re: local keymap patch for key-binding

From: Chong Yidong
Subject: Re: local keymap patch for key-binding
Date: Sun, 10 Sep 2006 22:36:15 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

>> C-h k followed by mouse-1 on the overlay, display string, or text
>> propertized region all report the correct action for the given local
>> keymap.
> Uh, C-h k has extra code doing this sort of lookup.  It does not rely
> on key-binding.

It also works with (setq foo (read-key-sequence ""))

> Do you have an idea why the stuff in read-key-sequence concerning
> mouse related maps appears so much more complicated?  Or is it just
> me?  Some complication, of course, is due to read-key-sequence
> having to _assemble_ a key sequence instead of merely looking it up.

What you said.

reply via email to

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