emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: mouse-yank-at-click (with mouse-2) in fringe


From: Stefan Monnier
Subject: Re: mouse-yank-at-click (with mouse-2) in fringe
Date: Tue, 14 Nov 2006 12:46:34 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

> ! (global-set-key [right-fringe mouse-2] [mouse-2])
> --- 2416,2422 ----
> ! (global-set-key [right-fringe mouse-2] 'mouse-yank-at-click)

Hmm... that's nasty.
So we can't redirect a mouse event like that: the event's parameters
get lost.  That sucks.

How could we do it right?


        Stefan


PS: It seems what we really want is to automatically rewrite
    [left-fringe <foo>] to [<foo>] if there is no binding for [left-fringe
    <foo>], just like we do for "A => a", "double-mouse-2 => mouse-2", ...




reply via email to

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