From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Brett Gilio Newsgroups: gmane.emacs.devel Subject: Re: regex.c simplification Date: Tue, 31 Jul 2018 21:38:23 -0500 Message-ID: <87y3dqyfog.fsf@posteo.net> References: <83fu1mzq09.fsf@gnu.org> <30e30c9d-1e0d-ea7d-2ef5-ae8622875449@cs.ucla.edu> <7cc7d274-ee6a-ab14-c78a-4fdba963578b@cs.ucla.edu> <83va9a1jfz.fsf@gnu.org> <51d08f86-fe0c-4eb1-8b0b-7dadb0257c02@cs.ucla.edu> <83h8ktytq0.fsf@gnu.org> <5b450c23-c87b-3436-0f5c-de0c0b1807c7@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533091557 30010 195.159.176.226 (1 Aug 2018 02:45:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2018 02:45:57 +0000 (UTC) User-Agent: mu4e 1.0; emacs 26.1 Cc: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 01 04:45:52 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 1fkh96-0007kH-Gq for ged-emacs-devel@m.gmane.org; Wed, 01 Aug 2018 04:45:52 +0200 Original-Received: from localhost ([::1]:33137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkhBC-00076q-Uk for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2018 22:48:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkhB5-00076k-SW for emacs-devel@gnu.org; Tue, 31 Jul 2018 22:47:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkhB4-0006Rt-C5 for emacs-devel@gnu.org; Tue, 31 Jul 2018 22:47:55 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:43343) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fkhB4-0006H2-5A for emacs-devel@gnu.org; Tue, 31 Jul 2018 22:47:54 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AE24F2117D for ; Wed, 1 Aug 2018 04:47:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1533091663; bh=xqLDCw1ugzVAtR4MzQAdOzc0Hou5owfZb+ZGeJwxDLA=; h=From:To:Cc:Subject:Date:From; b=k2qx+L7UhMWsongp5mi5XLkcZuodTQJPrJNqvCveiCSRBuA3aoMthETAvxOcanQXj 0gmh8M//W2ydJ0kFPUeR4o7SeCVXD9XXnI5ncRakMq5vrGmiSoXOCwyP4UoTS6gKf6 aahIEr+P4aHOPRnWG5spN8GNnPO008Bt2S4BTiBj6CN3Dybysl+sWo4v6XgbiqwFeP Oab+0D3tjWhnxLC6EzTW6i2e6RP6rFYTOUt0Ch1bAAW/+QGjEYIzFUfFhYwvW48wWA blt7ar6N4YqwC1D/BJh7MDc0wZC85GkLLJOeS3T/muSDsx8nMPvPEs5HrJjFWPNANp w6iaedtM0T+dg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 41gHlx4GVCz9rxD; Wed, 1 Aug 2018 04:47:41 +0200 (CEST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 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:228070 Archived-At: Paul Eggert writes: > On 07/21/2018 12:17 AM, Paul Eggert wrote: >>> There's still the alternative which I asked about a couple of days >>> ago: use the Gnulib regexp without the additional code pulled in by >>> mbrtowc, I hope that's a viable option. >> >> Yes, I've built that and am testing it. I plan to report back soon. > > I tested it a bit, simplified the regex code on the Emacs side, and sent a new > set of patches here: > > https://bugs.gnu.org/32194#11 > > This eliminates about 2500 lines of Emacs C source code, yeay! More improvement > could be done, but it is getting time to merge in what I've got. Thank you for your work, Paul. It is nice to see the source code getting a little bit lighter, rather than to the contrary. -- Brett M. Gilio Free Software Foundation, Member https://parabola.nu | https://emacs.org