From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: [EPeterson@mcdonaldbradley.com: Kill ring leak in winemacs macros] Date: Tue, 16 Aug 2005 08:07:03 -0700 (PDT) Message-ID: <40280.128.165.123.83.1124204823.squirrel@webmail.lanl.gov> 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> Reply-To: herring@lanl.gov NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1124205907 15771 80.91.229.2 (16 Aug 2005 15:25:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Aug 2005 15:25:07 +0000 (UTC) Cc: Kevin Rodgers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 16 17:25:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E53HB-0003be-1b for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2005 17:22:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E53Kb-0007ei-7r for ged-emacs-devel@m.gmane.org; Tue, 16 Aug 2005 11:26:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E53Fn-0005an-5D for emacs-devel@gnu.org; Tue, 16 Aug 2005 11:21:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E53Fh-0005Wu-Io for emacs-devel@gnu.org; Tue, 16 Aug 2005 11:21:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E53Fe-0005Pj-Ms for emacs-devel@gnu.org; Tue, 16 Aug 2005 11:21:18 -0400 Original-Received: from [192.65.95.54] (helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E53HS-0007DU-Id for emacs-devel@gnu.org; Tue, 16 Aug 2005 11:23:10 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher-b.lanl.gov (8.12.11/8.12.11/(ccn-5)) with ESMTP id j7GF78MS017264 for ; Tue, 16 Aug 2005 09:07:08 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (8.12.11/8.12.11/(ccn-5)) with ESMTP id j7GF73LP032478; Tue, 16 Aug 2005 09:07:03 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11/8.12.11) with ESMTP id j7GF7313022797; Tue, 16 Aug 2005 09:07:03 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11/8.12.11/Submit) id j7GF73Md022795; Tue, 16 Aug 2005 08:07:03 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.83 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Tue, 16 Aug 2005 08:07:03 -0700 (PDT) In-Reply-To: Original-To: emacs-devel@gnu.org User-Agent: SquirrelMail/1.4.4-2 X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 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:42130 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42130 Kevin Rodgers wrote: > > Then `kill-new', `kill-append', and `current-kill' would be modified to > > ignore `interprogram-*-function' if `macro-private-kills' is set and a > > keyboard macro is executing. > > It would be simpler to temporarily bind the interprogram-*-functions > variables to nil in execute-kbd-macro. I realize I never did implement this -- can I get some opinions on which of these approaches to follow? So far my reasoning is that the execute-kbd-macro path is simpler and cleaner, but the kill-functions path is more transparent (as well as having the trivial advantage that it would remain possible to permanently affect the interprogram-*-functions variables from a keyboard macro). Davis Herring -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.