all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Dmitry Gutov'" <dgutov@yandex.ru>
Cc: help-gnu-emacs@gnu.org, 'Stefan Monnier' <monnier@iro.umontreal.ca>
Subject: RE: Working Around for cl-count
Date: Thu, 29 Nov 2012 12:47:19 -0800	[thread overview]
Message-ID: <E9263DBC60014E3EA624190B4E300D86@us.oracle.com> (raw)
In-Reply-To: <8738zs427o.fsf@yandex.ru>

> >> >> Versions of Emacs less than version 24.2 complain about 
> >> >> the lack of `cl-count`.
> >> >
> >> > In older versions, `cl-count' is called `count'.
> >> > Use something like this:
> >> > (if (fboundp 'cl-count) #'cl-count #'count)
> >> 
> >> Or use the `cl-lib' package that's on GNU ELPA.
> >
> > You can't do that if your code that calls `cl-count' is 
> > used by others.
> >
> > What are you going to do?  Tell users of your code who have 
> > Emacs < 24.2 that they must download `cl-lib' from GNU ELPA
> > and put it in their `load-path'?  Or download it yourself
> > and bundle that package with your code?
> 
> You publish your code as package to one of the ELPA 
> repositories and add "cl-lib" as one of the dependencies.

So instead of fixing this at the source-code level, with just a few chars of
Lisp, you try to solve the problem at the distribution level: "Just use GNU
ELPA".

Have hammer, will see nails...




  reply	other threads:[~2012-11-29 20:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 16:06 Working Around for cl-count Eric James Michael Ritz
2012-11-29 17:54 ` Drew Adams
     [not found] ` <mailman.14064.1354211666.855.help-gnu-emacs@gnu.org>
2012-11-29 18:34   ` Stefan Monnier
2012-11-29 18:45     ` Drew Adams
2012-11-29 19:51       ` Dmitry Gutov
2012-11-29 20:47         ` Drew Adams [this message]
2012-11-29 21:01           ` Dmitry Gutov
2012-11-30  1:00           ` Stefan Monnier
2012-11-30  1:33             ` Drew Adams
     [not found]           ` <mailman.14089.1354222890.855.help-gnu-emacs@gnu.org>
2012-12-01  1:20             ` WJ
2012-12-01  3:21               ` Dmitry Gutov
2012-12-01  6:48                 ` Drew Adams
     [not found]               ` <mailman.14221.1354332086.855.help-gnu-emacs@gnu.org>
2012-12-01  7:12                 ` Helmut Eller
     [not found]     ` <mailman.14071.1354214747.855.help-gnu-emacs@gnu.org>
2012-11-29 19:51       ` 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=E9263DBC60014E3EA624190B4E300D86@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=dgutov@yandex.ru \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.