emacs-devel
[Top][All Lists]
Advanced

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

Re: mouse-1-click-follows-link with t-mouse


From: Kim F. Storm
Subject: Re: mouse-1-click-follows-link with t-mouse
Date: Mon, 19 Mar 2007 12:04:53 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

Nick Roberts <address@hidden> writes:

> This seems a bit premature.  If you remove the line
>
>       (not (input-pending-p))
>
> from mouse-drag-track in mouse.el, mouse-1-click-follows-link works in the
> console with t-mouse.
>
> When is this condition needed?  I couldn't get it to fail on a graphical
> display.

I don't recall why I made the check for input-pending-p, but
it looks like it is meant to catch a double click on a link - 
i.e. so that a double-click does not follow the link.

But that doesn't really work - and it also seems that the test could
potentially make the whole feature unstable, as other unrelated input
events could accidentally prevent the mouse click from following the link.

So I think we can just remove the test.

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





reply via email to

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