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 21:13:01 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> David Kastrup wrote:
>
>    What would the keybinding in link-keymap be?  It has to resolve to
>    something different for each link.
>
> Things like mouse-set-point, mouse-drag-region and the like would be
> common.  It would seem that we are only talking about the link-following.
> That would then have to be 
>
> (lambda (arg) (funcall mouse-follow-link-function arg))
>
> where arg is the numeric prefix.

But that does not make it possible to have different actions on
different active links in a buffer.

Currently I can add a local keymap just doing anything on a
mouse-click without worrying about the buffer-local
mouse-follow-link-function setting.  Not all clickable buttons are
strictly major-mode dependent.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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