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: [EPeterson@mcdonaldbradley.com: Kill ring leak in winemacs macros] Date: Thu, 04 Aug 2005 06:55:03 +0300 Message-ID: References: <34161.128.165.123.83.1123097221.squirrel@webmail.lanl.gov> <42F1208D.1070307@student.lu.se> <34340.128.165.123.83.1123102769.squirrel@webmail.lanl.gov> <42F139F0.8090100@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1123128296 27919 80.91.229.2 (4 Aug 2005 04:04:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Aug 2005 04:04:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 04 06:04:55 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E0Wy3-0001yh-2A for ged-emacs-devel@m.gmane.org; Thu, 04 Aug 2005 06:04:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E0X0p-0003Zy-N3 for ged-emacs-devel@m.gmane.org; Thu, 04 Aug 2005 00:07:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E0WvA-0000Yn-Nk for emacs-devel@gnu.org; Thu, 04 Aug 2005 00:01:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E0Wuw-0000PB-PZ for emacs-devel@gnu.org; Thu, 04 Aug 2005 00:01:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E0Wuw-0000NE-5y for emacs-devel@gnu.org; Thu, 04 Aug 2005 00:01:14 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E0X1l-0000M8-4v for emacs-devel@gnu.org; Thu, 04 Aug 2005 00:08:17 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-250-124.inter.net.il [83.130.250.124]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CAO56784 (AUTH halo1); Thu, 4 Aug 2005 06:55:02 +0300 (IDT) Original-To: Lennart Borgman In-reply-to: <42F139F0.8090100@student.lu.se> (message from Lennart Borgman on Wed, 03 Aug 2005 23:41:04 +0200) 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:41478 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41478 > Date: Wed, 03 Aug 2005 23:41:04 +0200 > From: Lennart Borgman > Cc: emacs-devel@gnu.org > > Stuart D. Herring wrote: > > >>Is not the variable `x-select-enable-clipboard' for this? > >> > >> > > > >No, that enables the use of the X "clipboard selection" in addition to the > >X "primary selection", and is only relevant on X (not Windows, which has a > >clipboard but doesn't have "selections"). The variables > >`interprogram-cut-function' and `interprogram-paste-function' can be set > >to nil to suppress the synchronization, but this isn't just a > >customization issue (as in "this isn't a problem, you should set X to Y") > >because the issue only arises during keyboard macro execution. If we want > >to support this, presumably we want a new variable thusly: > > > > > I believe you can do (setq x-select-enable-clipboard nil) on MS Windows > too to avoid sync with Windows clipboard. That's because on Windows, there's _only_ the clipboard. On other systems, you need to use the interprogram-* vars. So Stuart is correct, I think: one needs to use the interprogram-* vars so that this works on all supported systems.