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: Sat, 2 May 2020 10:13:46 +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="0000000000000de36105a4a5e264" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="54982"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Emacs developers , Stefan Monnier , Dmitry Gutov To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 10:15:09 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 1jUnIj-000EC4-8n for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 10:15:09 +0200 Original-Received: from localhost ([::1]:57446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUnIi-0004Fg-0P for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 04:15:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUnHs-0003ZT-NA for emacs-devel@gnu.org; Sat, 02 May 2020 04:14:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUnHr-0003zl-Mu for emacs-devel@gnu.org; Sat, 02 May 2020 04:14:16 -0400 Original-Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:34368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUnHr-0003y3-1C for emacs-devel@gnu.org; Sat, 02 May 2020 04:14:15 -0400 Original-Received: by mail-lj1-x236.google.com with SMTP id f11so4721210ljp.1 for ; Sat, 02 May 2020 01:14:14 -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=mE+0GFkQwPHI9kL/A0bbu986EKy1U/XVuuPJe3PNn3Q=; b=pNrKgmfadhi0I15CoewMImtY4eye9jue0FwggHweP9tBfjLpAhIAZmrmdDkZQzPT6o 2Gvf6/6v4e7qbaiH9dXLq0j16EoV+cJ7XAdVlGRqISFNjxf69TPM8RLD5S5ILxlMuA9h VGpajzPT3VLx9IF7WZ3RVtv6HxQP6y7vewCwyAuIMJCGNTSEl4iTR7z6F+nwjGXxvp4V 8kC4JboYiGd2wAj11EMXuaXhQdFguDOmhjCTEMelPA2wmUSOFqrLln/2UsD9claRJkXV DNmdRGdRyt46RcbYUYMmXiAAx0qbI5mj9vMojyTcsdITognv9//XV5uZL20BWbDdfXYt scAw== 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=mE+0GFkQwPHI9kL/A0bbu986EKy1U/XVuuPJe3PNn3Q=; b=aE9SfpKlGQJTmpJQ0+C+GwUSf25O2iBAW8uE1m7JyJmC2K3JepOEDiIChpz3zjxRMH hlYgnkz1R9/1ivlduQAD5WlWyGDabXg3q6OMPktWfOBIOWJhHe2R02iaBGMwkMuyhrro L+wQBLJUTNoC8ZnuGm+ydQn4FIDOKh68BI644OCg7ww59XUjnCViQlS+CRwNG8cvo2ZT r4DMKhyJQbNGX89xg7WM7iXVN9SpbqwctEOMfUOW6DNBBCM1RWihKe3h8pIEgfTn7qJT biyFjLEb9LCFLHsKeoeOEzg4tcJ1aYwcDHKnG/yRGDR5YhiFrOp/Tf4a5yUW0Ln4AkYH cYZA== X-Gm-Message-State: AGi0PuY+VlJ4LagOF7fhs2DSeLTHnb9Zw1KsQotOw1tZTQxkAu/jKsdb X8aYthKTpkIwbATKGcUK6pCDWe4MB3PIEivOK0Q= X-Google-Smtp-Source: APiQypLpsmvDYTPINxEoGKdZaQGOAIlEokbU0QMZMeSAE7BhvC+ukLwtBxZKR6HQE9I/IHR1uCU0mhGvvZ0nePsMoFA= X-Received: by 2002:a05:651c:2011:: with SMTP id s17mr4366298ljo.242.1588407252672; Sat, 02 May 2020 01:14:12 -0700 (PDT) In-Reply-To: <93FA1F56-A056-4E17-A468-17829D638FF5@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=philippe.vaucher@gmail.com; helo=mail-lj1-x236.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::236 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:248386 Archived-At: --0000000000000de36105a4a5e264 Content-Type: text/plain; charset="UTF-8" > > What about > > 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 > This sounds good, but I think `regexp-` is a better namespace given there is `regexp-quote`, `regexp-opt` etc. That'd also probably mean alias `replace-regexp` as `regexp-replace`. --0000000000000de36105a4a5e264 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
What about

re-search-forward=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0re-= search-forward
re-search-backward=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 re-searc= h-backward
replace-regexp-in-string=C2=A0 =C2=A0 =C2=A0 =C2=A0 re-replace-in-string replace-match=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0re-replace-match
string-match=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 re-search-in-string
match-string=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 re-matched-string

This sounds go= od, but I think `regexp-` is a better namespace given there is `regexp-quot= e`, `regexp-opt` etc. That'd also probably mean alias `replace-regexp` = as `regexp-replace`.=C2=A0=C2=A0
--0000000000000de36105a4a5e264--