[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp
From: |
Alex |
Subject: |
Re: [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp |
Date: |
Thu, 28 Sep 2017 01:05:29 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Mark Oteiza <address@hidden> writes:
> On 13/09/17 at 08:40am, Stefan Monnier wrote:
>> > 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.
>
> Thanks for digging that up.
>
>> > 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.
>
> Only one way to find out! I suppose I'll apply the patch I sent earlier.
It doesn't really matter, but wouldn't it be a bit nicer if cl-gensym
and gensym shared the same counter and default prefix?