[Top][All Lists]

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

Re: [PATCH] mouse-1 click follows link

From: Kim F. Storm
Subject: Re: [PATCH] mouse-1 click follows link
Date: Sun, 31 Oct 2004 00:04:07 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> Kim Storm wrote:
>    Here is the full patch (without doc updates) for the proposed
>    mouse-1-click-follows-link functionality, including rewriting of
>    tooltips and making C-h k aware of the remapping.
> I do not have the time to read your patch in detail.  I hope that I am
> wrong, but at first view it looks as if you do:
>     (setcar event 'mouse-2)
> whenever the user clicked mouse-1 and the text has the mouse-face
> property and does not have the new dont-follow-link property.


> Hopefully I am misunderstanding this, as it would obviously be
> disastrous, even for an optional feature.

Can you elaborate on this?

> Having the mouse-face property does _not at all_ imply that the text
> is a link.  

So far we have identified two examples of this in external packages
(preview-latex and AUCtex) -- it would be trivial for those to
add the dont-follow-link property.

>             I would rather work with a `link' property if you want to
> remap, than with a `dont-follow-link' if not.

I think it is better to mark the exceptions, rather than the rule.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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