From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Adding with-gensyms and once-only to subr-x Date: Mon, 11 Apr 2022 15:11:43 -0400 Message-ID: References: <87sfqja2eu.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8431"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Sean Whitton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 11 21:12:56 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndzT6-0001zm-FV for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Apr 2022 21:12:56 +0200 Original-Received: from localhost ([::1]:44070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndzT5-0006lY-4J for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Apr 2022 15:12:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndzS2-0005AP-KH for emacs-devel@gnu.org; Mon, 11 Apr 2022 15:11:50 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:51436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndzS0-0000qJ-33 for emacs-devel@gnu.org; Mon, 11 Apr 2022 15:11:49 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id CCBD8441648; Mon, 11 Apr 2022 15:11:46 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 8AF5E441641; Mon, 11 Apr 2022 15:11:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1649704305; bh=8lzfOZbOwMCgZQmgt1ZUkcqN1B0xkGRuI344HLVOyP8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=G7pNvmMiIRPrBxVqKQp/AmpFNAb6Pxb4EDbqN/qOF4mlMF81D/TZ6Rvz9/alpSXUg /klydpenoyhpUbAiP+lx/JGy2aA7ErZtSru0dJFIMlD9+74w2TUYjOv2egYYr9GJBa 95qDxIQk+EQ6sSi4I0LLzSNd1G4UMOaPeUZdYzez6r2H75nQcHHDlglMBzP3nRajXY zbjzCZiy4o8xM7OVmz+kZ78Na56e6mRODlqlOLD2c1MeCpR4fvpWQVPqHvMIy+coqY ZKqVq+8p06HMtm8baIEcGnZSZi5YILMCBVOg5be20ANxEB+rM+H4Uitcigg/xUZm8b eI1q/AJ6o/Isg== Original-Received: from alfajor (modemcable240.145-162-184.mc.videotron.ca [184.162.145.240]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 10EE51207C1; Mon, 11 Apr 2022 15:11:45 -0400 (EDT) In-Reply-To: <87sfqja2eu.fsf@melete.silentflame.com> (Sean Whitton's message of "Mon, 11 Apr 2022 11:41:13 -0700") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288241 Archived-At: >> How 'bout making `macroexp-let2*` accept the shorter form as in the >> patch below? > Nice. Good with me. (I thought about extending macroexp-let2* but > didn't think about the idea of making the first argument optional.) Pushed to `master`. >> I'm not in love with the name `macroexp-let2*` but I find the name >> `once-only` to lack context. So we could consider renaming, but I'd >> favor making it live in `macroexp.el` (and come with a `macroexp-` >> prefix). It could be called `macroexp-once-only` or >> `macroexp-eval-now`, or we could go crazy with names like >> `macroexp-copyableize`. > > How about I add an alias cl-once-only, maybe which doesn't accept the > TEST argument at all? It can go in cl-macs.el. Deal! [ I didn't know it was "standard" in Common-Lisp. ] Stefan