From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: :alnum: broken? Date: Wed, 26 Feb 2020 22:18:25 +0100 Message-ID: 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> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="46794"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stephen Leake , Stefan Monnier , emacs-devel To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 26 22:19:34 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 1j745e-000C5Q-3n for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Feb 2020 22:19:34 +0100 Original-Received: from localhost ([::1]:50210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j745d-00088t-5A for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Feb 2020 16:19:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55689) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j744p-0007d7-Fo for emacs-devel@gnu.org; Wed, 26 Feb 2020 16:18:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j744o-0007Jv-4h for emacs-devel@gnu.org; Wed, 26 Feb 2020 16:18:43 -0500 Original-Received: from mail204c50.megamailservers.eu ([91.136.10.214]:40882 helo=mail193c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j744n-0007Ff-IG for emacs-devel@gnu.org; Wed, 26 Feb 2020 16:18:42 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1582751910; bh=Fkfeh+8IjZK42dL9IrSKUomDS7D6q3cF/DsF2wJsl8E=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=PtWqgutvlxTVKOSnjH9ydwgMCxJBIYuawbbMMBptxKIbexjVXHtSEM0+zYmwWCzFO uexMFxMusKjl4UPBNGQONSlul2EIQus4fAi/lUk58fvmClFuj2GZYalIhVsGXJP7G9 4wL2+Mw0UU7X3P2txq8STds16eRRLKlkwtd7Kqxo= Feedback-ID: mattiase@acm.or Original-Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail193c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 01QLIPuT009356; Wed, 26 Feb 2020 21:18:27 +0000 In-Reply-To: <142e845d-eba3-5975-fa63-4c1b14ed4600@cs.ucla.edu> X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A782F22.5E56E0A5.006F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=SamJicZu c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=VXnBZWMTN8_5FBV6A5QA:9 a=CjuIK1q_8ugA:10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 91.136.10.214 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:245081 Archived-At: 26 feb. 2020 kl. 22.00 skrev Paul Eggert : > 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: >=20 > * The first character is ":". > * The last character is ":". > * There is some non-":" character. > * There are no ranges, char/equiv classes or collation elements. Thank you -- there was no bug that I could see, and the patch already = worked according to your above criteria; now pushed to master. I changed the error message, but feel free to make it better if you are = able to. As mentioned, I didn't want it to end in a square bracket, = because regexp I-search displays the error inside square brackets.