[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6774: Cut and paste with C-w/mouse-2 not working?
From: |
David De La Harpe Golden |
Subject: |
bug#6774: Cut and paste with C-w/mouse-2 not working? |
Date: |
Tue, 03 Aug 2010 16:15:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 |
On 03/08/10 15:34, Miles Bader wrote:
So while y'all are screwing around with this, is there a simple way I
can get back the original behavior?
Yes, four boolean customizations and a rebinding (or just five boolean
customizations on my experimental branch)
** group killing:
;; stop emacs using the clipboard for C-w/M-w/C-y
x-select-enable-clipboard => nil
;; make emacs use primary for C-w/M-w/C-y
x-select-enable-primary => t
;; stop emacs sending both keyboard and mouse selections to primary
;; (and right now sometimes failing at it)
select-active-regions => nil
** group mouse:
;; make emacs treat the end of a mouse drag selection as an M-w.
mouse-drag-copy-region => t
** rebind:
;; make emacs treat mouse middle button as a C-y operation.
;; rather than a primary-insertion-only operation.
(global-set-key [mouse-2] 'mouse-yank-at-click)
N.B. On the "selx" experimental branch, don't rebind mouse-2, do instead:
mouse-yank-selection-only => nil
[IMO such a boolean customisation is neater than requiring a rebind to
revert for reasons outlined on emacs-devel last week]
- bug#6774: Cut and paste with C-w/mouse-2 not working?, (continued)
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Eli Zaretskii, 2010/08/17
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Kenichi Handa, 2010/08/17
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/17
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Kenichi Handa, 2010/08/17
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/18
- bug#6774: Cut and paste with C-w/mouse-2 not working?, David De La Harpe Golden, 2010/08/17
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/18
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Angelo Graziosi, 2010/08/08
- bug#6774: Cut and paste with C-w/mouse-2 not working?, David De La Harpe Golden, 2010/08/02
- Message not available
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Miles Bader, 2010/08/03
- bug#6774: Cut and paste with C-w/mouse-2 not working?,
David De La Harpe Golden <=
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Miles Bader, 2010/08/03
- bug#6774: Cut and paste with C-w/mouse-2 not working?, David De La Harpe Golden, 2010/08/03
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Miles Bader, 2010/08/03
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/04
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Drew Adams, 2010/08/04
- bug#6774: Cut and paste with C-w/mouse-2 not working?, David De La Harpe Golden, 2010/08/04
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Drew Adams, 2010/08/04
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Chong Yidong, 2010/08/04
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Drew Adams, 2010/08/04
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Chong Yidong, 2010/08/04