From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: :alnum: broken? Date: Fri, 28 Feb 2020 12:25:56 -0800 Organization: UCLA Computer Science Department Message-ID: <81bfdae0-9fe1-f173-adb1-b5fe2ba2b808@cs.ucla.edu> References: <86wo8flqct.fsf@stephe-leake.org> <86sgj3ljf0.fsf@stephe-leake.org> <5fecc0e1-1ee2-5a89-9297-b0b9aa4a8e9c@cs.ucla.edu> <03A37C4B-9FE8-4A25-9851-79BC8265455E@acm.org> <142e845d-eba3-5975-fa63-4c1b14ed4600@cs.ucla.edu> <3A14F30E-60EF-4C99-AC1A-9A1B2539169B@acm.org> <837e07gmka.fsf@gnu.org> <1c654ac9-10a2-4e5d-f77c-3b78bb580ffc@cs.ucla.edu> <83v9nqg8la.fsf@gnu.org> <298a093f-6eed-3a9f-99cf-bd17b9cb61f0@cs.ucla.edu> <83blpifp95.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="93361"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 Cc: mattiase@acm.org, cpitclaudel@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 28 21:26: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 1j7mDU-000OBh-J3 for ged-emacs-devel@m.gmane-mx.org; Fri, 28 Feb 2020 21:26:36 +0100 Original-Received: from localhost ([::1]:53504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7mDT-0005Ex-Ii for ged-emacs-devel@m.gmane-mx.org; Fri, 28 Feb 2020 15:26:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51534) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7mCw-0004op-NJ for emacs-devel@gnu.org; Fri, 28 Feb 2020 15:26:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7mCv-0003lM-4B for emacs-devel@gnu.org; Fri, 28 Feb 2020 15:26:01 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48812) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j7mCt-0003jo-FA; Fri, 28 Feb 2020 15:25:59 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6E4D61600AF; Fri, 28 Feb 2020 12:25:57 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tPucs-xC480i; Fri, 28 Feb 2020 12:25:56 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id BE06A1600B2; Fri, 28 Feb 2020 12:25:56 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q-xJ_zRRNVgh; Fri, 28 Feb 2020 12:25:56 -0800 (PST) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 9DA8A1600AF; Fri, 28 Feb 2020 12:25:56 -0800 (PST) In-Reply-To: <83blpifp95.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:245111 Archived-At: On 2/28/20 12:09 PM, Eli Zaretskii wrote: > The regexp specification is not an Emacs-only feature, and I don't > think we should invent a variant of regexp spec where these particular > regexps are disallowed. It would not be an invention of Emacs. It is a variant used in Gnu grep (and GNU grep surely does more regexp processing than Emacs does, if we look at all the world's computation), and it works fine there. So even if we took a strict stance against invention in Emacs regexps (a stance that we haven't taken in the past), that stance would not preclude the proposed change. > the particular reason for which you propose this change sounds > backwards to me. The goal of this change is to improve the reliability of Elisp code, by having Emacs reject invariably-incorrect regexps. It's not "backwards" to improve reliability.