From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: [bug?][ob-core] using remove-if Date: Tue, 30 Jul 2013 02:09:47 +0200 Message-ID: <87d2q07vsk.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3xVx-0000L4-Iq for emacs-orgmode@gnu.org; Mon, 29 Jul 2013 20:10:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3xVp-0005F7-GH for emacs-orgmode@gnu.org; Mon, 29 Jul 2013 20:10:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:56890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3xVp-0005Dg-9G for emacs-orgmode@gnu.org; Mon, 29 Jul 2013 20:10:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V3xVm-0007zL-Pz for emacs-orgmode@gnu.org; Tue, 30 Jul 2013 02:09:58 +0200 Received: from e178251250.adsl.alicedsl.de ([85.178.251.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Jul 2013 02:09:58 +0200 Received: from rasmus by e178251250.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Jul 2013 02:09:58 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Regarding this commit: commit 3142297d69f6063221215757a3ba9c74adcf3e43 Author: Eric Schulte Date: Fri Jul 26 11:48:51 2013 -0600. remove-if is introduced in ob-core.el: (setf (cdr (assoc param params)) (remove-if (lambda (pair) (equal (car pair) name)) (cdr (assoc param params)))) (setf params (remove-if (lambda (pair) (and (equal (car pair) param) (null (cdr pair)))) I personally don't care too much if Org depends on cl, but it breaks async export since cl is usually not loaded. Thus, I guess it should (i) either be changed to org-remove-if or there should be an autoload to remove-if. I don't feel very comfortable about messing with ob-core ob-core and I don't know if org-remove-if is a drop-in replacement of remove-if so I havne't made a patch. –Rasmus -- Don't panic!!!