From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: moving more cl seq/mapping support into core Date: Wed, 06 Oct 2010 01:32:19 +0200 Message-ID: References: <4CA52B36.6060405@gmail.com> <87vd5m1u1u.fsf@catnip.gol.com> <4CA646ED.4070101@gmail.com> <87lj6hf4q0.fsf@lola.goethe.zz> <4CAA11E3.10306@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1286321554 3283 80.91.229.12 (5 Oct 2010 23:32:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Oct 2010 23:32:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 06 01:32:29 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P3Gzk-0003AJ-SC for ged-emacs-devel@m.gmane.org; Wed, 06 Oct 2010 01:32:29 +0200 Original-Received: from localhost ([127.0.0.1]:49695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3Gzk-0002vy-Av for ged-emacs-devel@m.gmane.org; Tue, 05 Oct 2010 19:32:28 -0400 Original-Received: from [140.186.70.92] (port=34315 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3Gzf-0002vt-HC for emacs-devel@gnu.org; Tue, 05 Oct 2010 19:32:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3Gze-0005WG-At for emacs-devel@gnu.org; Tue, 05 Oct 2010 19:32:23 -0400 Original-Received: from smtp09.smtpout.orange.fr ([80.12.242.131]:33071 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3Gze-0005WA-0s for emacs-devel@gnu.org; Tue, 05 Oct 2010 19:32:22 -0400 Original-Received: from fmsmemgm.homelinux.net ([90.46.14.244]) by mwinf5d17 with ME id FBYL1f0035FwLaa03BYLce; Wed, 06 Oct 2010 01:32:21 +0200 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 34490AE4B3; Wed, 6 Oct 2010 01:32:19 +0200 (CEST) In-Reply-To: <4CAA11E3.10306@gmail.com> (Daniel Colascione's message of "Mon, 04 Oct 2010 10:41:55 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131377 Archived-At: >>>> Can you point to a few examples? Parts of cl are ugly (the common use of >>>> make-symbol instead of gensym, for example, makes macroexpansions >>>> difficult to read). >> The use of make-symbol is a fairly recent change, to avoid filling the >> obarray with an ever-increasing number of temporary symbols. > But gensymed symbols aren't interned and should be GCed when no longer > referenced. I thought make-symbol was used just to avoid having to cons > up a new string for the symbol name. Oh, you're right. Yes, it's because it's silly to waste time and space changing the symbol's names. > Regardless, it'd be nice to be able to switch that off to make some > macro-expansions legible (or maybe I should write a tree walker that > disambiguates identically-named but distinct symbols). The problem is the printed representation, not the use of make-symbol. The printed representation should use #= and friends to make it clear which symbols are uninterned and which ones are identical or not. Stefan