From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: CL package serious deficiencies Date: Wed, 8 Feb 2012 16:29:46 +0100 Message-ID: References: <33271707.post@talk.nabble.com> <87fwemcwlx.fsf@spindle.srvr.nix> <87zkcubbfc.fsf@spindle.srvr.nix> <87vcnibb9t.fsf@spindle.srvr.nix> <5tr4y6z2pv.fsf@fencepost.gnu.org> <87bopab5p6.fsf@spindle.srvr.nix> <87r4y5e910.fsf@gmx.com> <87liode8mu.fsf@gmx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328715055 14580 80.91.229.3 (8 Feb 2012 15:30:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2012 15:30:55 +0000 (UTC) Cc: Nix , egnarts-ms , Stefan Monnier , Drew Adams , Emacs-devel@gnu.org To: Eric Schulte Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 08 16:30:53 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 1Rv9Ts-0006zP-Dz for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2012 16:30:48 +0100 Original-Received: from localhost ([::1]:54530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rv9Tr-00085B-Qq for ged-emacs-devel@m.gmane.org; Wed, 08 Feb 2012 10:30:47 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rv9TN-0006ue-CQ for Emacs-devel@gnu.org; Wed, 08 Feb 2012 10:30:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rv9TF-0000eJ-NY for Emacs-devel@gnu.org; Wed, 08 Feb 2012 10:30:16 -0500 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:47059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rv9TF-0000d9-06 for Emacs-devel@gnu.org; Wed, 08 Feb 2012 10:30:09 -0500 Original-Received: by lamf4 with SMTP id f4so717880lam.0 for ; Wed, 08 Feb 2012 07:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=TFqR/iAdNoJ8LGHkgwXc2T1wk0Ac7qc8qmSK26wMj/Y=; b=gp5JZBBuvOYqj2oRuFWfiTz4XqxHt+NxqvTs2N0ihLjukChcTGm2BcMC7CmRkG3t4C 8GqCM1crevIQIXf6/FLD0D2eI37913JxNWw9bJsKRJWfxieD3xws6ARWoqBbxCOGaGqH 9ufHWzbL+fU0BVUZGqjdM0q/47PCy1B8r7Zbk= Original-Received: by 10.152.112.104 with SMTP id ip8mr15954888lab.15.1328715006224; Wed, 08 Feb 2012 07:30:06 -0800 (PST) Original-Received: by 10.112.12.6 with HTTP; Wed, 8 Feb 2012 07:29:46 -0800 (PST) In-Reply-To: <87liode8mu.fsf@gmx.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.41 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:148361 Archived-At: On Wed, Feb 8, 2012 at 14:51, Eric Schulte wrote: >>> >>> org-count >>> org-find-if >>> org-reduce >>> org-remove-if >>> org-remove-if-not >> >> I must be misremembering. Isn't it ok to use the cl functions here? >> (You would be using it in compiled code.) >> > > You are misremembering. =C2=A0If it were ok org, gnus, ert and widget wou= ld > not all have their own remove-if variants? Thanks. Or, I might be misunderstanding ;-) The manual says in D.1 Emacs Lisp Coding Conventions that However, there is no problem with using the `cl' package at compile time, with `(eval-when-compile (require 'cl))'. That's sufficient for using the macros in the `cl' package, because the compiler expands them before generating the byte-code. Is that not enough, or is it not applicable to code included in Emacs?