From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: holidays.el Date: Thu, 23 Sep 2004 17:08:41 +0100 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <5fu0tpga0n.fsf@xpc14.ast.cam.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095955769 14365 80.91.229.6 (23 Sep 2004 16:09:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2004 16:09:29 +0000 (UTC) Cc: =?iso-8859-1?q?H=E5kon_Malmedal?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 23 18:09:16 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAW9j-000254-00 for ; Thu, 23 Sep 2004 18:09:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAWFk-0003vG-W1 for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2004 12:15:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAWFc-0003uZ-3P for emacs-devel@gnu.org; Thu, 23 Sep 2004 12:15:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAWFa-0003tq-B5 for emacs-devel@gnu.org; Thu, 23 Sep 2004 12:15:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAWFa-0003tZ-9U for emacs-devel@gnu.org; Thu, 23 Sep 2004 12:15:18 -0400 Original-Received: from [131.111.8.134] (helo=ppsw-4.csi.cam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CAW9K-0005xW-IO for emacs-devel@gnu.org; Thu, 23 Sep 2004 12:08:50 -0400 Original-Received: from cass41.ast.cam.ac.uk ([131.111.69.186]:55487) by ppsw-4.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.144]:25) with esmtp (Exim 4.34) id 1CAW9C-0004yc-OG (return-path ); Thu, 23 Sep 2004 17:08:42 +0100 Original-Received: from xserv1.ast.cam.ac.uk (IDENT:RxXyFbYwTTnW5f4migJa3v8SOXj7ugGI@xserv1.ast.cam.ac.uk [131.111.69.235]) by cass41.ast.cam.ac.uk (8.12.10+Sun/8.12.10) with ESMTP id i8NG8gse001588; Thu, 23 Sep 2004 17:08:42 +0100 (BST) Original-Received: from xserv1.ast.cam.ac.uk (IDENT:/FNKhel2zmXxjKc9IGLmbIX7NHKT48Wc@xpc14.ast.cam.ac.uk [131.111.69.34]) by xserv1.ast.cam.ac.uk (8.11.6/8.11.6) with ESMTP id i8NG8fq31979; Thu, 23 Sep 2004 17:08:42 +0100 Original-To: storm@cua.dk (Kim F. Storm) X-Spook: ASG radar freedom US Airways Steyr George W Bush Area 51 X-Attribution: GM Mail-Followup-To: storm@cua.dk (Kim F. Storm), emacs-devel@gnu.org, =?iso-8859-1?q?H=E5kon_Malmedal?= In-Reply-To: (Kim F. Storm's message of "Thu, 23 Sep 2004 12:28:21 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27496 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27496 Kim F. Storm wrote: > It involves taking 40 lines from a function in holidays.el and > change them into a form suitable for initializing a defcustom in > calender.el. > > I agree that the 'transformation' is repetitive/mechanical, and the > end-result is functionally equivalent to the original code. Still, > the change involves more than just "moving" code. Okay, slightly more than just moving; but most of the 40-odd lines can be described as "do the same simple transformation 20 or so times". I thought that 40 -> 2 (effectively) in such cases? Though I can't find the reference at present for why I though that...