From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Add some aliases for re-related functions Date: Sat, 2 May 2020 14:43:12 -0400 Message-ID: <473307F8-35C7-4860-ACAE-78A4A2B767D6@gmail.com> References: <7976B8C1-AFC7-4662-B750-6492EB70C0D5@gmail.com> <83lfmaqizs.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_D6631DCD-1028-4B66-A820-D11889AA4673" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="50209"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 20:44:07 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 1jUx7O-000Cxu-IO for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 20:44:06 +0200 Original-Received: from localhost ([::1]:52056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUx7N-0007rk-Lg for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 14:44:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUx6b-0007JJ-MM for emacs-devel@gnu.org; Sat, 02 May 2020 14:43:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUx6b-0002uA-AV for emacs-devel@gnu.org; Sat, 02 May 2020 14:43:17 -0400 Original-Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:46474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUx6Z-0002tn-S1; Sat, 02 May 2020 14:43:15 -0400 Original-Received: by mail-qk1-x72f.google.com with SMTP id f83so5145315qke.13; Sat, 02 May 2020 11:43:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=JhPVEegyxGTMaXzXwa0vL1e37JT9ubdAx+yWgUrxsLc=; b=DP54rdUHGMPseOO7R7zpyGPaKpYaDVakY4kPB0kDEIcmmXuoYYjbyaG+I1pXzU1ZFt /cwL7DdrcQ3nlZwOHMrS8CgfWQKMudUc+Cu8rVUa9ooqBi77eKE1tYD2kphI03d7PK0+ 1KVHmM6x80hveRUf30dPVi3M7gYOv4vnIrdLAChCb1f0lmQjAF2BOX1pOR0qq7hH7sNJ J0hbHzK5ftcgg+boaDNCoFXs7y4xf4L7tsyKOJCKQKZscYNvyziUoX0z4/ReaNVQ/V82 KkMDNOkcfN/G8QojNz9Y8cr2zshJcyyE1ZE8Va3O8evWLUCie8UPPODOKZxiX+V9YuHb 5x/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=JhPVEegyxGTMaXzXwa0vL1e37JT9ubdAx+yWgUrxsLc=; b=pQjHvbOm7h7uViHffPoIUk1EV2C9ynSmxPv2V5hoeu8IxQtKSgXQ9Z2qpi02mR6hJo ewShg6eToewkU+RKIhl7QqcrXJWqs3+ZXDvDocLaFRyjw4dKEnkL11FWbbwN5IL0sspK rszslKj7MT8Bx6RlO4hCNkag5Sa4aKwKFkPEjBetsPGOL1mUBrv064OSvQzFq8a6VVD5 oGdLAfP02DUTDlPUEE1IY2q8u4vPdL3dGV7FV1eN3Od4MYO4fUSyZPe5zGZ6aKixpmTy PdBcw/4wFD2ge9tpa1F/5hyZv/egZlm5l8QOHLHmpp6LYo5b3jRYhOmSv5Iv+M57/tiF YBzw== X-Gm-Message-State: AGi0Pub0P+YmsECeJY4zTrwVsdFS91OHgwSKBwwNO8H/cR/j4wM66d6/ AX5Y9miD7OPpvkERYUdbTgu8dNeauXp09FoS X-Google-Smtp-Source: APiQypIeU9Fo81JUwKCWYDw+TC22v4Kcud+92qUESe9ilzk8F5N3odYR1mODfXBG3G/IBl5qB6ccoQ== X-Received: by 2002:a37:6658:: with SMTP id a85mr6838444qkc.493.1588444994302; Sat, 02 May 2020 11:43:14 -0700 (PDT) Original-Received: from [192.168.1.5] (c-174-60-229-153.hsd1.pa.comcast.net. [174.60.229.153]) by smtp.gmail.com with ESMTPSA id x125sm5778326qke.34.2020.05.02.11.43.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 May 2020 11:43:13 -0700 (PDT) In-Reply-To: <83lfmaqizs.fsf@gnu.org> X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=casouri@gmail.com; helo=mail-qk1-x72f.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: 2607:f8b0:4864:20::72f 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:248536 Archived-At: --Apple-Mail=_D6631DCD-1028-4B66-A820-D11889AA4673 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 >=20 > Is "re-" really a useful prefix? What newbie will type "re-" when > they need regexp-related functions? Where would they get the idea > that "re" stands for "regular expression=E2=80=9D? Just as an example, since I started programming with Python, I=E2=80=99m = quite familiar with =E2=80=9Cre=E2=80=9D. =E2=80=9CRegexp=E2=80=9D is = also fine, I don=E2=80=99t have a strong opinion on this (especially for = there are quite a few regexp-prefixed functions in Elisp). Yuan --Apple-Mail=_D6631DCD-1028-4B66-A820-D11889AA4673 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

Is "re-" really a useful prefix?  What newbie will type = "re-" when
they need regexp-related functions?  Where would they = get the idea
that "re" stands for "regular = expression=E2=80=9D?

Just as an example, since I started programming = with Python, I=E2=80=99m quite familiar with =E2=80=9Cre=E2=80=9D. = =E2=80=9CRegexp=E2=80=9D is also fine, I don=E2=80=99t have a strong = opinion on this (especially for there are quite a few regexp-prefixed = functions in Elisp).

Yuan


= --Apple-Mail=_D6631DCD-1028-4B66-A820-D11889AA4673--