From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Selection changes in revno 100822 Date: Mon, 16 Aug 2010 09:07:59 +0200 Organization: Organization?!? Message-ID: <87fwyfxcfk.fsf@lola.goethe.zz> References: <834oeyv3ww.fsf@gnu.org> <87mxsqyp98.fsf@stupidchicken.com> <83zkwptyij.fsf@gnu.org> <4C66660D.3090603@swipnet.se> <83sk2htp82.fsf@gnu.org> <4C66A8C5.4040203@harpegolden.net> <83hbixte8c.fsf@gnu.org> <87wrrs276x.fsf@stupidchicken.com> <8339ugu7vt.fsf@gnu.org> <87lj881xzf.fsf@catnip.gol.com> <83y6c8shuy.fsf@gnu.org> <87bp93sypi.fsf@stupidchicken.com> <87ocd3s2sl.fsf@stupidchicken.com> <87mxsnxocu.fsf@lola.goethe.zz> <83lj87s1da.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281942517 22205 80.91.229.12 (16 Aug 2010 07:08:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Aug 2010 07:08:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 16 09:08:36 2010 Return-path: Envelope-to: ged-emacs-devel@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 1OktoB-0000yu-2e for ged-emacs-devel@m.gmane.org; Mon, 16 Aug 2010 09:08:35 +0200 Original-Received: from localhost ([127.0.0.1]:52818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OktoA-0007ab-6Q for ged-emacs-devel@m.gmane.org; Mon, 16 Aug 2010 03:08:34 -0400 Original-Received: from [140.186.70.92] (port=51260 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oktnq-0007Vf-HZ for emacs-devel@gnu.org; Mon, 16 Aug 2010 03:08:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oktnn-00020p-QA for emacs-devel@gnu.org; Mon, 16 Aug 2010 03:08:14 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56650) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oktnn-00020X-HA for emacs-devel@gnu.org; Mon, 16 Aug 2010 03:08:11 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oktnm-0000p3-0q for emacs-devel@gnu.org; Mon, 16 Aug 2010 09:08:10 +0200 Original-Received: from p508ed3d9.dip.t-dialin.net ([80.142.211.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Aug 2010 09:08:10 +0200 Original-Received: from dak by p508ed3d9.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Aug 2010 09:08:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p508ed3d9.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:qcSsNRxWKEj8CYICbgi1crcfOpk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128779 Archived-At: Eli Zaretskii writes: >> From: David Kastrup >> Date: Mon, 16 Aug 2010 04:50:25 +0200 >> >> Doesn't that imply that merely visibly selecting a region is sufficient >> for pasting from one Emacs instance to another, but not from one Emacs >> frame to another of the same Emacs instance? > > Pasting with mouse-2 should work inside the Emacs session as it should > outside it, AFAIU. AFAIU, the highlighting in the first frame goes away when you press mouse-2 in the second frame of the same Emacs session. Since the highlighting is supposedly connected with the selection, that means the selection will no longer be taken by Emacs, and the paste will be from the top of the kill ring. Since the region never was entered into the killring, the result will appear differently than pasting a highlighted selection from a different Emacs frame (which does not lose the selection when doing mouse-2 in a different Emacs session). I have not yet compiled the new code, but from the description that would appear to me to be the case. One nuisance of typical X operation is that there is basically only one selection that counts, but every application will have its own highlighting/active region. So you don't notice an application losing the selection until you try pasting. Since multiple Emacsen can have an active highlighted region at the same time, they participate in that kind of lazy silent selection loss scheme. But I don't think that multiple frames of the same Emacs session can have an active highlighted region at the same time. At least that seems to be the case in my currently compiled Emacs. -- David Kastrup