From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: Working Around for cl-count Date: Thu, 29 Nov 2012 23:51:39 +0400 Message-ID: <8738zs427o.fsf@yandex.ru> References: <50B78818.7080906@gmail.com> <0C73A16D723C4DFDB090A66D0FBD389E@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354218717 15159 80.91.229.3 (29 Nov 2012 19:51:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2012 19:51:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, 'Stefan Monnier' To: "Drew Adams" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 29 20:52:10 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 1TeA9V-0000ur-Uh for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 20:52:06 +0100 Original-Received: from localhost ([::1]:36223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeA9K-0008Kd-KI for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 14:51:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeA9F-0008KP-Cp for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 14:51:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TeA9E-0006KJ-D0 for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 14:51:49 -0500 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:32866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeA9E-0006K3-3R for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 14:51:48 -0500 Original-Received: by mail-lb0-f169.google.com with SMTP id gk1so13211330lbb.0 for ; Thu, 29 Nov 2012 11:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=WdGyO3s0nbGfBN+/dMOyCa/fJaBLpfQ7/x1Qy+NHYjE=; b=HlDfWcmEbZYE3BXlgH0PyT3M27FX0npMEDSTlcxirlQ2WqF13baAADbowAmkBA7sce azf9o6ohxzZqt/Ex8SGzGpGoa/U5P3omsWBM40pKjqPTECl8HXFXewDqqZFNC1s5rbll YFVUOttEga+MtioAbawqE9iJ7m3SpSyXguCh5QA2WbUO/w6fB6BOQrjmwVzKB6L8Kxof 1u0vzKivxKPDlsLexE344TVjzrOhAmich6KnhfRiPXVj0KC+YGUY97Jc5P0KMhIaHwZ0 40wxbJXr5W33m+Tya4rxEc2CIfX2UvxXamiCwOT2Zvt8Smv7x4QF6VUGoOZ92nwYd6Lz kzqw== Original-Received: by 10.112.28.133 with SMTP id b5mr7091432lbh.79.1354218706356; Thu, 29 Nov 2012 11:51:46 -0800 (PST) Original-Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPS id q2sm1190464lbd.14.2012.11.29.11.51.43 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Nov 2012 11:51:44 -0800 (PST) In-Reply-To: <0C73A16D723C4DFDB090A66D0FBD389E@us.oracle.com> (Drew Adams's message of "Thu, 29 Nov 2012 10:45:33 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.217.169 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:87954 Archived-At: "Drew Adams" writes: >> >> 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.