From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Mon, 07 Aug 2023 08:49:35 +0800 Message-ID: <871qgf4qxs.fsf@yahoo.com> References: <1428589171.162865.1691134964773@mail1.libero.it> <83h6pcrbe9.fsf@gnu.org> <11660747.27k8W16iEi@nimes> <87a5v45pmj.fsf@yahoo.com> <15527b3e-9334-c03d-e0a5-0828381a0071@cs.ucla.edu> <838raooy85.fsf@gnu.org> <875y5r4tfa.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31043"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Paul Eggert , angelo.g0@libero.it, emacs-devel@gnu.org, bruno@clisp.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 07 02:50:42 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 1qSoSI-0007vT-3N for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Aug 2023 02:50:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSoRU-0006J8-De; Sun, 06 Aug 2023 20:49:52 -0400 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 1qSoRS-0006Iy-K5 for emacs-devel@gnu.org; Sun, 06 Aug 2023 20:49:50 -0400 Original-Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSoRQ-00085V-In for emacs-devel@gnu.org; Sun, 06 Aug 2023 20:49:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691369386; bh=iJrDmX/bJwcZipYWfY4rFCbgJJCszilWWaCR1awVie4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=uW3RerchgzdCZP8edulBeB2QKTkUkEnCVYrpWu8DhVNmxS0KNv/PfaBkdK+k8NnmYs6LxbyTxKoqdfIHkB8egGHCf0mRBg/Xi9AGUuu4K+RMdOxR/0oxzJKT63Iuibt/7GtpOrIiJWEj5UgTPVTmdN6ZNxXvdjj0XsFnHGoLBS6eCFQY048AmZYQbKeSNDSCt37RwcRB0qmPG3DB80Xd9He51nt9mND3/+EnIihw5I6PBsY3UZlnXc3K03oo3pJ9rJMoTHELNY4RF0AT2IpyF3k2KydXPf3kEvlGy/ABsd4oxLf7AEOjJtw1af2CYVAWFrgAiaLGlaUg+E+1ogttcA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691369386; bh=MMAeMzViDxvTITzbmtBD51mK8V1cMT1mrmVXEDM5+B2=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=cbOXsRYF768161s1Z34YO6Ff3Baxnj4AxLGgdrXYL4OoZWjwFpwk+VcKGUlSaSKFj0c8xvxuK9UqmfXNf1XYCm/Oz17zFZoX/xz685n+RbZxX2QRSsiG5Wyj1rInpIOUqZByiEv4Vg46uXL6QQdayxRlrRBHWZR3yW4aFUkPfU++j23vrg3FjoVSBJGqXnxTncyvxc4TFEJ1rBvOKReQbU2PEaCMiQt/Tc9hwGUbMVHypkgi7vm4lY3GmIq1NgGEKgQFuvIl+2XlPGIDLuo8BRqb5sF4DflF436hntNmptvinrw16R0VHTwRXCZ2mex19vF1YaNC2su6KoTLyDAhOw== X-YMail-OSG: yk0UOp8VM1kdwbHtCoRml3sGQAfNgLd3cPWbP2T1V66sZDWNAmedyM_.KSVRu5k JvB9X_pFqyh9hgWz9l7T7TAZD5s2Rdmer9pgiBz0TzkCDgdO3PGNJX8Irta2FNBDuXBdjqE.GdcC 7WUl4goAD1rZ_d3A_e.FTQO3CRZQSAm_PUJPUkF2zrqmx2OPW_jselJe5zQMT78C0JPI4EFomb0r eqGaEvE9cF0W6RSVg2ruECE02v1X8KaGTzf3Gj.LqopQLPVbIi1Bvg.uEGrVkee_ME6oJJC0xa5_ 5fK_PMtgxLU.lZOEV_mBJ96yp4UBOJrpsa0_b7ry78tOBTxlhqXhBv1sxxlXJbDz6JzSfh2r3LqC hetYWJk8fJ.7bDF7DRlzV85aSGLcZnaEVBUOgCiZTfgHaA_1oEIPzFf386fGWeyjKcsJoXYpxb75 YLtxr0g3LKc5glElG3gQIrS5N7SlZTjXY9j4iPcB2POjACFMp9MnVqRi_qbnaQcAkQCJZ9.I97Uz QelKTpogA3tNr3stOi4ParHatO__11MbXvXA8.ZHKcbZI9zwqM7iPUxsVvj_ZPackfuN9jG1KbDS 6AjYkhLG6RqX6SoTgwMKIfJS_.EVaxI2IoSOwrsXoDFZHhSUuj1H3ieqTHt4geg7DjMiRG5Esy1Z OvEdk.CmehipVjKM8yV9t8aVsS1NG7ksZO0QrEI9lX93RXSnhc6JOaR4G1s81rzrZN14DzChydd8 1cueBH7fGn_rAI5MEYjRDWS2g.aax5.HAGDa4CUg2GYP0jM2AsJ.GISjc73X8.GTJlquy6578q_6 PJNWnwmcx1EvF77nxKM7eucyqm8BmteUPQN2Y0jIBR X-Sonic-MF: X-Sonic-ID: f16800ac-9749-4017-a73f-a0d09b721c29 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 7 Aug 2023 00:49:46 +0000 Original-Received: by hermes--production-sg3-6b8fc8d58f-jwkjf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f50955bbf8fb325b98668c1dd65a948c; Mon, 07 Aug 2023 00:49:43 +0000 (UTC) In-Reply-To: <875y5r4tfa.fsf@yahoo.com> (Po Lu's message of "Mon, 07 Aug 2023 07:55:53 +0800") X-Mailer: WebService/1.1.21695 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.33; envelope-from=luangruo@yahoo.com; helo=sonic307-10.consmr.mail.ne1.yahoo.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:308393 Archived-At: Po Lu writes: > Eli Zaretskii writes: > >>> Date: Sun, 6 Aug 2023 10:44:09 -0700 >>> Cc: Eli Zaretskii , angelo.g0@libero.it, emacs-devel@gnu.org, >>> Bruno Haible >>> From: Paul Eggert >>> >>> I understand the reluctance from the Android point of view. However, >>> printf-posix imports 69 new source files to Emacs, and these files have >>> not been tested extensively with Emacs on non-Android platforms. From >>> the viewpoint of non-Android Emacs platforms, it's significantly less >>> disruptive if merging the Android branch does not add 69 new source >>> files that will require testing on these platforms. >>> >>> And even from the Android viewpoint, no matter what we do to fix the >>> problem some testing needs to be done anyway, as the fix is likely to >>> affect Emacs in test-relevant ways. >> >> I think Paul makes a good point here about those modules not being >> tested in Emacs on other platforms. Avoiding addition of 69 files to >> Emacs is also a non-trivial gain. >> >> Since Emacs 30.1 will not be released any time soon, I think we will >> have ample time to test it without the *printf modules, and find out >> and fix any issues this could create. >> >> So I suggest to give this solution a chance. >> >>> The idea is to get feature/android merged quickly. We can revisit the >>> use of Gnulib's printf-posix module later, as needed. With luck >>> printf-posix won't be needed, as Emacs historically has avoided use of >>> unusual printf features (for obvious portability reasons). >> >> Right. > > I plan to quickly test this on some old versions of Android and ack. Cursory inspection indicates that Emacs functions correctly without the *printf modules on Android 2.3, 4.0.1 and 4.4, so I've ommitted the modules and merged the branch to master, after removing the w32-specific code that disables them. Thanks for your help.