From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: emacs-devel@gnu.org
Cc: Mark Oteiza <mvoteiza@udel.edu>
Subject: Re: [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp
Date: Tue, 12 Sep 2017 12:48:20 -0400 [thread overview]
Message-ID: <jwvh8w7j251.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <20170912151315.C449D2087D@vcs0.savannah.gnu.org> (Mark Oteiza's message of "Tue, 12 Sep 2017 11:13:15 -0400 (EDT)")
> +(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?
Stefan
next parent reply other threads:[~2017-09-12 16:48 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 ` Stefan Monnier [this message]
2017-09-12 17:21 ` [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp Mark Oteiza
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=jwvh8w7j251.fsf-monnier+emacsdiffs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=mvoteiza@udel.edu \
/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).