From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.devel Subject: Re: Set X primary selection with Emacs in xterm Date: Fri, 10 Jun 2022 04:50:02 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6666"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Duncan Findlay Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 10 12:09:29 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzba4-0001UT-2b for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Jun 2022 12:09:28 +0200 Original-Received: from localhost ([::1]:55072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzba2-0002ng-Ho for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Jun 2022 06:09:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzaLP-0004Nc-S5 for emacs-devel@gnu.org; Fri, 10 Jun 2022 04:50:16 -0400 Original-Received: from ore.jhcloos.com ([192.40.56.151]:34810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzaLL-0005Q0-6g for emacs-devel@gnu.org; Fri, 10 Jun 2022 04:50:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=ore17; t=1654851009; bh=kanMpwGDsso5tbBl4ulXTuRqMf+/9kD+u9LGW9yjv8E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=RpYlL6O8IeW2Q8y3q6xkmzJMxhop+M4lsr9ziksAUjGAqNEmjiFCQgaSSTMKOXZ/E vvOwrZ292fNOoRBHoFta84iyNX9lPhvJgm1S5BvchwwVAxfYJShyAaVYtH7rJldE1z u/1ag2TbylglD39pRTKvzWQ5GmiQDvtmbnFfFOpQOBpxGcLdM2FaVx3cvFd1oDChoD nHRB1KRhMSSMI0JvtioTjAfu3B83cn1KwXdibMYlB7yGBR1HT2BUw+Ax9vi7loDFIj SPmtyFfx+G5mfk4aft5lYH70WZcnCEkBnEMr7sFkVLcuKBg8bYEWtDz0ymcreOiOSt q7s7g1jtf3ZXw== Original-Received: by ore.jhcloos.com (Postfix, from userid 10) id 119241E5F4; Fri, 10 Jun 2022 08:50:09 +0000 (UTC) Original-Received: by carbon.jhcloos.org (Postfix, from userid 500) id 22255D57C72; Fri, 10 Jun 2022 08:50:02 +0000 (UTC) In-Reply-To: (Duncan Findlay's message of "Thu, 9 Jun 2022 22:49:18 -0700") Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu QmCC Copyright: Copyright 2022 James Cloos OpenPGP: 0x997A9F17ED7DAEA6; url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 25 Received-SPF: pass client-ip=192.40.56.151; envelope-from=cloos@jhcloos.com; helo=ore.jhcloos.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290994 Archived-At: >>>>> "DF" == Duncan Findlay writes: DF> I would like the primary selection to be updated with the contents of DF> the region, as described here: DF> https://www.gnu.org/software/emacs/manual/html_node/emacs/Primary-Selection.html DF> This requires `select-active-regions' to be non-nil. Do you have this DF> set in your configuration? select-active-regions is an insufficient requirement. there also needs to be a var to prevent it w/o affectig anything else. it is a cool idea, and it will be great for those who want it. but i'm not alone in hating when applications running in terminals screw over the way primary/secondary/clipboard normally work in said terminals. so kudos, but a var to enable it at all, independent of any need for select-active-regions to be t, is required. whether it defaults to t or to nil is ok either way. but it is needed. -JimC -- James Cloos OpenPGP: 0x997A9F17ED7DAEA6