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 08:55:15 -0700 Message-ID: References: <87sk0y1i18.fsf@catnip.gol.com><7DEE67615141433C8FE87DBFE1DE88E8@us.oracle.com><7B99087F2F72472DA0740D54DB71A408@us.oracle.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 1285430153 8290 80.91.229.12 (25 Sep 2010 15:55:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 15:55:53 +0000 (UTC) To: "'Leo'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 25 17:55:51 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 1OzX6N-0000MH-Fa for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2010 17:55:51 +0200 Original-Received: from localhost ([127.0.0.1]:43543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzX6N-0006u1-1d for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2010 11:55:51 -0400 Original-Received: from [140.186.70.92] (port=50731 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzX6H-0006tv-5d for emacs-devel@gnu.org; Sat, 25 Sep 2010 11:55:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzX6D-0001oT-LD for emacs-devel@gnu.org; Sat, 25 Sep 2010 11:55:45 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:18763) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzX6D-0001oG-F7 for emacs-devel@gnu.org; Sat, 25 Sep 2010 11:55:41 -0400 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8PFtabT024824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 25 Sep 2010 15:55:38 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8PAxkLC003170; Sat, 25 Sep 2010 15:55:36 GMT Original-Received: from abhmt021.oracle.com by acsmt355.oracle.com with ESMTP id 629963991285430113; Sat, 25 Sep 2010 08:55:13 -0700 Original-Received: from dradamslap1 (/10.159.219.31) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 25 Sep 2010 08:55:13 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Actcxr6HtS4RDKq+R9+/lF9Rqo+MBQAAnlOw 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:130857 Archived-At: > > Sorry, I don't get it. What is TEST for? It is typically > > for a binary predicate such as `equal' - but we already have > > PREDICATE here. And just what is second class here (if TEST > > is not added)? > > `remove-if' as defined in cl.el can not be used in a package > intended to be included in GNU Emacs due to the use of cl run > time functions. > > So to move this function into elisp Miles (I think) proposed that we > give up some of its keyword arguments since they mostly are > not used and turned the keyword :test argument into an optional one. We are not communicating, I think. At least I am not understanding you. Turned what :test argument into an optional one? There is _no_ :test argument to `remove-if' (in CL). Do you perhaps mean :key? Sorry, I don't follow you at all. Again, AFAIK, this is the CL sig: remove-if PREDICATE SEQ &key :from-end :start :end :count :key