[Top][All Lists]

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

Re: [PATCH] mouse-1 click follows link

From: Stefan
Subject: Re: [PATCH] mouse-1 click follows link
Date: Sun, 31 Oct 2004 16:40:27 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

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

Yes, that's a problem.  Here are some ideas:

1 - (define-key link-parent-map [mouse-1] [mouse-2])
    (define-key this-button-keymap [mouse-2] 'foobar)

2 - (define-key link-parent-map [mouse-1] [follow-link])
    (define-key this-button-keymap [follow-link] 'foobar)

3 - (define-key link-parent-map [mouse-1] 'follow-link-command)
    (define-key this-button-keymap [remap follow-link-command] 'foobar)

-- Stefan

reply via email to

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