From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: =?UTF-8?Q?Re:_What=e2=80=99s_the_deal_with_#if_=5fLIBC_and_other_no?= =?UTF-8?Q?n-Emacs_code=3f?= Date: Tue, 26 Jul 2016 08:50:35 +0200 Message-ID: References: <83fuqxt9dp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1469515867 9448 80.91.229.3 (26 Jul 2016 06:51:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2016 06:51:07 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 26 08:50:59 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bRwCg-0005XW-64 for ged-emacs-devel@m.gmane.org; Tue, 26 Jul 2016 08:50:58 +0200 Original-Received: from localhost ([::1]:37873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRwCf-0000sE-BH for ged-emacs-devel@m.gmane.org; Tue, 26 Jul 2016 02:50:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRwCZ-0000rv-Kz for emacs-devel@gnu.org; Tue, 26 Jul 2016 02:50:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRwCV-00049B-DC for emacs-devel@gnu.org; Tue, 26 Jul 2016 02:50:50 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRwCV-00048u-7G for emacs-devel@gnu.org; Tue, 26 Jul 2016 02:50:47 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 94C5B161325; Mon, 25 Jul 2016 23:50:43 -0700 (PDT) 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 pG6ywyI19kvl; Mon, 25 Jul 2016 23:50:42 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D54DA161350; Mon, 25 Jul 2016 23:50:42 -0700 (PDT) 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 Z8RxTJomoPQ0; Mon, 25 Jul 2016 23:50:42 -0700 (PDT) Original-Received: from [192.168.0.12] (HSI-KBW-078-043-232-182.hsi4.kabel-badenwuerttemberg.de [78.43.232.182]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2501F161325; Mon, 25 Jul 2016 23:50:41 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: 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.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:206140 Archived-At: On 07/26/2016 04:42 AM, Stefan Monnier wrote: > AFAIK, this code used to be in some version of glibc, but glibc has > moved to a completely different regexp implementation many years ago. > IIRC gnulib was the last non-Emacs package which shared this code, and > AFAIK gnulib also dropped this (not sure if it replaced it with > something else or what, tho). Gnulib regularly merges as many glibc changes as it can, and is now using essentially the same implementation that glibc does. It should be fairly easy to merge the gnulib changes back into glibc, if someone wants to volunteer to do that. > So, my understanding is that this code is now 100% ours with no hope to > sync it with anyone else. The Emacs regex code could also be merged into glibc, though that would be a somewhat bigger project than merging gnulib into glibc, as there has been little or no attempt to keep the Emacs copy in sync with glibc.