emacs-devel
[Top][All Lists]
Advanced

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

Re: clipboard/selection: customization vs. rebinding


From: Chong Yidong
Subject: Re: clipboard/selection: customization vs. rebinding
Date: Wed, 29 Jun 2011 12:08:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> Shouldn't we do something like the patch below?
>
> -(global-set-key [left-fringe mouse-1]        'mouse-set-point)
> -(global-set-key [right-fringe mouse-1]       'mouse-set-point)
> +(global-set-key [left-fringe mouse-1]        [mouse-1])
> +(global-set-key [right-fringe mouse-1]       [mouse-1])

That doesn't work for mouse-yank-primary.  Binding [left-fringe mouse-2]
to [mouse-2], and doing mouse-2 in the fringe, gives an error:

Debugger entered--Lisp error: (error "mouse-yank-primary must be bound
to an event with parameters")
  call-interactively(mouse-yank-primary nil nil)

The problem is that mouse events are not passed along to keyboard macro
bindings.



reply via email to

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