From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: clipboard/selection: customization vs. rebinding Date: Sun, 03 Jul 2011 14:30:19 -0400 Message-ID: <87aacvxlms.fsf@stupidchicken.com> References: <4E07A0DB.7030503@harpegolden.net> <87d3hz5kp7.fsf@stupidchicken.com> <4E0D574C.8000407@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309717843 9742 80.91.229.12 (3 Jul 2011 18:30:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2011 18:30:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 03 20:30:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QdRRH-0004XT-DY for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2011 20:30:39 +0200 Original-Received: from localhost ([::1]:51868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdRRG-0001r1-Di for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2011 14:30:38 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdRR2-0001qr-Or for emacs-devel@gnu.org; Sun, 03 Jul 2011 14:30:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdRR1-0006zI-PG for emacs-devel@gnu.org; Sun, 03 Jul 2011 14:30:24 -0400 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]:56842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdRR1-0006zA-NW for emacs-devel@gnu.org; Sun, 03 Jul 2011 14:30:23 -0400 Original-Received: from furball ([64.134.100.161]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p63IUKVU019170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sun, 3 Jul 2011 14:30:21 -0400 In-Reply-To: <4E0D574C.8000407@harpegolden.net> (David De La Harpe Golden's message of "Fri, 01 Jul 2011 06:12:44 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.144 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141503 Archived-At: David De La Harpe Golden writes: > 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. Yeah, I don't think it's worth introducing this additional complication; now that Stefan introduced mouse--strip-first-event, only one rebinding is necessary for those users who demand the old behavior.