emacs-devel
[Top][All Lists]
Advanced

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

Re: Getting the click position in a string


From: David Kastrup
Subject: Re: Getting the click position in a string
Date: Mon, 01 May 2006 07:55:29 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> It would not really suffice to let it accept an event instead of
>> KEY: for implementing the follow-link functionality, the lookup has
>> to be for [follow-link], but for a given event of type down-mouse-1
>> or similar.
>
> Oh, now I understand what you mean.  So you basically want to add a
> `position' argument to `key-binding'?  How 'bout adding a `position'
> argument to `current-active-maps'?

Well, if we had a lookup function accepting a list of keymaps...  It
seems a bit tiresome to loop all by one's own, so while adding the
argument to `current-active-maps' seems like a good idea, it also
seems like things calling it implicitly (like `key-binding') should
also get that argument.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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