From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 35c893d 2/2: Move gensym to core Elisp Date: Tue, 12 Sep 2017 13:21:25 -0400 Message-ID: <20170912172125.GA10696@holos.localdomain> 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; charset=us-ascii X-Trace: blaine.gmane.org 1505337118 20511 195.159.176.226 (13 Sep 2017 21:11:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2017 21:11:58 +0000 (UTC) User-Agent: Mutt/1.9.0 (2017-09-02) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 12 19:21:52 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 1drosU-0006xh-QF for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2017 19:21:39 +0200 Original-Received: from localhost ([::1]:37769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drosc-00044Q-4z for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2017 13:21:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drosN-00042P-1K for emacs-devel@gnu.org; Tue, 12 Sep 2017 13:21:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drosJ-0003Xz-TW for emacs-devel@gnu.org; Tue, 12 Sep 2017 13:21:31 -0400 Original-Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:33786) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drosJ-0003Xk-MU for emacs-devel@gnu.org; Tue, 12 Sep 2017 13:21:27 -0400 Original-Received: by mail-qt0-x230.google.com with SMTP id i50so27156841qtf.0 for ; Tue, 12 Sep 2017 10:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tLWdIPePmlg7jLwpfZG4sPw54htkbZxBkIDGRQi0fDQ=; b=GZ3S55P6q56f/tuktOFJ6I0PPYcKWqo4ihhlF6bqvpDzSAYMFLzw3Oeo4ey3P4k8GS grqoL4sR85vlPII78D7HvGEYomzbfh9T8rVM0cgevw9rKsQknlHhF9babTF3R/25DLWa zVtdJJtKW9xzaaP7qCPOHIvoWIg1B+ZgGFMfXh+CHlZmzFdJ1OF+OI8KBWKIs+b6Twrk 3A+/32hi/wTcHPEZkMS24iRu4IJmekHuENLU3fd8P5JW4DPfF2CAfnBYE2/ez1aWmUov WjO0MyBJ8Gj9DsZpBg3wegagzy2+oDNCJyzIVyswAoI2aSUp+/PlOeei24WAeojLaDXm bbmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tLWdIPePmlg7jLwpfZG4sPw54htkbZxBkIDGRQi0fDQ=; b=mXOVi5qjCPmCP1sR5Q75pJKsu2NcAAPGRXRgz0dHq1Wj0MK5DZy80amoE0U1piZmF4 aEIo4jAW7bYaB9pzD9GSYDjr1TGbpWpafaYwYu9D7BcOWPJrsdeKbc4ojC5erUKT9naR mGDz5P2PcsM1YT+eeTEF7FFIBfpoVJ88RJSLESWV8owxuYjm779U1RGfD+G63DXgKmIF 07tDE/hcLTJqb+W+4j4G5IXLAyfjrigA5nQ90q8TO8EsMZhDYCYW5Yiq814fT8ezWPpa GZn+F/SroZZRJVsCY2WCHp1ZULhhqAKpFPLnqhi3NWto8vnPD1unolAP2GlWqPBCEDHj zpMA== X-Gm-Message-State: AHPjjUhpxd7v71VdnuUUrY5fPCdJmRSHsREa5Q6Q+uKSoJXZbtY7IYKn Ahtq+JrgqYZU+s+A3E19Ds6j X-Google-Smtp-Source: AOwi7QCFaEKkhfJkBvuXn1kQOHjZ9slAt9ez9WwW1c48IJJvwna0YcxJTgtBqGYnzPyfSSUO2U66eg== X-Received: by 10.200.24.214 with SMTP id o22mr21371386qtk.123.1505236886814; Tue, 12 Sep 2017 10:21:26 -0700 (PDT) Original-Received: from holos.localdomain (pool-173-67-36-61.bltmmd.fios.verizon.net. [173.67.36.61]) by smtp.gmail.com with ESMTPSA id q49sm8478438qta.80.2017.09.12.10.21.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Sep 2017 10:21:26 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id B9A4668221; Tue, 12 Sep 2017 13:21:25 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::230 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:218226 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.