From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: moving more cl seq/mapping support into core Date: Sat, 25 Sep 2010 17:33:05 +0200 Organization: Organization?!? Message-ID: <87y6apvnwu.fsf@lola.goethe.zz> 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 X-Trace: dough.gmane.org 1285428808 3410 80.91.229.12 (25 Sep 2010 15:33:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 15:33:28 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 25 17:33:26 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 1OzWkf-00073u-3b for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2010 17:33:25 +0200 Original-Received: from localhost ([127.0.0.1]:59370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzWke-0000th-FG for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2010 11:33:24 -0400 Original-Received: from [140.186.70.92] (port=58691 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzWkW-0000sJ-Jv for emacs-devel@gnu.org; Sat, 25 Sep 2010 11:33:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzWkV-0006wz-Hp for emacs-devel@gnu.org; Sat, 25 Sep 2010 11:33:16 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56363) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzWkV-0006wp-CW for emacs-devel@gnu.org; Sat, 25 Sep 2010 11:33:15 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OzWkT-0006zA-9o for emacs-devel@gnu.org; Sat, 25 Sep 2010 17:33:13 +0200 Original-Received: from p508ebf48.dip.t-dialin.net ([80.142.191.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Sep 2010 17:33:13 +0200 Original-Received: from dak by p508ebf48.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Sep 2010 17:33:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p508ebf48.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:oFS6S36XIyfHO7u146Xh9d9uIPY= 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:130855 Archived-At: Leo writes: > On 2010-09-25 16:23 +0100, Drew Adams wrote: >> 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. I found that quite a few use cases can be dealt with by using the idiom (delq nil ...) instead. -- David Kastrup