From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: Minor simplification in byte-opt.el Date: Tue, 28 Jul 2020 17:18:01 +0200 Message-ID: References: <1E56C0EA-33C5-4E36-BD95-064A12253B95@acm.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36624"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 28 17:19:58 2020 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 1k0ROX-0009QF-VN for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jul 2020 17:19:57 +0200 Original-Received: from localhost ([::1]:49740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0ROX-00005T-0T for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jul 2020 11:19:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0RMn-0005lP-Sm for emacs-devel@gnu.org; Tue, 28 Jul 2020 11:18:10 -0400 Original-Received: from mail152c50.megamailservers.eu ([91.136.10.162]:39710 helo=mail50c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0RMl-0000dT-Au for emacs-devel@gnu.org; Tue, 28 Jul 2020 11:18:09 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1595949484; bh=POhS+SG3+eM5Y3Sjsg8/GNMWfF59MUK1Tf2qXbI1NOg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=RrXi3y5VyPY8RAVXdelyNlD4pMiGVqHMlnBnkl6u5QsAZA2qQtDg1Xsf3EASkXdk0 nGPfLZGMNxXi0qnnINX7OMAZEBnZgIHNFOxDn6niKT+6dKQeECgvjCJ/k5DHbx9Pn1 goN0QKvWzdmPSY3/I+kuyHWSVc+6254e1/KZN3t4= Feedback-ID: mattiase@acm.or Original-Received: from stanniol.lan (c-4e4ae655.032-75-73746f71.bbcust.telenor.se [85.230.74.78]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 06SFI1iN026114; Tue, 28 Jul 2020 15:18:03 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3445.104.15) X-CTCH-RefID: str=0001.0A782F23.5F2041AC.0024:SCFSTAT68638221, ss=1, re=-4.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=NoevjPVJ c=1 sm=1 tr=0 a=klNLuyVZdLUgl+K5Uafb2A==:117 a=klNLuyVZdLUgl+K5Uafb2A==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=iRZporoAAAAA:8 a=NvdRNRvKNNQayJthVDwA:9 a=CjuIK1q_8ugA:10 a=NOBgFS-JBQ2l-kSd6-zu:22 Received-SPF: softfail client-ip=91.136.10.162; envelope-from=mattiase@acm.org; helo=mail50c50.megamailservers.eu X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/28 11:18:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:253303 Archived-At: 28 juli 2020 kl. 16.53 skrev Stefan Monnier : > We currently do allow it (in the interpreter and the byte-compiler), = but > I think this is a mistake and we should emit a warning (if not an = error) > when the byte-compiler encounters such a construct. Yes, sorry, I meant that I wasn't sure whether could be synthesised (by = cconv) without the user actually ever feeding an explicit 'closure' = construct into the compiler. After all, 'closure' isn't really in the = language, is it?