From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.bugs Subject: bug#6956: 24.0.50; pasting mouse selection in other session pastes only first word Date: Sat, 04 Sep 2010 21:35:28 +0100 Message-ID: <4C82AD90.5040003@harpegolden.net> References: <296F488C207B496D9CA42F4AA0F7C835@us.oracle.com> <83eidek812.fsf@gnu.org> <87eideejlh.fsf@stupidchicken.com> <838w3ljzq0.fsf@gnu.org> <83bp8eht8b.fsf@gnu.org> <4C8204D6.5020201@swipnet.se> <8339tpix6o.fsf@gnu.org> <87hbi58gxc.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283632830 3573 80.91.229.12 (4 Sep 2010 20:40:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Sep 2010 20:40:30 +0000 (UTC) Cc: 6956@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 04 22:40:28 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrzXD-0002Hm-P7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Sep 2010 22:40:25 +0200 Original-Received: from localhost ([127.0.0.1]:41239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrzXB-0000My-VZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Sep 2010 16:40:22 -0400 Original-Received: from [140.186.70.92] (port=56361 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrzWo-0000HW-MF for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2010 16:40:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrzWm-00073Z-RW for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2010 16:39:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60187) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrzWm-00073V-OR for bug-gnu-emacs@gnu.org; Sat, 04 Sep 2010 16:39:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OrzR3-0004YZ-Ls; Sat, 04 Sep 2010 16:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David De La Harpe Golden Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Sep 2010 20:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6956 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6956-submit@debbugs.gnu.org id=B6956.128363242417509 (code B ref 6956); Sat, 04 Sep 2010 20:34:01 +0000 Original-Received: (at 6956) by debbugs.gnu.org; 4 Sep 2010 20:33:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrzQl-0004YM-Jd for submit@debbugs.gnu.org; Sat, 04 Sep 2010 16:33:43 -0400 Original-Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrzQk-0004YH-7k for 6956@debbugs.gnu.org; Sat, 04 Sep 2010 16:33:42 -0400 Original-Received: from [87.198.55.208] (87-198-55-208.ptr.magnet.ie [87.198.55.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 64D64683AF; Sat, 4 Sep 2010 21:35:26 +0100 (IST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6 In-Reply-To: <87hbi58gxc.fsf@stupidchicken.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 04 Sep 2010 16:34:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39972 Archived-At: On 04/09/10 20:09, Chong Yidong wrote: > I'd rather not introduce another variable here. I don't object to > allowing mouse-save-then-kill obey mouse-drag-copy-region (the emphasis > being on the "mouse" rather than the "drag"), provided the doc of > mouse-drag-copy-region is updated accordingly. > I had an initial stab (not bothering with "double" previously mentioned, guess there's no demand) that I was about to send, but then I realised my effort was inadequate, so just to note: We _don't_ want a new kill ring entry for each new mouse-3 click in a different position for a given region activation, we want it to replace the front of kill-ring if it's extending a region that's already been saved to the kill ring previously in the same activation. Testing emacs 22.3, it replaced, and as a comment in its (too different to use directly) source says: ;; We have already put the old region in the kill ring. ;; Replace it with the extended region. ;; (It would be annoying to make a separate entry.) - having just tried a patch that didn't take pains to do that replacement, I can confirm it is annoying... ========= Aside: If someone were to make mouse-3 dragging extend an existing region some day*, of course you wouldn't want it copying to kill ring a zillion times. Maybe mouse-3-drag-existing-region-adjustment could be added "cheaply" by reusing most of the existing mouse-drag. * analogous with other-app Shift-Mouse-1 dragging, emacs of course having some popup font menu on Shift-Mouse-1 and using Mouse-3 for existing region adjustment where other apps tend to have a popup context menu on Mouse-3 and use Shift-Mouse-1 for existing region adjustment...