From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Daniel Colascione" Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 938d252 4/4: Make regex matching reentrant; update syntax during match Date: Tue, 19 Jun 2018 11:16:53 -0700 Message-ID: <43853f30c2daec6b5f116396f07d640d.squirrel@dancol.org> References: <20180616204650.8423.73499@vcs0.savannah.gnu.org> <20180616204653.86AFC203CB@vcs0.savannah.gnu.org> <04e89d2beffedcc102b811863910c1ec.squirrel@dancol.org> <20180618115941.4f22a9d3@jabberwock.cb.piermont.com> <1de38eca2662563e9e08006c88a6d2e5.squirrel@dancol.org> <20180619094005.11465a87@jabberwock.cb.piermont.com> <20180619094442.41287e4b@jabberwock.cb.piermont.com> <20180619103002.4f000018@jabberwock.cb.piermont.com> <20180619103325.7d79befb@jabberwock.cb.piermont.com> <9a5f3904-8298-b5e3-cd97-b525f602cc63@dancol.org> <20180619113729.3d1a4c0b@jabberwock.cb.piermont.com> <68752b66-75d2-a732-6ce2-3d8a13b7ff37@cs.ucla.edu> <52b0e14e-8358-0337-ee66-e76795736799@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1529432160 21017 195.159.176.226 (19 Jun 2018 18:16:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2018 18:16:00 +0000 (UTC) User-Agent: SquirrelMail/1.4.23 [SVN] Cc: Daniel Colascione , emacs-devel@gnu.org, Stefan Monnier , "Perry E. Metzger" To: "Paul Eggert" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 19 20:15:55 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 1fVLAV-0005JV-Re for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2018 20:15:52 +0200 Original-Received: from localhost ([::1]:44320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVLCc-0007NL-Up for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2018 14:18:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVLBf-0007FG-Pu for emacs-devel@gnu.org; Tue, 19 Jun 2018 14:17:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVLBe-0006nM-Rv for emacs-devel@gnu.org; Tue, 19 Jun 2018 14:17:03 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:57634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVLBe-0006lY-HT for emacs-devel@gnu.org; Tue, 19 Jun 2018 14:17:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=QvgnQaEqWqTkhWURqFGdCfJu/eH/oubITbSx0W6d67o=; b=XQJ8xA4wjOfAWi35EBjodh9DGeAjtKte15VvtFHyIyP1F1AEx4QoSNpH1DbOpPenWWtjLuerOEUUkfdMsomkSqNNv7Kg2ldeeiYhDI75+evZEvFTOx5pXp11kDUcRXGxhlh1Ax3RrKmeNtMY0VGVvIaBhBuGxej8HKZUdMSS+Yv6VS0yt7+Vd0++VoT6Trj8OU2cJvgoLBunNZUrV6ki/xdgtBAo9hld+hW2y5O8fGo/byQBMIx8UdGXzEeH8OYmy1ZR9K69YtCgeQTjIcS1xQrVM8ME7aad9oV5VfGmam6S454yBAeIiQOTajfnbpdR9IBNltmZQbynNMZThHPioQ==; Original-Received: from localhost ([127.0.0.1] helo=dancol.org) by dancol.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVLBU-0003Ov-Vn; Tue, 19 Jun 2018 11:16:53 -0700 Original-Received: from 127.0.0.1 (SquirrelMail authenticated user dancol) by dancol.org with HTTP; Tue, 19 Jun 2018 11:16:53 -0700 In-Reply-To: <52b0e14e-8358-0337-ee66-e76795736799@cs.ucla.edu> X-Priority: 3 (Normal) Importance: Normal X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:226526 Archived-At: > On 06/19/2018 09:54 AM, John Wiegley wrote: >> If we do find a problem with it, how long will it take before the fix we >> need >> is propagated everywhere it needs to go? > > It shouldn't take much time at all to propagate Emacs-related regex > changes back to Gnulib, which is commonly used by GNU applications like > 'grep' so that they can assume the same regex API everywhere. It would > take more time to propagate the changes back into Glibc, but the > distance between Gnulib regex and Glibc regex is relatively small (it's > way less than the distance between Emacs regex and Glibc regex) and it's > feasible to do that propagation (mostly, this means to jump the Glibc > bureaucratic hurdles). > Do you think the glib regex maintainers would be amenable to adding 1) external iterator support (that we'd use to deal with the gap), and 2) user-pluggable callouts (which we'd use to implement Emacs-specific assertions)? I'd rather not have a huge pile of ifdefs the way we do now. I'd much prefer using maintained extension points.