From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Working Around for cl-count Date: Thu, 29 Nov 2012 10:45:33 -0800 Message-ID: <0C73A16D723C4DFDB090A66D0FBD389E@us.oracle.com> References: <50B78818.7080906@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354214750 7128 80.91.229.3 (29 Nov 2012 18:45:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2012 18:45:50 +0000 (UTC) To: "'Stefan Monnier'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 29 19:46:02 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Te97a-0005Ck-Gk for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 19:46:02 +0100 Original-Received: from localhost ([::1]:60615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Te97O-00038s-SS for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 13:45:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Te97G-00038g-3c for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 13:45:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Te97B-00019m-SS for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 13:45:42 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:49325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Te97B-00019c-LT for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 13:45:37 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qATIjZJX017811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 29 Nov 2012 18:45:36 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qATIjYuA015696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Nov 2012 18:45:35 GMT Original-Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qATIjYtg020654; Thu, 29 Nov 2012 12:45:34 -0600 Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 29 Nov 2012 10:45:34 -0800 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 In-Reply-To: Thread-Index: Ac3OYEX8/N5dsKMOR9+X1rzoxxArhwAADVgg X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87950 Archived-At: > >> 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?