From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs] Date: Tue, 12 May 2020 22:20:36 +0100 Message-ID: <87wo5gc0kb.fsf@russet.org.uk> References: <0c88192c-3c33-46ed-95cb-b4c6928016e3@default> <87wo5mc04t.fsf@fastmail.fm> <873686bbl5.fsf@russet.org.uk> <87d07963ec.fsf@fastmail.fm> <873685dq73.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="32187"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Cc: Joost Kremers , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 12 23:21:39 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 1jYcLK-0008Hr-Pn for ged-emacs-devel@m.gmane-mx.org; Tue, 12 May 2020 23:21:38 +0200 Original-Received: from localhost ([::1]:34746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYcLJ-0003zr-S9 for ged-emacs-devel@m.gmane-mx.org; Tue, 12 May 2020 17:21:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYcKW-000327-Od for emacs-devel@gnu.org; Tue, 12 May 2020 17:20:48 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:59654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYcKU-0006KA-VS for emacs-devel@gnu.org; Tue, 12 May 2020 17:20:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=C8hSAnG3CBYktcLOdEke8tpSmi00+lol6jBV6Jxt4PY=; b=1qDbXgXvkqamUVfDKG/s4hjRB tO9vQ7Dw4gDRHmUlLQI2D5JItzIAlU7UEszWein3Ox9BPvnS5awbhMm7pc0jIijwFe9zrkf1L/uod 3QR/ZAUpcEkuUNx9xAnVd0FHHnN3ghh9Rz0pE6G9moHpLb+8UdpGxHunA3FEEtT61Ps2t185s6TZY IdYc+te6+rd+dYD8muMsxBF3CZaqdikmizni726GtO9MxSGUin0I1waoBpxpwHuP2Jz+Wb4CkNToo rmy+mbvMxj1p5Of8wQad5drij7/YxrKcRcVHP594SNsp0WXF/wUVToKKCC5in0xuqAg8T30zM7uFt jCT1zdReA==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:52612 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jYcKO-0001Vc-Jp; Tue, 12 May 2020 22:20:40 +0100 In-Reply-To: (Stefan Monnier's message of "Tue, 12 May 2020 14:45:23 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 17:20:43 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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:250051 Archived-At: Stefan Monnier writes: >> I can't get it to work from first position though. So: > > That's normal: first position does not allow a normal expressions. > "first position" accepts basically the same things as what follows #' > > Elisp is not Scheme. Yes, indeed, that is true. Actually I was more surprised that it worked with lambda. But, it *does* work with `lambda', so if we wanted a shortened version of lambda with autonamed arguments, then, ideally, it should work in all the places that lambda work? Still, the `((lambda (x) x)` is pretty pointless in Emacs lisp, so perhaps this bit is not important. You said that there is a macro like this already in Emacs? If not, it would be nice to add. Not sure `fn' is the greatest name though. Phil