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

Re: middle click to open url in new session



>>>>> In [emacs-w3m : No.09077] Leo wrote:

>> So, how do we copy text on links using mouse? ;-)

> Start from one point ahead of the link where there is no link and drag
> across the link.

>> BTW, S-mouse-2 is bound to `w3m-mouse-view-this-url-new-session' by
>> default.

> I knew this one. But it is not very efficient. For example, I like to
> drink coffee while I surf net. I want one-hand to be free.

Okay.  What you want will probably be:

#v+
(define-key w3m-mode-map [mouse-2] 'w3m-mouse-view-this-url-new-session)
(define-key w3m-mode-map [follow-link] 'w3m-mouse-view-this-url)
#v-

Note that `mouse-1-click-follows-link' and
`mouse-1-click-in-non-selected-windows' need to have non-nil
value, e.g., the default.

This feature seems to be good.  So, I'm going to bring it up for
discussion with the developers.

Regards,