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: [Emacs-diffs] master fbda511: Fix cps--gensym Date: Thu, 14 May 2015 12:00:32 -0400 Message-ID: References: <20150514032048.9882.50538@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1431619305 24438 80.91.229.3 (14 May 2015 16:01:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2015 16:01:45 +0000 (UTC) Cc: Leo Liu To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 14 18:01:35 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YsvZm-0001g7-7c for ged-emacs-devel@m.gmane.org; Thu, 14 May 2015 18:01:34 +0200 Original-Received: from localhost ([::1]:55470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsvZl-0004vo-IB for ged-emacs-devel@m.gmane.org; Thu, 14 May 2015 12:01:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsvZJ-0004Eh-Qh for emacs-devel@gnu.org; Thu, 14 May 2015 12:01:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsvZC-00086G-Ch for emacs-devel@gnu.org; Thu, 14 May 2015 12:01:05 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:49893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsvZC-000862-6X for emacs-devel@gnu.org; Thu, 14 May 2015 12:00:58 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id DB7539C145; Thu, 14 May 2015 12:00:56 -0400 (EDT) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 88FC11E5B8D; Thu, 14 May 2015 12:00:32 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 6FB29B41A0; Thu, 14 May 2015 12:00:32 -0400 (EDT) In-Reply-To: (Leo Liu's message of "Thu, 14 May 2015 03:20:49 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186494 Archived-At: > ;; Change this function to use `cl-gensym' if you want the generated > ;; code to be easier to read and debug. > ;; (cl-gensym (apply #'format fmt args)) > - `(make-symbol ,fmt)) > + `(make-symbol (format ,fmt . ,args))) Why? As the comment above says, if you want the more readable names, you should use the other line of code. The default one is aimed at being more efficient (both cpu-use-wise and memory-use-wise), Stefan