From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: select-active-regions, Emacs not X Date: Mon, 30 Aug 2010 21:27:40 +0200 Message-ID: <4C7C062C.5010702@swipnet.se> References: <4C7BA0A2.9030602@easy-emacs.de> <87sk1wdw0y.fsf@stupidchicken.com> <4C7BE2FA.6080003@easy-emacs.de> <87fwxwxau7.fsf@stupidchicken.com> <4C7BFC0A.1060806@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283197853 9412 80.91.229.12 (30 Aug 2010 19:50:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 19:50:53 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 30 21:50:51 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 1OqANT-0002rZ-49 for ged-emacs-devel@m.gmane.org; Mon, 30 Aug 2010 21:50:49 +0200 Original-Received: from localhost ([127.0.0.1]:48851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqA42-000474-Ob for ged-emacs-devel@m.gmane.org; Mon, 30 Aug 2010 15:30:42 -0400 Original-Received: from [140.186.70.92] (port=36505 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqA1C-00023i-UQ for emacs-devel@gnu.org; Mon, 30 Aug 2010 15:27:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqA1B-0004IC-Hr for emacs-devel@gnu.org; Mon, 30 Aug 2010 15:27:46 -0400 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]:49076) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqA1B-0004Hh-3A for emacs-devel@gnu.org; Mon, 30 Aug 2010 15:27:45 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id D62FDE9A4F for ; Mon, 30 Aug 2010 21:27:41 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoAvAPeie0xV4S0jPGdsb2JhbACDF51HDAEBAQE1LaxokXWBIoMicwQ X-IronPort-AV: E=Sophos;i="4.56,294,1280700000"; d="scan'208";a="123955914" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb2.telenor.se with ESMTP; 30 Aug 2010 21:27:41 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id C05B77FA05A; Mon, 30 Aug 2010 21:27:40 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 In-Reply-To: <4C7BFC0A.1060806@online.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:129451 Archived-At: I still get foo. Jan D. Andreas R=C3=B6hler skrev 2010-08-30 20.44: > Am 30.08.2010 19:35, schrieb Chong Yidong: >> Andreas R=C3=B6hler writes: >> >>> Doesn't meet my observations. >>> >>> In the original case cursor motion followed an exchange-point-and-mar= k >>> over a string found. Afterwards, moving the cursor, any active region >>> went into the clipboard. Next yank got it from there. Whilst the >>> string found and copied has been expected, but was not returned. >>> >>> Ie got some arbitrary content resp. to the move away from the match-p= oint. >> This description is too vague. Could you please provide a precise, >> step-by-step recipe, starting from `emacs -Q'? >> >>> The big difference IMHO is the cursor-motion-region-setting in emacs. >>> In X, regions are expressingly marked, while in Emacs it just the >>> difference beween point and any previously set mark. >> select-active-regions only takes effect when Transient Mark mode is >> enabled, which means the region is explicitly marked. Again, if this i= s >> not what you see, please provide a step-by-step recipe, starting from >> `emacs -Q', to demonstrate the problem. >> >> > > emacs -Q > > with empty buffer, insert > > foo > (kill-new (buffer-substring-no-properties 1 4)) asdf > > eval before "asdf" > push-mark there --thats done in my programm exchange-point-and-mark-- > move cursor down - region gets highlighted > > yank > > =3D=3D> asdf > > IMHO pure cursor move should not send the region to clipboard per defau= lt. > OTOH that seems a useful feature for mouse-regions > > Thanks > > Andreas > >