From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: [EPeterson@mcdonaldbradley.com: Kill ring leak in winemacs macros] Date: Wed, 03 Aug 2005 23:41:04 +0200 Message-ID: <42F139F0.8090100@student.lu.se> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123106451 9570 80.91.229.2 (3 Aug 2005 22:00:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Aug 2005 22:00:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 04 00:00:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E0RHp-0002G3-1C for ged-emacs-devel@m.gmane.org; Thu, 04 Aug 2005 00:00:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E0RKa-0004ES-TG for ged-emacs-devel@m.gmane.org; Wed, 03 Aug 2005 18:03:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E0RJm-0003mY-Vs for emacs-devel@gnu.org; Wed, 03 Aug 2005 18:02:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E0RJh-0003kP-QC for emacs-devel@gnu.org; Wed, 03 Aug 2005 18:02:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E0RJg-0003eC-PF for emacs-devel@gnu.org; Wed, 03 Aug 2005 18:02:24 -0400 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E0RBi-00074S-Fm for emacs-devel@gnu.org; Wed, 03 Aug 2005 17:54:10 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout1-sn2.hy.skanova.net (7.2.060.1) id 42BFBBD2005CF38F; Wed, 3 Aug 2005 23:41:04 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: herring@lanl.gov In-Reply-To: <34340.128.165.123.83.1123102769.squirrel@webmail.lanl.gov> 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:41463 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41463 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. I just did a test, but that was with the CVS version (next version) of Emacs. That would mean that if you can set this during the execution of the keyboard macro then the bevaviour of kill-new etc would be as you want them too. Or am I seriously misunderstanding you? My apologizes in that case. Perhaps would it be convenient to put a defadvice around on execute-kbd-macro for this?