From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: select-active-regions Date: Sat, 18 Jul 2009 16:54:26 +0300 Message-ID: <83skgup04t.fsf@gnu.org> References: <83zlb2p79y.fsf@gnu.org> <4A61D0F6.5040901@harpegolden.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247925285 17156 80.91.229.12 (18 Jul 2009 13:54:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jul 2009 13:54:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 18 15:54:38 2009 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.50) id 1MSAN2-0001wA-Oz for ged-emacs-devel@m.gmane.org; Sat, 18 Jul 2009 15:54:37 +0200 Original-Received: from localhost ([127.0.0.1]:41588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSAN2-00011s-9z for ged-emacs-devel@m.gmane.org; Sat, 18 Jul 2009 09:54:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSAMv-0000y5-NR for emacs-devel@gnu.org; Sat, 18 Jul 2009 09:54:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSAMu-0000wK-VQ for emacs-devel@gnu.org; Sat, 18 Jul 2009 09:54:29 -0400 Original-Received: from [199.232.76.173] (port=42771 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSAMu-0000vy-OS for emacs-devel@gnu.org; Sat, 18 Jul 2009 09:54:28 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:60091 helo=mtaout3.012.net.il) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSAMu-0002H9-6w for emacs-devel@gnu.org; Sat, 18 Jul 2009 09:54:28 -0400 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KMZ00L00D131B00@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Sat, 18 Jul 2009 16:54:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.70.207.26]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KMZ00B1NDAPCJL0@i_mtaout3.012.net.il>; Sat, 18 Jul 2009 16:54:26 +0300 (IDT) In-reply-to: <4A61D0F6.5040901@harpegolden.net> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:112681 Archived-At: > Date: Sat, 18 Jul 2009 14:41:10 +0100 > From: David De La Harpe Golden > CC: emacs-devel@gnu.org > > In general, enabling select-active-regions at all on platforms that > don't have a true primary selection may not make an immense amount of > sense Why not? they should put the region text into the clipboard instead, IMO. > I see your fix to lisp/term/pc-win.el , but it is not doing the right > thing as far as I can see (no way for me to test. Well > I suppose I could install FreeDOS, but I'm not aware of a free w16 layer > for it). If w16 has no OS-level concept of primary (I very much doubt > it does, though I can't say I'm familiar with it), then: > > (x-set-selection 'PRIMARY value) > ;should just stash value somewhere What would be the purpose of stashing the value ``somewhere''? The NEWS entry says: *** If `select-active-regions' is t, setting the mark automatically makes the new region into the primary selection (for interaction with other window applications). How can Emacs interact with other applications, if we just stash the value in some internal variable? How about if you explain (in more detail than available in the current documentation) what this feature is supposed to do, and which use-cases it is supposed to support? Maybe then I will be able to see why my code in pc-win.el is wrong.