From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: :alnum: broken? Date: Sun, 23 Feb 2020 20:27:26 +0200 Message-ID: <831rqli2gh.fsf@gnu.org> References: <86wo8flqct.fsf@stephe-leake.org> <86sgj3ljf0.fsf@stephe-leake.org> <5fecc0e1-1ee2-5a89-9297-b0b9aa4a8e9c@cs.ucla.edu> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="55304"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattiase@acm.org, stephen_leake@stephe-leake.org, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 23 19:28:02 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 1j5vz0-000EJJ-FX for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Feb 2020 19:28:02 +0100 Original-Received: from localhost ([::1]:55614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5vyz-0000QD-Gl for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Feb 2020 13:28:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41525) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5vyX-0008PU-As for emacs-devel@gnu.org; Sun, 23 Feb 2020 13:27:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j5vyW-0006yg-Dq; Sun, 23 Feb 2020 13:27:32 -0500 Original-Received: from [176.228.60.248] (port=2775 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j5vyV-00080j-4f; Sun, 23 Feb 2020 13:27:31 -0500 In-reply-to: (message from Paul Eggert on Sun, 23 Feb 2020 10:13:16 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:245046 Archived-At: > From: Paul Eggert > Date: Sun, 23 Feb 2020 10:13:16 -0800 > Cc: Stephen Leake , > emacs-devel > > The byte-compiler could warn about some of these blunders and if someone wants > to change the byte-compiler to do that, it would be an improvement. However, > this would necessarily either cry wolf or let blunders through, because the > byte-compiler cannot reliably determine whether a string will be used as a > regular expression. Indeed, the byte compiler cannot, which is why issuing a warning is appropriate. Experience shows that we do pay attention to warnings and try to have our sources compile warning-free.