From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Merging feature/android Date: Sun, 5 Mar 2023 03:38:13 -0800 Organization: UCLA Computer Science Department Message-ID: <0100f288-fcc0-8b91-5f12-18bf22969e50@cs.ucla.edu> References: <87edq7ztks.fsf.ref@yahoo.com> <87bklay7wg.fsf@yahoo.com> <83ilficn4k.fsf@gnu.org> <87zg8uw9b9.fsf@yahoo.com> <837cvycjse.fsf@gnu.org> <87ttz2w4c3.fsf@yahoo.com> <83356mcbxw.fsf@gnu.org> <87pm9qvu9w.fsf@yahoo.com> <83y1odc37g.fsf@gnu.org> <87cz5pwf9c.fsf@yahoo.com> <83edq5asb3.fsf@gnu.org> <875ybhvt4w.fsf@yahoo.com> <83356kbxnh.fsf@gnu.org> <87lekcvho4.fsf@yahoo.com> <83r0u4adgd.fsf@gnu.org> <87a60suknn.fsf@yahoo.com> <83356jafll.fsf@gnu.org> <87o7p7tz16.fsf@yahoo.com> <83sfej8v17.fsf@gnu.org> <87fsajtrrx.fsf@yahoo.com> <83o7p78ns8.fsf@gnu.org> <87y1obsamf.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28859"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Cc: emacs-devel@gnu.org To: Po Lu , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 05 12:39:03 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pYmhi-0007ID-LW for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Mar 2023 12:39:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYmh3-0006kf-2W; Sun, 05 Mar 2023 06:38:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYmh1-0006kV-Ns for emacs-devel@gnu.org; Sun, 05 Mar 2023 06:38:19 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYmgz-0007YV-Ia; Sun, 05 Mar 2023 06:38:19 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7B05516004A; Sun, 5 Mar 2023 03:38:15 -0800 (PST) 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 yOH1TmM81TPC; Sun, 5 Mar 2023 03:38:14 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 35302160086; Sun, 5 Mar 2023 03:38:14 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 35302160086 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1678016294; bh=Jq3Sq03a0JAiwlwaaPgSTkFXurKrT3GC1XFCf/SkL4w=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding; b=QTF0+KqHWyUJSmJGFtxeLvPyrmz+HJN+C7kIi8uI+QLNqKIa2+dMjZQCShPiKjulx HvPF4io1gJ648AEgg49OpGg4zhPriFqGLYY0TFwP3/WBbqUl4Aqu0BsHiVVeACyM37 YxuUB/tj+wHPCLFFPPh5ia6TnSDs5ug52r/D87iQ= 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 6gacWG6bai2H; Sun, 5 Mar 2023 03:38:14 -0800 (PST) Original-Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 0981916004A; Sun, 5 Mar 2023 03:38:14 -0800 (PST) Content-Language: en-US In-Reply-To: <87y1obsamf.fsf@yahoo.com> Received-SPF: pass client-ip=131.179.128.68; envelope-from=eggert@cs.ucla.edu; helo=zimbra.cs.ucla.edu X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.089, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303977 Archived-At: On 2023-03-05 03:25, Po Lu wrote: > I'd like to see the discussion where it was concluded that the > cleanup attribute is absolutely required. It doesn't do fancy things > like clean up after Lisp signals under the hood, so all of the cleanup > can be done in portable C as well. As I recall there wasn't much discussion, unfortunately. I very vaguely recall that there was some worry that Emacs modules would be written in C++, and that they would invoke Elisp code, and that this meant it'd be hard to do the cleanup in portable C. One option that was discussed was to require a C++ compiler to compile emacs-modules.cc (i.e., to write the emacs-modules interface in C++). I expect this would have addressed the cleanup issue in a different way. But RMS was very strongly against requiring a C++ compiler. You may find this patch useful: https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg01075.html