From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: moving more cl seq/mapping support into core Date: Sat, 25 Sep 2010 07:42:44 -0700 Message-ID: <7DEE67615141433C8FE87DBFE1DE88E8@us.oracle.com> References: <87sk0y1i18.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285425836 24412 80.91.229.12 (25 Sep 2010 14:43:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 14:43:56 +0000 (UTC) To: "'Miles Bader'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 25 16:43:54 2010 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.69) (envelope-from ) id 1OzVyk-0001Vv-LK for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2010 16:43:54 +0200 Original-Received: from localhost ([127.0.0.1]:37025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzVyk-0006Yk-2K for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2010 10:43:54 -0400 Original-Received: from [140.186.70.92] (port=41674 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzVyY-0006YV-TC for emacs-devel@gnu.org; Sat, 25 Sep 2010 10:43:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzVyU-000873-D2 for emacs-devel@gnu.org; Sat, 25 Sep 2010 10:43:43 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:41374) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzVyP-00086O-3r; Sat, 25 Sep 2010 10:43:33 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8PEhS3S015820 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 25 Sep 2010 14:43:30 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8P7ibZE006774; Sat, 25 Sep 2010 14:43:27 GMT Original-Received: from abhmt013.oracle.com by acsmt355.oracle.com with ESMTP id 636548781285425762; Sat, 25 Sep 2010 07:42:42 -0700 Original-Received: from dradamslap1 (/10.159.219.31) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 25 Sep 2010 07:42:42 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87sk0y1i18.fsf@catnip.gol.com> Thread-Index: Actcdr5fqsQAPPeXTEaQEvB0a4zNFAAR8n3g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/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:130847 Archived-At: > For instance, `remove-if' is obviously useful (I think it's > often one of those "I use cl.el for that function" functions), not > complex, and could probably be moved into the core in some > simplified form. > > Suggested function signature: (remove-if PREDICATE SEQ [TEST]) -- and > of course, change the cl.el version to deal with TEST as well. +1 for remove-if(-not) But I don't know what you meant by TEST. AFAIK, the CL signature is this: remove-if PREDICATE SEQ &key :from-end :start :end :count :key Maybe you were thinking of `remove', which has `:test'?