From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Imports / inclusion of s.el into Emacs Date: Sat, 02 May 2020 10:02:25 +0300 Message-ID: <83368ivmym.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24823"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philippe.vaucher@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 09:03:21 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 1jUmBE-0006L3-Ka for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 09:03:20 +0200 Original-Received: from localhost ([::1]:57704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUmBD-0005A6-MN for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 03:03:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUmAd-0004Ga-Qj for emacs-devel@gnu.org; Sat, 02 May 2020 03:02:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51732) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUmAd-0005eB-Gy; Sat, 02 May 2020 03:02:43 -0400 Original-Received: from [176.228.60.248] (port=1553 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUmAV-0002Uz-7Z; Sat, 02 May 2020 03:02:35 -0400 In-Reply-To: (message from Richard Stallman on Fri, 01 May 2020 22:23:44 -0400) 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:248381 Archived-At: > From: Richard Stallman > Date: Fri, 01 May 2020 22:23:44 -0400 > Cc: emacs-devel@gnu.org > > Renaming 'concat' seems also like spurious inconvenience in the name > of rigidity -- the Lisp equivalent of bureaucratese. We all do keep in mind that 'concat' is about much more than strings, yes? Such polymorphic APIs are IMO a problem when a simplistic re/naming is considered. > What does 's-prepend' do? (defun s-prepend (prefix s) "Concatenate PREFIX and S." > And how would we do it in Emacs Lisp now? Trivially, use 'concat'.