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: Tue, 12 Sep 2017 12:48:20 -0400 Message-ID: References: <20170912151313.7686.92637@vcs0.savannah.gnu.org> <20170912151315.C449D2087D@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1505235453 7865 195.159.176.226 (12 Sep 2017 16:57:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2017 16:57:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Mark Oteiza To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 12 18:57:29 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 1droV6-0001p4-8Q for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2017 18:57:28 +0200 Original-Received: from localhost ([::1]:37599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1droVD-0007Se-Fi for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2017 12:57:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1droML-0007tK-AS for emacs-devel@gnu.org; Tue, 12 Sep 2017 12:48:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1droMI-0005xN-14 for emacs-devel@gnu.org; Tue, 12 Sep 2017 12:48:25 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:59986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1droMH-0005wm-SR for emacs-devel@gnu.org; Tue, 12 Sep 2017 12:48:21 -0400 Original-Received: from lechazo.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v8CGmKKt003947; Tue, 12 Sep 2017 12:48:20 -0400 Original-Received: by lechazo.home (Postfix, from userid 20848) id 43227605D6; Tue, 12 Sep 2017 12:48:20 -0400 (EDT) In-Reply-To: <20170912151315.C449D2087D@vcs0.savannah.gnu.org> (Mark Oteiza's message of "Tue, 12 Sep 2017 11:13:15 -0400 (EDT)") 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, RV6114=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6114> : inlines <6064> : streams <1762712> : uri <2499262> 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:218136 Archived-At: > +(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