From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Imports / inclusion of s.el into Emacs Date: Fri, 1 May 2020 20:16:59 +0300 Message-ID: <266155d4-f9c0-8ed3-8df5-32feea171076@yandex.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="48977"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 To: Philippe Vaucher , Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 01 19:22:15 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 1jUZMd-000CcC-8R for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 19:22:15 +0200 Original-Received: from localhost ([::1]:50972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUZMc-0003KS-8p for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 13:22:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUZLh-00029g-N0 for emacs-devel@gnu.org; Fri, 01 May 2020 13:21:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUZHb-0008Oe-Pp for emacs-devel@gnu.org; Fri, 01 May 2020 13:21:17 -0400 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:37287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUZHb-0008MC-AF for emacs-devel@gnu.org; Fri, 01 May 2020 13:17:03 -0400 Original-Received: by mail-wm1-x334.google.com with SMTP id z6so387660wml.2 for ; Fri, 01 May 2020 10:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=2RBjmXGchNUhNhbu01p++kJUNhCfa2GbnV+xsb+dT/4=; b=twfmtOgcFZH5z3kHZEnsNnFr2zbFS6yZkvSRl67xFIvcAMDHcW8KTIFp2crxF3hgSU 9d2zlYwthAxHetXEtepIWbGeVMYTaYf4555uajhj3tccadYFYixVigA57xkGxwmda3t9 pqZm0cMU1V5Vcsu5/w++0mWAZpasInZcB1n30JMyshTUrwm1ttDNtWiCuGu2J/LBAoP1 oxxrc4TV8S5PKD6n0W96Az+i6YKgzfoRJ429NuU9yvuK2Sq0tD+YJXy8ouSL1UgPhI8Y MMIXNEvZdKWLiX9muaGZ8CE1J/Zuy8BcTsJsQZARW7thZqGCVwgAwTysYYhfeOESHeIM ihfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2RBjmXGchNUhNhbu01p++kJUNhCfa2GbnV+xsb+dT/4=; b=NrMoyRbrc/GqttSzD49/DKhkq13U41NENPP506G2sP9m1EcxeUeqPT2KyPCzfOur0+ T8iRwV0RNKwZWKOF6vnW8/PI8lm3aoc8TkaU7AsSb1/yX4y5HV204dLDMfiueWYWxW8N 5GINiR0ZQAXzTCF0CYzUgeW2i4Y0lhuG3whRRbNXAtWwk84E1S4wT7dQCA+Q2SVi2ysW cCDOikxTOCDar5BdSykN9tcrUqlTdM45uCi4d7Id3mTCuERQkcdDvwGkSa5W9OlN/d1l GRp5KNOOc41q9qYrRopRzIk5I9JG4Hxt6QvE+38VWKdznnVLYin1Xb6wJ+iDS3y6kaIB RVPw== X-Gm-Message-State: AGi0PuZ0TTItZZp+B/qN7gJvKhE99fc+AqueZdbYm7QwL7OiRufXIGiK TOC4ewVA6kuGmP9qleGBUhwAOevAD/U= X-Google-Smtp-Source: APiQypLQVeBDNWw8tyrPNddZsnCmqYYj1fIwB3P+lATgSe82w8D8c1IVGZoz0EWYlxmAZ5xqVrABKg== X-Received: by 2002:a1c:4c10:: with SMTP id z16mr488961wmf.77.1588353421299; Fri, 01 May 2020 10:17:01 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id w4sm5300469wro.28.2020.05.01.10.16.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 May 2020 10:17:00 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=raaahh@gmail.com; helo=mail-wm1-x334.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::334 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:248318 Archived-At: On 01.05.2020 17:56, Philippe Vaucher wrote: > Following our discussion about namespace I think it's time to start with > something concrete where most people are agreeing already FWIW, I made a couple of other suggestions. As far as s.el goes, I suppose it might be a good thing to add it to ELPA for those who like it. I'm not completely sold on its contents for the core, however: a lot of it looks like a compatibility layer for Clojure's familiarity's sake, with very thin wrappers (which basically just add the cost of function invocation). Examples: 1. s-prepend/s-append: trivially replaced by 'concat'. 2. s-trim: string-trim is already in subr-x. 3. s-split: basically delegates to split-string, but wraps it in save-match-data (which is generally against our guidelines for its use).