From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp Date: Wed, 13 Sep 2017 08:40:40 -0400 Message-ID: References: <20170912151313.7686.92637@vcs0.savannah.gnu.org> <20170912151315.C449D2087D@vcs0.savannah.gnu.org> <20170912172125.GA10696@holos.localdomain> <874ls7uull.fsf@lylat> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1505306508 14052 195.159.176.226 (13 Sep 2017 12:41:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2017 12:41:48 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Mark Oteiza , emacs-devel@gnu.org To: Alex Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 13 14:41:41 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ds6z7-0003TG-Ar for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2017 14:41:41 +0200 Original-Received: from localhost ([::1]:42264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ds6zE-0003wZ-OJ for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2017 08:41:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ds6yS-0003u2-Az for emacs-devel@gnu.org; Wed, 13 Sep 2017 08:41:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ds6yC-0004aW-Mj for emacs-devel@gnu.org; Wed, 13 Sep 2017 08:41:00 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:52198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ds6yC-0004ZC-Ii for emacs-devel@gnu.org; Wed, 13 Sep 2017 08:40:44 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v8DCeeS0023929; Wed, 13 Sep 2017 08:40:40 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3E2D066271; Wed, 13 Sep 2017 08:40:40 -0400 (EDT) In-Reply-To: <874ls7uull.fsf@lylat> (Alex's message of "Tue, 12 Sep 2017 21:48:38 -0600") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6115=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6115> : inlines <6065> : streams <1762831> : uri <2499695> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218183 Archived-At: > According to [1] (page 53), MACLISP didn't have a visible > gensym-counter, and instead used an integer argument to gensym to allow > programs to set an internal counter. According to [2], it was only > decided in 1989 to have *gensym-counter* in CL, so before then having an > integer argument made sense if you wanted to manipulate the gensym > state. An integer arg that lets you set the internal counter makes some sense, yes. But the integer arg implements in cl-lib.el (and in clisp, FWIW) does not affect the internal counter. > but I wonder if people who use an integer argument here are the type > of people to use `cl' instead of `cl-lib'. I think using the plural here is rather optimistic. I'd already be surprised if there's even just one user of that functionality. Stefan