From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: request for a new function, say, `sequence' Date: Wed, 26 Mar 2003 18:09:01 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200303270009.SAA27161@eel.dms.auburn.edu> References: <200303230302.MAA04327@etlken.m17n.org> <200303241541.h2OFfbpa011227@rum.cs.yale.edu> <200303250015.JAA06592@etlken.m17n.org> <200303250050.JAA06631@etlken.m17n.org> <200303250057.h2P0vBj6016367@rum.cs.yale.edu> <200303250125.KAA06703@etlken.m17n.org> <32627.1048557446@theforce.Stanford.EDU> <200303250208.LAA06802@etlken.m17n.org> <1191.1048560083@theforce.Stanford.EDU> <200303250446.NAA06974@etlken.m17n.org> <200303251527.h2PFR0lO018653@rum.cs.yale.edu> <200303261544.h2QFi4i4022332@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048724258 25719 80.91.224.249 (27 Mar 2003 00:17:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2003 00:17:38 +0000 (UTC) Cc: handa@m17n.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 27 01:17:37 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18yL5N-0006gg-00 for ; Thu, 27 Mar 2003 01:17:37 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18yL6z-0008D6-00 for ; Thu, 27 Mar 2003 01:19:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18yL1o-0000DQ-05 for emacs-devel@quimby.gnus.org; Wed, 26 Mar 2003 19:13:56 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18yKxu-0007Aw-00 for emacs-devel@gnu.org; Wed, 26 Mar 2003 19:09:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18yKwa-0005tT-00 for emacs-devel@gnu.org; Wed, 26 Mar 2003 19:08:33 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18yKwC-0005aw-00 for emacs-devel@gnu.org; Wed, 26 Mar 2003 19:08:08 -0500 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) h2R081B02395; Wed, 26 Mar 2003 18:08:01 -0600 (CST) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id SAA27161; Wed, 26 Mar 2003 18:09:01 -0600 (CST) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-reply-to: <200303261544.h2QFi4i4022332@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) Original-cc: emacs-devel@gnu.org Original-cc: monnier+gnu/emacs@rum.cs.yale.edu X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12646 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12646 Stefan Monnier wrote: I still hope we'll get a chance to change dotimes since it is frequent to need something like dotimes but that starts at something else than 0. What exactly do you propose: (1) Extend dotimes to accept syntax like (dotimes (var (start end) [result]) body...) or: (2) Have a new macro named dorange, dofor, for (or whatever) with syntax like: (dorange (var start end [result]) body...) It would seem like either would be easy to implement, the only question for (2) is the exact need. For (1) there is the extra problem of messing with the syntax of a well known Common Lisp function, although the fact that any valid CL syntax would still be valid and have the exact same effect makes the problem less bad. Sincerely, Luc. '