From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs developers <emacs-devel@gnu.org>,
David De La Harpe Golden <david@harpegolden.net>
Subject: Re: clipboard/selection: customization vs. rebinding
Date: Wed, 29 Jun 2011 12:08:39 -0400 [thread overview]
Message-ID: <87k4c4d3i0.fsf@stupidchicken.com> (raw)
In-Reply-To: <jwvy60lba8i.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 28 Jun 2011 23:19:36 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> 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.
next prev parent reply other threads:[~2011-06-29 16:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-26 21:12 clipboard/selection: customization vs. rebinding David De La Harpe Golden
2011-06-27 15:59 ` Chong Yidong
2011-06-29 3:19 ` Stefan Monnier
2011-06-29 16:08 ` Chong Yidong [this message]
2011-06-30 16:57 ` Stefan Monnier
2011-07-01 5:12 ` David De La Harpe Golden
2011-07-03 18:30 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k4c4d3i0.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=david@harpegolden.net \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.