help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Binding mouse-3 to browse-url-at-point question


From: Kevin Rodgers
Subject: Re: Binding mouse-3 to browse-url-at-point question
Date: Tue, 10 Sep 2002 10:42:54 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Jeff Rancier wrote:

I easily enough bound it, via the following in my .emacs:

(global-set-key [(mouse-3)] 'browse-url-at-point)

The problem is that the point doesn't change to the line I mouse-3 click on
before I browse-url-at-point().  Of course I can click mouse-1, then
mouse-3, to acheive this, but I'd rather have mouse-3 move the point then
browse.


Shouldn't you bind browse-url-at-mouse instead:


| browse-url-at-mouse: an interactive autoloaded Lisp function in `browse-url'.
|
| Ask a WWW browser to load a URL clicked with the mouse.
| The URL is the one around or before the position of the mouse click
| but point is not changed.  The URL is loaded according to the value of
| `browse-url-browser-function'.

--
Kevin Rodgers <kevinr@ihs.com>



reply via email to

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