From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: transpose-regions Date: Sat, 24 Mar 2007 13:24:24 -0700 Message-ID: <87vegqcruv.fsf@red-bean.com> References: <46026277.7060305@gmx.at> <87zm64kau0.fsf@stupidchicken.com> <87ircst5jn.fsf@stupidchicken.com> Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174767881 4024 80.91.229.12 (24 Mar 2007 20:24:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2007 20:24:41 +0000 (UTC) Cc: Andreas Schwab , Chong Yidong , emacs-devel , martin rudalics , "Kim F. Storm" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 24 21:24:34 2007 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 1HVCmw-0005yc-9a for ged-emacs-devel@m.gmane.org; Sat, 24 Mar 2007 21:24:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVCoz-0007zW-7m for ged-emacs-devel@m.gmane.org; Sat, 24 Mar 2007 15:26:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVCow-0007vA-5f for emacs-devel@gnu.org; Sat, 24 Mar 2007 16:26:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVCov-0007uI-72 for emacs-devel@gnu.org; Sat, 24 Mar 2007 16:26:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVCov-0007u8-2Q for emacs-devel@gnu.org; Sat, 24 Mar 2007 15:26:37 -0500 Original-Received: from sanpietro.red-bean.com ([66.146.193.61]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HVCmr-0000up-BT for emacs-devel@gnu.org; Sat, 24 Mar 2007 16:24:29 -0400 Original-Received: from localhost ([127.0.0.1]:58274 ident=kfogel) by sanpietro.red-bean.com with esmtp (Exim 4.63) (envelope-from ) id 1HVCmn-00048a-Kt; Sat, 24 Mar 2007 15:24:25 -0500 In-Reply-To: (Stefan Monnier's message of "Fri\, 23 Mar 2007 12\:42\:00 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-detected-kernel: Linux 2.6 (newer, 3) 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:68498 Archived-At: Stefan Monnier writes: > Personally, I think the best solution is to rewrite transpose-regions in > Lisp. After all, it's only called from gnus/deuglify.el and from > games/hanoi.el (and interactively as well, of course). By the way, there's some third-party code that uses it, in non-interactive loops IIRC. (http://www.red-bean.com/ale/ is one such, I don't know if there are others.)