Klaus Zeitler <[EMAIL PROTECTED]> writes:

> in August we had a discussion about pasting (with mouse-2) in
> fringe.  I noticed that it doesn't work anymore, instead I get:
> After 0 kbd macro iterations: mouse-yank-at-click must be bound to
> an event with parameters

The following patch should make mouse-2 in the fringe work (like I
said previously, I can't find a version in which it worked before.)

*** emacs/lisp/mouse.el.~1.305.~        2006-11-06 09:29:51.000000000 -0500
--- emacs/lisp/mouse.el 2006-11-14 11:50:48.000000000 -0500
***************
*** 2416,2422 ****
  
  (global-set-key [mouse-2]     'mouse-yank-at-click)
  ;; Allow yanking also when the corresponding cursor is "in the fringe".
! (global-set-key [right-fringe mouse-2] [mouse-2])
  (global-set-key [mouse-3]     'mouse-save-then-kill)
  
  ;; By binding these to down-going events, we let the user use the up-going
--- 2416,2422 ----
  
  (global-set-key [mouse-2]     'mouse-yank-at-click)
  ;; Allow yanking also when the corresponding cursor is "in the fringe".
! (global-set-key [right-fringe mouse-2] 'mouse-yank-at-click)
  (global-set-key [mouse-3]     'mouse-save-then-kill)
  
  ;; By binding these to down-going events, we let the user use the up-going



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to