From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#29866: 27.0.50; cl-loop: Calculate the array length just once Date: Fri, 29 Dec 2017 02:21:22 +0900 (JST) Message-ID: References: <87wp18179m.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1514481617 30128 195.159.176.226 (28 Dec 2017 17:20:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 28 Dec 2017 17:20:17 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: 29866@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 28 18:20:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1eUbqk-0007Iv-HQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Dec 2017 18:20:10 +0100 Original-Received: from localhost ([::1]:58971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUbsj-0006Qb-Bd for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Dec 2017 12:22:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUbsd-0006QN-4S for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2017 12:22:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUbsY-0005Gi-4L for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2017 12:22:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46712) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eUbsX-0005GU-Uy for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2017 12:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eUbsX-0003Oj-P8 for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2017 12:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Dec 2017 17:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29866 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29866-submit@debbugs.gnu.org id=B29866.151448169113025 (code B ref 29866); Thu, 28 Dec 2017 17:22:01 +0000 Original-Received: (at 29866) by debbugs.gnu.org; 28 Dec 2017 17:21:31 +0000 Original-Received: from localhost ([127.0.0.1]:55393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUbs2-0003O1-Mn for submit@debbugs.gnu.org; Thu, 28 Dec 2017 12:21:30 -0500 Original-Received: from mail-wr0-f177.google.com ([209.85.128.177]:46482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUbs1-0003Np-KD for 29866@debbugs.gnu.org; Thu, 28 Dec 2017 12:21:29 -0500 Original-Received: by mail-wr0-f177.google.com with SMTP id g17so30513097wrd.13 for <29866@debbugs.gnu.org>; Thu, 28 Dec 2017 09:21:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=K4cbhO5T1W1+mSLkOWCQPzKefBPoz2agE9fWC1G37Zo=; b=j0kMbt3vaUpASly9ieVC/eDL9nKQIUes6x+A09JUIv6g7vC8Nci7LbnE/K8xbeVcw/ oi7tgLAHfnhdo2N5iqhjpt18RmxRh3x4iaGsUobwXjFoQ3w6xFOcaoBeoaxGqoUqnCJx b/FyADyYB2/wvGtuctPyTgNbMxfz5Jm+8/WZl0Imij/J8bV5sHvG/Ze7Cg13itcAdbjy MxT9hW66OxMwPS4+f5arOYelf9FfUKfMkW315Zb3RObgxvbh+627Poq/3v+youKEmdM5 6NysNUvPDkCB/oTHdC9ZXeFhseRlvvrBMNvqu+RUc8DTLcIkng+N8MUOSZ2OOfcnE/LM HeSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=K4cbhO5T1W1+mSLkOWCQPzKefBPoz2agE9fWC1G37Zo=; b=C25R90NRTzhs8xaT+UjWlwlGfGHJKwWKEm8T6ZJbwSIGD6YfcKttltUHSzPUM554PI oXrGtnuQofRrnyygwS9138YHyRnlnplh7IP5YT+3ZubjSA154v0YiGDnY9OyZYh97dRX 3HbK6j7h7TxfWYMmhZxfcpyRtNMdfxwWgwkHKGa19xXqFNXeeq1yiydm8QxnpX6gdg/H fhZnxAXzVy50DHBMnKWDHtG5Lp9BPd0iNDrDFVOTKR7ZAl4GsEzko7F6lWaAWUYok9je Jxlwz3itKVWJy6k8ZJuufouxOlaRPnv7TBn0DXosrzT+5dibWgRZE0BJRriMhUiELYXb 90lA== X-Gm-Message-State: AKGB3mIJL/Ve9yw0HgPO/B5ZRd+tiuRCPYRH8okad0wHiX1T39TcWKU+ TPxCqgFqumSrmAbAgU2vSPo= X-Google-Smtp-Source: ACJfBov+oYaTF++4PgBiV4esmIt88T46mqTni6wshxhWLCTbvac0+P772SwIzK91o1CCeilV73mKjg== X-Received: by 10.223.175.194 with SMTP id y2mr32116643wrd.106.1514481683972; Thu, 28 Dec 2017 09:21:23 -0800 (PST) Original-Received: from calancha-pc (228.red-83-40-68.dynamicip.rima-tde.net. [83.40.68.228]) by smtp.gmail.com with ESMTPSA id e20sm33567119wre.6.2017.12.28.09.21.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Dec 2017 09:21:23 -0800 (PST) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141576 Archived-At: On Wed, 27 Dec 2017, Stefan Monnier wrote: >> While studying this code I found easier to hack if we use gensym's >> instead of make-symbol; otherwise, the code creates several symbols with >> the same printed representation "--cl-var--". For example, with current >> code you can read expansions with something like: > > I always (setq print-gensym t print-circle t) Thank you all for th eexplanations. Wouldn't be those good defaults? I don't see any advantage, rather than confusion for the current defaults. I even replaced locally all those make-symbol with gensym to follow the expansions without get crazy.