From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: CL package serious deficiencies Date: Sat, 11 Feb 2012 23:41:07 -0500 Message-ID: References: <33271707.post@talk.nabble.com> <87fwemcwlx.fsf@spindle.srvr.nix> <87d39pgdu4.fsf@gnus.org> <87mx8qy09w.fsf@mithlond.arda> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329059686 10515 80.91.229.3 (12 Feb 2012 15:14:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2012 15:14:46 +0000 (UTC) Cc: Helmut Eller , emacs-devel@gnu.org To: Teemu Likonen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 16:14:45 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rwb8V-00012l-2V for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2012 16:14:43 +0100 Original-Received: from localhost ([::1]:49631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwb8U-0007fY-HV for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2012 10:14:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwb8R-0007fD-H4 for emacs-devel@gnu.org; Sun, 12 Feb 2012 10:14:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rwb8Q-0000VZ-Ek for emacs-devel@gnu.org; Sun, 12 Feb 2012 10:14:39 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:54163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rwb8Q-0000VG-9r for emacs-devel@gnu.org; Sun, 12 Feb 2012 10:14:38 -0500 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q1CFEYsJ030702; Sun, 12 Feb 2012 10:14:35 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 2FE46666EF; Sat, 11 Feb 2012 23:41:07 -0500 (EST) In-Reply-To: <87mx8qy09w.fsf@mithlond.arda> (Teemu Likonen's message of "Fri, 10 Feb 2012 21:08:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4129=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4129> : streams <727922> : uri <1064033> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148499 Archived-At: >> As for :start :end :from-end and :count, I've never even seen them >> used with delete-if. > Here's one example: > (defun delete-nth (n sequence) > (delete-if (constantly t) sequence :start n :count 1)) Two problems: 1- that can be implemented just as well with pop+nthcdr. 2- I can't remember seeing any code that needs such a functionality either. Stefan