emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: using cl-lib Was: [bug?][ob-core] using remove-if
Date: Wed, 31 Jul 2013 09:37:39 -0600	[thread overview]
Message-ID: <871u6e2118.fsf_-_@gmail.com> (raw)
In-Reply-To: <8761vs507f.fsf@gmail.com> (Aaron Ecay's message of "Mon, 29 Jul 2013 21:02:44 -0400")

Aaron Ecay <aaronecay@gmail.com> 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 ‘cl-’
> 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,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte
PGP: 0x614CA05D

      reply	other threads:[~2013-07-31 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30  0:09 [bug?][ob-core] using remove-if Rasmus
2013-07-30  0:28 ` Eric Schulte
2013-07-30  0:56   ` Rasmus
2013-07-30  1:02   ` Aaron Ecay
2013-07-31 15:37     ` Eric Schulte [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871u6e2118.fsf_-_@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).