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: Sat, 22 Feb 2020 13:28:58 -0800 Organization: UCLA Computer Science Department Message-ID: References: <86wo8flqct.fsf@stephe-leake.org> <86sgj3ljf0.fsf@stephe-leake.org> <5fecc0e1-1ee2-5a89-9297-b0b9aa4a8e9c@cs.ucla.edu> <8336b3jc5p.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="18969"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: stephen_leake@stephe-leake.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 22 22:29:45 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 1j5cLJ-0004sA-FL for ged-emacs-devel@m.gmane-mx.org; Sat, 22 Feb 2020 22:29:45 +0100 Original-Received: from localhost ([::1]:47092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5cLI-0003iq-IF for ged-emacs-devel@m.gmane-mx.org; Sat, 22 Feb 2020 16:29:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44931) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5cKk-0003FR-20 for emacs-devel@gnu.org; Sat, 22 Feb 2020 16:29:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5cKi-0004bp-MG for emacs-devel@gnu.org; Sat, 22 Feb 2020 16:29:09 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59350) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j5cKf-0004Xl-Ed; Sat, 22 Feb 2020 16:29:05 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1D0011600F4; Sat, 22 Feb 2020 13:29:03 -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 nI9NF6WY-MyG; Sat, 22 Feb 2020 13:29:02 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3145F1600F7; Sat, 22 Feb 2020 13:29:02 -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 A4YlS1ZOoEjr; Sat, 22 Feb 2020 13:29:02 -0800 (PST) Original-Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id EDF2A1600F4; Sat, 22 Feb 2020 13:29:01 -0800 (PST) In-Reply-To: <8336b3jc5p.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:245033 Archived-At: On 2/21/20 11:48 PM, Eli Zaretskii wrote: > "[:space:]" is a valid, though peculiar, character class Yes, but point of my suggestion was to suggest that we change Emacs to make it not a valid character class. In practice it would be a win to change Emacs in this way, since the aggravation of the current approach (which regularly bites people as this thread illustrates) far outweighs the aggravation of making classes like "[:space:]" invalid when they're intended (which they're invariably not). A similar change went into GNU grep a decade ago, and in practice it's been a win. It would also be a win with Emacs.