From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: using cl-lib Was: [bug?][ob-core] using remove-if Date: Wed, 31 Jul 2013 09:37:39 -0600 Message-ID: <871u6e2118.fsf_-_@gmail.com> References: <87d2q07vsk.fsf@gmx.us> <87fvuwuc04.fsf@gmail.com> <8761vs507f.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4YVu-0003kp-Mu for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 11:40:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4YVo-0002ex-Mo for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 11:40:34 -0400 Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]:56989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4YVo-0002eT-Gd for emacs-orgmode@gnu.org; Wed, 31 Jul 2013 11:40:28 -0400 Received: by mail-ob0-f176.google.com with SMTP id uz19so1671173obc.35 for ; Wed, 31 Jul 2013 08:40:27 -0700 (PDT) In-Reply-To: <8761vs507f.fsf@gmail.com> (Aaron Ecay's message of "Mon, 29 Jul 2013 21:02:44 -0400") 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: Rasmus Cc: emacs-orgmode@gnu.org Aaron Ecay writes: > There is light at the end of this tunnel: emacs 24.3 introduced the > cl-lib package, making cl functions canonically available with a =E2=80= =98cl-=E2=80=99 > prefix. So once emacs 26 is out (and support for emacs 24.[12] is > dropped), org can use the cl- versions > Great, so long term we will be able to drop all of the org-* versions of cl-* functions. I wasn't aware, thanks for sharing. > > cl-lib is also on GNU ELPA, so org could decide to start using it today > as long as that external dependency is properly handled. I personally find this very appealing. I see the following benefits and drawbacks. Benefits: 1. we could use the full power of cl-* functions and macros 2. we could remove all of the org-* re-writes of cl-* functions reducing the amount of code we have to maintain, and 3. we will presumably be making this change anyway at some point down the line (whenever Emacs 26 is released) Drawbacks: 1. it adds another step (installing cl-lib) to Org-mode installation on the great majority of systems 2. it adds a dependency for Org-mode instillation, also, if cl-lib doesn't support some of the targets currently supported by Org-mode (e.g., maybe Emacs23 or XEmacs) 3. if Org-mode is loaded in Emacs by default, then that would mean that cl-lib would also need to be loaded in Emacs by default, would that be okay with the Emacs maintainers? I'm sure I'm missing other points. I guess for now at least the drawbacks probably out-weight the benefits, but I look forward to when we do make this transition. Cheers, --=20 Eric Schulte http://cs.unm.edu/~eschulte PGP: 0x614CA05D