From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: c-forward-sws: Is the code right? Date: Tue, 03 Apr 2018 18:13:53 +0100 Message-ID: References: <20180327164156.GA4105@ACM> <20180328190518.GA6592@ACM> <83d0zndv5a.fsf@gnu.org> <20180402195816.GB16027@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1522775563 11063 195.159.176.226 (3 Apr 2018 17:12:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2018 17:12:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 03 19:12:39 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3PU5-0002kJ-5B for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2018 19:12:38 +0200 Original-Received: from localhost ([::1]:50034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3PWA-0008AO-Gd for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2018 13:14:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3PVY-00089u-4u for emacs-devel@gnu.org; Tue, 03 Apr 2018 13:14:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3PVU-0005jM-5u for emacs-devel@gnu.org; Tue, 03 Apr 2018 13:14:08 -0400 Original-Received: from [195.159.176.226] (port=38951 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3PVT-0005id-Ul for emacs-devel@gnu.org; Tue, 03 Apr 2018 13:14:04 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f3PTL-0001or-Cw for emacs-devel@gnu.org; Tue, 03 Apr 2018 19:11:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:CMQYqHRtWVOYMdMs3vxaNz0a2D8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224280 Archived-At: On Mon 02 Apr 2018, Stefan Monnier wrote: >> I've just commented these "a\\`"s everywhere, and committed the fixes to >> master. > > Maybe we should have a > > (defconst empty-regexp "\\`\\'a" > "Regular expression which cannot match anything.") > > in subr.el? Perhaps "nomatch-regexp" would be a better name ? There are several regexp constructs that match an empty string, rather than failing to match anything. AndyM