From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: [EXPERIMENT] Emacs with the SpiderMonkey garbage collector Date: Fri, 24 Nov 2017 23:27:12 +0000 Message-ID: References: <6f96617b-2c9a-2a2c-d39e-779f275c9bb8@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1511566110 2074 195.159.176.226 (24 Nov 2017 23:28:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Nov 2017 23:28:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 25 00:28:26 2017 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 1eINOU-0000DV-00 for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2017 00:28:26 +0100 Original-Received: from localhost ([::1]:51432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eINOb-0001mH-6D for ged-emacs-devel@m.gmane.org; Fri, 24 Nov 2017 18:28:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eINNz-0001mC-GI for emacs-devel@gnu.org; Fri, 24 Nov 2017 18:27:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eINNy-0008Rc-JU for emacs-devel@gnu.org; Fri, 24 Nov 2017 18:27:55 -0500 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:33196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eINNy-0008RX-Cs for emacs-devel@gnu.org; Fri, 24 Nov 2017 18:27:54 -0500 Original-Received: by mail-wm0-x231.google.com with SMTP id g130so21782721wme.0 for ; Fri, 24 Nov 2017 15:27:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=c+3AAsWsumdYuBYaz/0MKq7kaSgmdctMIyep6czSOWQ=; b=gRV+BaIlYGIInC1+LA2afbc2IQ0GCTklgAp/2E6gtJukgew/FbotpNli9ZZ1yByYVH APWGEzSLM1iAWdaoPo1U+e19twLjFcE/uTnM6YUoOJXYG+xkKH/PVNJepVqJQaaD2Ksu txoYY/Fel0ezhjxY5C9Mxiaru/etzhdrdfljPjovoVIWBFIvjCuy2rXFalUfvU62426s AJ3icfciLsgfflkQJlHYjv3cmIsQAEIFb72+qTDfRLP7UVJ9fcR8KDMdi4JNnvBPXV6e GfTAxtuwdE+yL1qxm410x6qMqboYw7VAhQZKqSZqkhWx4hl3XclZRe16yeJCms329kZC WgtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=c+3AAsWsumdYuBYaz/0MKq7kaSgmdctMIyep6czSOWQ=; b=dPKWFtCfP3gZaIB1T8vZTIQC18sB1Qt/qOHrdOjsYTWz4mXPignSsRcC8Lobaw5lso +ByHnmzF/5qlEuYz9NAj8yLac3JYEoUdFNn8XkqQ/IZdG2cGkUdueqrikB9lBmAWKTAd GC+g4IKbKxNtUkRdWOVjUz1HbKpTsVkJ7UXNMy/igA5siY0v1vegLhr4ftxljViojiBY 3lgnEBJYfWHkpEZi5/IVzkGrOaQ2PNuuhy++bc1shH8kERRkSPEC3GETm5utujg9vN+X i3ntF67Ygn4bkM5gg/vsCu5FcSESh1KhSv3Ysn3XRMwQS4BZbKoq7VDWFxrusASJKI0H shlQ== X-Gm-Message-State: AJaThX6QI0sr4SfkuasewjWJIaSCRTO997Ja0Ioofy+hV335veLUDoVz YRIJEwi9sq5DenXiRylkHkTDXXQLSN1oSNKlDMc= X-Google-Smtp-Source: AGs4zMbDPj6LL9r/eVHDyc6oR75jJee45sPTQlOq+ycti22GzdG2Q/ANDaHdAsxaflPQWvcEozM3Rf2R34jfd+9CqP8= X-Received: by 10.80.134.108 with SMTP id 41mr42207674edt.69.1511566073297; Fri, 24 Nov 2017 15:27:53 -0800 (PST) Original-Received: by 10.80.150.6 with HTTP; Fri, 24 Nov 2017 15:27:12 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::231 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:220444 Archived-At: On Fri, Nov 24, 2017 at 6:20 PM, Paul Eggert wrote: > Pip Cet wrote: >> The most vexing issue for me right now is that I haven't figured out >> how to get gnulib working with g++ without modifying files after every >> sh autogen.sh, though. I admit I don't understand the gnulib build >> process at all, so any hints would be appreciated. > > Emacs has a special way of using Gnulib, unfortunately. I wrote the Gnulib > interface (sorry! :-) and so can perhaps be of help here. What sort of > modifications are needed after autogen.sh? Perhaps we can lessen and/or > eliminate the need for them. I have to remove the memrchr prototype. Editing gnulib.mk seems like it should help, but for some reason it doesn't; is gnulib.mk regenerated by autogen.sh, and, if so, how do I change its options? >> The other issues are minor (a union and a typedef sharing a name, C++ >> keywords, enums treated as ints), > > > If you would submit patches to fix these, that might help you in future > merges. > Of the three, enums treated as ints seems like it'd be the most > hassle, as enums are the only way that C has to name small ints that can be > used where an integer constant expression can be used. I'd hate to have to > cast these names to int every time I used them, just to pacify C++. Perhaps > the enum-to-int business could be handled by the C-to-C++ translator > instead. So let's do the first and maybe the keywords, but leave the enums in.