From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: [EPeterson@mcdonaldbradley.com: Kill ring leak in winemacs macros] Date: Tue, 16 Aug 2005 22:38:49 +0100 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> <40280.128.165.123.83.1124204823.squirrel@webmail.lanl.gov> <43020FDF.6060007@gnu.org> <41237.128.165.123.83.1124209899.squirrel@webmail.lanl.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1124228713 20474 80.91.229.2 (16 Aug 2005 21:45:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Aug 2005 21:45:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 16 23:45:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E59Eb-0001LV-4G for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2005 23:44:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E59I2-00017A-96 for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2005 17:48:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E59Gi-0000ks-NV for emacs-devel@gnu.org; Tue, 16 Aug 2005 17:46:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E59GZ-0000ey-Gk for emacs-devel@gnu.org; Tue, 16 Aug 2005 17:46:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E59GZ-0000dr-5S for emacs-devel@gnu.org; Tue, 16 Aug 2005 17:46:39 -0400 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1E59Pk-0005Qj-LM for emacs-devel@gnu.org; Tue, 16 Aug 2005 17:56:08 -0400 Original-Received: from wanchan.jasonrumney.net (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j7GLe1ch006058; Tue, 16 Aug 2005 22:40:01 +0100 Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id C2F7EDDD72; Tue, 16 Aug 2005 22:40:00 +0100 (BST) Original-To: herring@lanl.gov In-Reply-To: <41237.128.165.123.83.1124209899.squirrel@webmail.lanl.gov> (Stuart D. Herring's message of "Tue, 16 Aug 2005 09:31:39 -0700 (PDT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) 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:42155 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42155 "Stuart D. Herring" writes: > Moreover, this whole change would be optional (customizable), so the > user of any such macro could turn off that option OK. I don't expect my hypothetical case will come up often, but it is possible. I just wanted to make sure that simply binding some variables to nil was not the final solution to this. > One point, remains, though: Richard said he wanted the kill-ring > re-synchronized with the external world at the end of a keyboard macro > that desynched them; I guess that would have to go in execute-kbd-macro. > But what should happen if both Emacs and the window system have new text > at that point (where no ordering exists between them)? Leave the clipboard alone in such a case.