From: Mark Oteiza <mvoteiza@udel.edu>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp
Date: Tue, 12 Sep 2017 13:21:25 -0400 [thread overview]
Message-ID: <20170912172125.GA10696@holos.localdomain> (raw)
In-Reply-To: <jwvh8w7j251.fsf-monnier+emacsdiffs@gnu.org>
On 12/09/17 at 12:48pm, Stefan Monnier wrote:
> > +(defun gensym (&optional prefix)
> > + "Return a new uninterned symbol.
> > +The name is made by appending `gensym-counter' to PREFIX.
> > +PREFIX can be a string, and defaults to \"G\".
> > +If PREFIX is a number, it replaces the value of `gensym-counter'."
>
> I understand that Common-Lisp has that "PREFIX is a number"
> functionality, but I could never find a use-case for it, so I wonder why
> we carry over that baggage to Elisp?
It was just simpler to not duplicate the code for such a small
historical tidbit. I have no problem with the idea of dropping it.
next prev parent reply other threads:[~2017-09-12 17:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170912151313.7686.92637@vcs0.savannah.gnu.org>
[not found] ` <20170912151315.C449D2087D@vcs0.savannah.gnu.org>
2017-09-12 16:48 ` [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp Stefan Monnier
2017-09-12 17:21 ` Mark Oteiza [this message]
2017-09-12 17:35 ` Mark Oteiza
2017-09-12 18:28 ` Stefan Monnier
2017-09-12 18:51 ` Mark Oteiza
2017-09-13 3:48 ` Alex
2017-09-13 12:40 ` Stefan Monnier
2017-09-13 12:50 ` Mark Oteiza
2017-09-28 7:05 ` Alex
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170912172125.GA10696@holos.localdomain \
--to=mvoteiza@udel.edu \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).