|
From: | David De La Harpe Golden |
Subject: | Re: clipboard/selection: customization vs. rebinding |
Date: | Fri, 01 Jul 2011 06:12:44 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110606 Icedove/3.1.10 |
On 27/06/11 16:59, Chong Yidong wrote:
David De La Harpe Golden<address@hidden> writes:I propose for 24 binding mouse-2 back to mouse-yank-at-click but with the addition of boolean customization to control the precise behaviour to allow the desired fd.o-type behaviour.It's a tough decision. It's true that mouse-yank-at-click has fringe bindings, so anyone who wants the old behavior would need to rebind those too, which is a nuisance. However, if we introduce a boolean to control mouse-yank-at-click, that makes it harder for users to have both mouse yank behaviors available (by binding mouse-yank-at-click and mouse-yank-primary to different keys)---unless we introduce yet another command that unconditionally yanks from the kill ring, which I think is not worth the complication.
Hmm. actually, that command sort of already exists in the form of the existing mount-yank-at-click? It really "yanks from the kill-ring" - though that process can check the system clipboard and/or primary and pushing them onto the kill ring, according to x-select-enable-primary and x-select-enable-clipboard.
So just introducing a new mouse-yank-at-click that redirects to one of mouse-yank-primary or mouse-yank-last-kill (the old mouse-yank-at-click, renamed) depending on a customization, does achieve what I was proposing. Though you may still think it too messy / not worth the complication.
customization_for_mouse_yank.diff
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |