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: Wed, 26 Feb 2020 13:00:53 -0800 Organization: UCLA Computer Science Department Message-ID: <142e845d-eba3-5975-fa63-4c1b14ed4600@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> 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="112440"; 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: Stephen Leake , emacs-devel To: Stefan Monnier , =?UTF-8?Q?Mattias_Engdeg=c3=a5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 26 22:04:52 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 1j73rP-000T8n-UB for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Feb 2020 22:04:51 +0100 Original-Received: from localhost ([::1]:49998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j73rO-0004ZB-RC for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Feb 2020 16:04:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46031) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j73nj-0007ql-Hu for emacs-devel@gnu.org; Wed, 26 Feb 2020 16:01:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j73ni-0003aB-66 for emacs-devel@gnu.org; Wed, 26 Feb 2020 16:01:03 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:60260) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j73nh-0003Ne-Vf for emacs-devel@gnu.org; Wed, 26 Feb 2020 16:01:02 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 80EDC16009E; Wed, 26 Feb 2020 13:00: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 4yAxehblKdbY; Wed, 26 Feb 2020 13:00:56 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C06A91600A0; Wed, 26 Feb 2020 13:00: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 HINrdJqq5E4N; Wed, 26 Feb 2020 13:00: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 A6B5816008A; Wed, 26 Feb 2020 13:00:56 -0800 (PST) In-Reply-To: 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:245079 Archived-At: On 2/26/20 7:48 AM, Stefan Monnier wrote: > FWIW, you have a +1 from me, tho I don't see any urgency so I'd keep it > for `master`. I agree with Stefan on both points. The bug noted by Andreas should also be fixed. More specifically, I suggest having Emacs diagnose the typo only when GNU grep diagnoses it, as it's better to be consistent among GNU applications. Grep diagnoses the contents of [...] if all the following are true: * The first character is ":". * The last character is ":". * There is some non-":" character. * There are no ranges, char/equiv classes or collation elements. GNU grep has done this for about a decade and this has worked well. If we don't like these rules we can change them but I would then suggest we also change GNU grep to be consistent.