all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Ivan Kanis <ivan.kanis@googlemail.com>
Cc: emacs devel <emacs-devel@gnu.org>
Subject: Re: is requiring cl bad?
Date: Sun, 16 Dec 2012 12:06:57 -0500	[thread overview]
Message-ID: <jwv62427wt3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <874njm2vlx.fsf@kanis.fr> (Ivan Kanis's message of "Sun, 16 Dec 2012 10:29:30 +0100")

> I was under the impression that requiring cl was bad (TM).  I can't
> remember why.  Is it still so?

The CL package is unclean w.r.t to its use of the namespace.  Using its
macros is tolerated because it only imposes this namespace mess during
byte-compilation of your package, but using its functions imposes the
mess during actual use of your package.

24.3 finally provides an alternative: `cl-lib' which offers the
same functionality but in a namespace-clean way (i.e. using a "cl-"
prefix everywhere).


        Stefan



  parent reply	other threads:[~2012-12-16 17:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16  9:29 is requiring cl bad? Ivan Kanis
2012-12-16 10:14 ` Xue Fuqiao
2012-12-16 10:26   ` Pascal J. Bourguignon
2012-12-16 10:36     ` Xue Fuqiao
2012-12-16 11:00   ` Ivan Kanis
2012-12-16 17:06 ` Stefan Monnier [this message]
2012-12-17 19:09   ` Pascal J. Bourguignon
2012-12-18  1:58     ` Tony Day
2012-12-20  4:46     ` David De La Harpe Golden
2012-12-20  5:20       ` Ivan Kanis
2012-12-20  9:16       ` Helmut Eller
2012-12-21  7:05         ` David De La Harpe Golden
2012-12-21  9:24           ` Helmut Eller
2012-12-17 20:58   ` Ivan Kanis
2012-12-18  4:04     ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=jwv62427wt3.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=ivan.kanis@googlemail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.