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: Nick Roberts
Subject: Re: mouse-1-click-follows-link with t-mouse
Date: Mon, 19 Mar 2007 14:22:55 +1200

 > > I think there is a more fundamental obstruction to using the
 > > mouse-1-click-follows-link mechanism t-mouse.  On graphical displays,
 > > if you hold down the mouse button for 0.45 seconds (by default), that
 > > is supposed to set point where you clicked instead of following links.
 > > In t-mouse-mode, this information is simply unavailable (and, OTOH,
 > > impossible to extract).
 > 
 > OTOH, xterm-mouse-mode does follow links on mouse-1 (ignoring the
 > delay). (Personally, I dislike mouse-1-click-follows-link and turn it
 > off.)

Yes, I think if it works for xterm-mouse-mode, it should be possible to make
it work with t-mouse-mode.

I see xt-mouse.el has:

  ;; Cheat `mouse-drag-region' with move event.
  (list 'mouse-movement click-data)
  ;; Generate a drag event.
  (if (symbolp down-where)
  ...

but I don't know why  mouse-1-click-follows-link uses mouse-drag-region as
the down and click events are generally at the same place.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

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