emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] mouse-1 click follows link


From: David Kastrup
Subject: Re: [PATCH] mouse-1 click follows link
Date: Sun, 31 Oct 2004 19:37:38 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> Kim Storm wrote:
>
>    I don't see how this would work -- the mouse-2 binding is typically
>    made in a keymap property on the link itself, as even things that
>    _are_ links use different bindings for mouse-2.
>
>    So how can you use a global map for links ?
>
> I was thinking of a common _parent_ keymap, say `link-keymap' for
> links.  In fact, no separate `link' property would be needed.  Each
> kind of link would use its individual keymap, but would do:
>
> (set-keymap-parent this-keymap link-keymap)
>
> link-keymap would be a customizable variable with predefined values.
>
> Maybe there are problems with this, but I do not immediately see them.

What would the keybinding in link-keymap be?  It has to resolve to
something different for each link.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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