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>, "'WJ'" <w_a_x_man@yahoo.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: Working Around for cl-count
Date: Fri, 30 Nov 2012 22:48:13 -0800	[thread overview]
Message-ID: <0DA8AF53F6FB49B4BB9D6C7017097DD0@us.oracle.com> (raw)
In-Reply-To: <87wqx2xxsf.fsf@yandex.ru>

> > "GNU Emacs 23.4.1 (i386-mingw-nt5.1.2600)
> > : (count 2 (number-sequence 1 22)
> >          :key (apply-partially 'gcd 4))
> > 6
> 
> Yes, it works.  Using unprefixed cl functions is
> is all sorts of deprecated, though, hence the recommendation.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^

I'm not sure exactly what WJ's point is, but NO, `count' is not at all
deprecated in Emacs 23.4, the version that WJ shows.

It is not even deprecated in 24.1 or 24.2!

`cl-lib.el', hence `cl-count', does not even exist yet, in any Emacs release!
It is being declared deprecated in the current pretest version of Emacs, which
will lead to release 24.3.

There is nothing wrong with thinking ahead.  But the OP made clear that his code
is intended for multiple Emacs versions (presumably including future releases),
and there is not yet ANY released version where `cl-count' even exists.  And WJ
specifically noted use of release 23.4.




  reply	other threads:[~2012-12-01  6:48 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
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 [this message]
     [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=0DA8AF53F6FB49B4BB9D6C7017097DD0@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=dgutov@yandex.ru \
    --cc=help-gnu-emacs@gnu.org \
    --cc=w_a_x_man@yahoo.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.