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

Re: Mouse-1 clicks in Emacs 22

>>>>> In [emacs-w3m : No.07696] Romain Francoise wrote:

> This patch adds support for mouse-1 clicks to follow links under Emacs
> 22.  Most modes now support it and it is quite convenient!

Oh, it makes Emacs like Windows!  I didn't know it and am not
used to it yet, but it seems to be useful to all users.  Thank

> Since we're in feature freeze, this is probably not suitable for the
> release branch.

I think it can be in the release branch as the follwing:

(when (boundp 'mouse-1-click-follows-link)
  (define-key map [follow-link] 'mouse-face))

I'll test and install it later.

By the way, what kind of the object is `mouse-face'?  I didn't
make sense how it invokes the w3m-mouse-view-this-url command.

> Apologies for the possible fuzziness of this patch, I have local changes
> in my repository.

I guess there might be many other treasures in your system. ;-)