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: Stefan Monnier
Subject: Re: Getting the click position in a string
Date: Thu, 27 Apr 2006 17:24:30 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> But in order not to make it appear like an "accessor function", maybe it'd
>> be better to name it differently, e.g. "posn-lookup-key-binding".
>> Of course, another way to do it is to change `key-binding' so that it
>> accepts a `posn' argument (and/or an event argument).

> If it accepted an event instead of a keymap, that would be reasonably
> convenient.  There is a certain danger that this extension would be
> obscure: people might not know where to look for it in general.

XEmacs does it, AFAIK, and I don't find it particularly obscure.


        Stefan




reply via email to

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