From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: Add some aliases for re-related functions Date: Sat, 02 May 2020 15:18:54 -0700 Message-ID: <875zdeq8tt.fsf@ericabrahamsen.net> References: <7976B8C1-AFC7-4662-B750-6492EB70C0D5@gmail.com> <1f156067-9bf3-e588-4306-9d673a2a27b9@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="28559"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Yuan Fu , Stefan Monnier , Emacs developers To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 03 00:19:37 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 1jV0Tw-0007Mm-FY for ged-emacs-devel@m.gmane-mx.org; Sun, 03 May 2020 00:19:36 +0200 Original-Received: from localhost ([::1]:43112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV0Tv-0001rw-IM for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 18:19:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV0TL-0001Bd-Q4 for emacs-devel@gnu.org; Sat, 02 May 2020 18:19:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jV0TK-0002UI-Vx for emacs-devel@gnu.org; Sat, 02 May 2020 18:18:59 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:44036 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV0TK-0002Sa-In for emacs-devel@gnu.org; Sat, 02 May 2020 18:18:58 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 6447FFA028; Sat, 2 May 2020 22:18:56 +0000 (UTC) In-Reply-To: <1f156067-9bf3-e588-4306-9d673a2a27b9@yandex.ru> (Dmitry Gutov's message of "Sun, 3 May 2020 01:10:30 +0300") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 17:21:36 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Received-From: 52.70.2.18 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:248599 Archived-At: Dmitry Gutov writes: > Allow me to bikeshed a little too. [...] >> The problem with this is that I proposed `re-search` to apply to strings >> whereas I now propose `re-match` to apply to buffers. So maybe it >> should be `re-match-forward` and `re-match-backward`? > > It's fairly hard to distinguish, without reading the docs, from > re-search-forward and -backward. I know the last thing we need is more bikeshedding, but to me "match" sounds very much like it should work on strings, and "search" in buffers. You match one thing with another. You search a place for a thing. Barely 2=C2=A2...