From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Philippe Vaucher Newsgroups: gmane.emacs.devel Subject: Re: Imports / inclusion of s.el into Emacs Date: Sun, 3 May 2020 09:50:47 +0200 Message-ID: References: <266155d4-f9c0-8ed3-8df5-32feea171076@yandex.ru> <542564DC-6DD0-41E5-A9CC-365673D68BE0@gmail.com> <93FA1F56-A056-4E17-A468-17829D638FF5@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b69d0605a4b9ad6e" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="35765"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Yuan Fu , Emacs developers , Stefan Monnier , Dmitry Gutov To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 03 09:51:51 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 1jV9Pj-0009Dl-0B for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 09:51:51 +0200 Original-Received: from localhost ([::1]:38334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV9Pi-0007Tl-1I for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 03:51:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV9PC-0006tI-7E for emacs-devel@gnu.org; Sun, 03 May 2020 03:51:18 -0400 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:46229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jV9PB-0006EH-DF; Sun, 03 May 2020 03:51:17 -0400 Original-Received: by mail-lj1-x22c.google.com with SMTP id f18so6521804lja.13; Sun, 03 May 2020 00:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T2NKirKLaYQT/YsX6Crm9AFPqInS7e+hAmb8MlnNGVE=; b=FvV3DOD3wbH0QAnEXsH2F2jRDtq4E9RdWA+KtCAqXy9RlTZeS9FkixcR77wXt8PrPF KRzgmYWX+OVevjj7RGi8s82wntQxoUGdj8RbRayuU9Y/PpKb5cBcf5XeeUflv2Fn5hb5 C9xNnoPsWFEn+a67lNAq4uhbuLLSMa1f0vjWMS1KGzfgpdLVv0XMwx5z7KdAKYJuMRRe nEAYDDOv+iXrc6T2xMuNv92nG9GZ/noqxlQAVz1tuP1MMgA9lGrng7331egb3rW0oRQ7 0eau8Gf6IEvycwXqWPV5ayttqgpHYtE2538mEfkxZcjea2CPEnXvky00bB7ICBaKWf8c ZoFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T2NKirKLaYQT/YsX6Crm9AFPqInS7e+hAmb8MlnNGVE=; b=s4F4t+EHkwsu8N2YD+ag/LUVJxJN3t+yZZfcF2M+OOeD9IPJxrauipU+3c5tUdOBCW ZJBzP7qseJZRj/q5ZnEjUJKEDKjTu7qWeDGL+q9ktqMXWL8TPFkIo4947hi3Nb/sTxzx 3thHTWgyT4ZkbA5SAM8rNNtl1mz0yqztZXQi6BrDSH9dCGl92ptDUr1ZPsROJalpYxvm lMwjgVzZYvVE+ifA8aFO8SxcfBrvHzNAI5ru3a2QV+eIP1XBsztVGaN1nPgoXQJ6vj/C fZkGYZFCn+1q22rtqs1Irhjt/FvrocuLXZE0cP3Z1JFQ9e7xer1WGBLu+Mo2CXfN7jKW Bn3w== X-Gm-Message-State: AGi0PuaFt85GmA1NyOrlw1sesTD1oRX5ACIorF1t7KfNzTCjltxU/Sxp e+7NJNwj8XRI+7e1eUxh7Xs5wL0AnBd/qrVKDo6oQpFI6wA= X-Google-Smtp-Source: APiQypJukgI/8AxjTBPqwUz/e1GpJXBuBX3eyYtscNg3l2Se0Ajdn9QodthZVqqAOJaqunQPPz9+lDlF/rvY2U6tn8A= X-Received: by 2002:a2e:700e:: with SMTP id l14mr7222681ljc.135.1588492273883; Sun, 03 May 2020 00:51:13 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=philippe.vaucher@gmail.com; helo=mail-lj1-x22c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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:248644 Archived-At: --000000000000b69d0605a4b9ad6e Content-Type: text/plain; charset="UTF-8" > > re-search-forward re-search-forward > > re-search-backward re-search-backward > > replace-regexp-in-string re-replace-in-string > > replace-match re-replace-match > > string-match re-search-in-string > > match-string re-matched-string > > I think this is mostly good. However, string-match does not search > the string. It tries to match only at the start of the string. You said in a later mail that adding such aliases would pollute the namespace. I infer that some aliases would be ok but many aliases not, is that correct? --000000000000b69d0605a4b9ad6e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

>=C2=A0 =C2=A0> re-search-forward =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 re-search-forward
> =C2=A0 > re-search-backwa= rd =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0re-search-backward
> =C2=A0 >= replace-regexp-in-string =C2=A0 =C2=A0re-replace-in-string
> =C2=A0 = > replace-match =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 re-replace-match
> =C2=A0 > string-match =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0re-search-in-string
> =C2=A0 > match-string =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0re-mat= ched-string
>
> I think this is mostly good.=C2=A0 However, str= ing-match does not search
> the string.=C2=A0 It tries to match only = at the start of the string.

You said in a later mail that addin= g such aliases would pollute the namespace. I infer that some aliases would= be ok but many aliases not, is that correct?
--000000000000b69d0605a4b9ad6e--