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: The X window system, yanking, and pasting using the mouse Date: Thu, 27 Jan 2011 16:41:47 -0500 Message-ID: <87sjwerplw.fsf@stupidchicken.com> References: <87hbcvkrgr.fsf@anzu.internal.golden-gryphon.com> <87lj26y6o4.fsf@anzu.internal.golden-gryphon.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296199515 9005 80.91.229.12 (28 Jan 2011 07:25:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 Jan 2011 07:25:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 28 08:25:10 2011 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 1Piihh-0001sG-Hs for ged-emacs-devel@m.gmane.org; Fri, 28 Jan 2011 08:25:09 +0100 Original-Received: from localhost ([127.0.0.1]:48184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiidW-0008G0-Ce for ged-emacs-devel@m.gmane.org; Fri, 28 Jan 2011 02:20:51 -0500 Original-Received: from [140.186.70.92] (port=60205 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiiUP-0001sh-OL for emacs-devel@gnu.org; Fri, 28 Jan 2011 02:11:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiiPf-0007wJ-Nt for emacs-devel@gnu.org; Fri, 28 Jan 2011 02:06:32 -0500 Original-Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]:60607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiiPf-0007w0-Lr for emacs-devel@gnu.org; Fri, 28 Jan 2011 02:06:31 -0500 Original-Received: from furball (dhcp128036014143.central.yale.edu [128.36.14.143]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0RLflq7022697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 27 Jan 2011 16:41:47 -0500 Original-Received: by furball (Postfix, from userid 1000) id A100816024E; Thu, 27 Jan 2011 16:41:47 -0500 (EST) In-Reply-To: <87lj26y6o4.fsf@anzu.internal.golden-gryphon.com> (Manoj Srivastava's message of "Thu, 27 Jan 2011 02:36:43 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.145 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:135121 Archived-At: Manoj Srivastava writes: > Commands that kill text or copy it to the kill-ring (M-w, C-w, C-k, > etc.) also put the killed text into the clipboard (apart from the kill > ring). There is no way described to make them go back to just using the > primary selection. This is described further on. I've edited the entry to make this clearer. > **** `select-active-regions' now defaults to t. > It also accepts a new value, `only', which means to only set the > primary selection for temporarily active regions (usually made by > mouse-dragging or shift-selection). > > Does it mean: > a) temporarily active regions will only set primary selection (and not > the clipboard), or > b) the primary selection is only set by temporarily active regions, and > never else? The latter; I've edited this to make it clearer. > In either case, this does not match my experience: even with > select-active-regions nil the primary selection is being set (perhaps > due to x-select-enable-primary and mouse-drag-copy-region set to t) Mouse commands all make temporarily active regions. What the `only' setting distinguishes is the type of region you make with C-SPC following by moving point away from the mark. > Also, the final paragraph needs to be corrected: > *** To return to the previous behavior, where mouse commands use the > clipboard, change `mouse-drag-copy-region' and (on X only) > `x-select-enable-primary' to t. > > s/clipboard/primary selection/ Fixed, thanks.