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: Fri, 1 May 2020 20:44:14 +0200 Message-ID: References: <266155d4-f9c0-8ed3-8df5-32feea171076@yandex.ru> <8b1ac8cc-350c-083c-6c1b-d8b6eac029ac@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000edee3a05a49a9287" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="28167"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers , Stefan Monnier , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 01 20:45:33 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 1jUafF-0007GX-Ny for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 20:45:33 +0200 Original-Received: from localhost ([::1]:47418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUafE-0003aF-PA for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 14:45:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUaeU-0002yx-IL for emacs-devel@gnu.org; Fri, 01 May 2020 14:44:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUaeT-0002ks-JF for emacs-devel@gnu.org; Fri, 01 May 2020 14:44:46 -0400 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:46018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUaeQ-0002f9-4D for emacs-devel@gnu.org; Fri, 01 May 2020 14:44:45 -0400 Original-Received: by mail-lf1-x12b.google.com with SMTP id f8so4542155lfe.12 for ; Fri, 01 May 2020 11:44:41 -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=ckgHpjtXTJzrPSFRekAyg8G+nwXY4Y37Ge3zrkHUEZw=; b=Ro2t7ycfTcPdvDWh0Kvn6whEzpHVBeqglG3TcIz+lJ78A0pwJv0AoP20p+Rn9+5CXF nzKJwz4dSC0y1zMpIqa6IdNS2xWMjGzdt6kJo40Kk5SV6jE57683PKErIrfr/qf8kWr9 Sj7n/8e066GYq5ZFHtGIxu1YCZ2f3/he8uihuklDbLrwj9051tgZKbf6KnchMENOnylZ nIyt3xdKvLfkrKnoh6Kxg1rIEDfsjgw/Ie5ve1nWzTzeSqFooS2vm8XyBRd1y8jsHAsC FmvUclATd9JazC+Lq2Vkm7S1X1ohKl/YUBko0Rie1QwCEzfnQG6SCBzlprAEqSoW4nLG wR9Q== 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=ckgHpjtXTJzrPSFRekAyg8G+nwXY4Y37Ge3zrkHUEZw=; b=UUTen4zHjHr0JGGngfXYZjlNYs3io2NlfF7c27UbsrpD5o6UoadvE9wNtb2qIiEBvn CO8E+CZHF4kDccnSOky7qsQgBe9PGeh5D6FIHIr2UQAhzOsJvLvMBXcZ7qot1fj1jSty VpsqS1Qk/UYowKlhFi/+wjBP8LG9hjk6A42U5UWZytcHfYHJS1dWxZaFzp7NEMkRgIRj bYOWlP7Q4qAKDJzFnVWIOZBs2ZB/clDDaXKxKJVFikYDHY7BBHigAXowYvX/JnLFGZOl tR/3mqNIQ+8xsHmfnpvMBg8K84CO+WnLwLbpJYAi6kTDXcWhk1f/LYC5Dgij66xruPSS wc+w== X-Gm-Message-State: AGi0PuaZOznFCW1af3nM9ZhnoVHDP7m9m/WOmbROi/vaQ/zY72t6UwCl BfC7ALQ6QcUAoV1eJRHY8aWxawzRtcKDeNndnM8= X-Google-Smtp-Source: APiQypLojpJHCL6PGQS8AYtzyGa3g6prbvs7egSu10CpF0RhZzzPlCQsyv+WSWKjvv0ZsofvRsM0wdg0G6CcX4SnYjE= X-Received: by 2002:a05:6512:53a:: with SMTP id o26mr3350326lfc.111.1588358680537; Fri, 01 May 2020 11:44:40 -0700 (PDT) In-Reply-To: <8b1ac8cc-350c-083c-6c1b-d8b6eac029ac@yandex.ru> Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=philippe.vaucher@gmail.com; helo=mail-lf1-x12b.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::12b 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:248335 Archived-At: --000000000000edee3a05a49a9287 Content-Type: text/plain; charset="UTF-8" On Fri, May 1, 2020 at 8:30 PM Dmitry Gutov wrote: > On 01.05.2020 21:19, Philippe Vaucher wrote: > > `match-string` could be aliased to `string-match-result` or > > `string-match-value`. > > Wouldn't 'string-match' match any of these names better? > But `string-match` is already taken?! string-match: apply regexp (function untouched) string-match-value: extract value from previous match (instead of current `match-string`) --000000000000edee3a05a49a9287 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, May 1, 2020 at 8:30 PM Dmitry= Gutov <dgutov@yandex.ru> wro= te:
On 01.05.202= 0 21:19, Philippe Vaucher wrote:
> `match-string` could be aliased to `string-match-result` or
> `string-match-value`.

Wouldn't 'string-match' match any of these names better?

But `string-match` is already taken?!

string-match: apply regexp=C2=A0(function untouched)
string-match-value: extract value from previous match (instead of cur= rent `match-string`)
--000000000000edee3a05a49a9287--