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: Sun, 06 Aug 2023 17:24:47 +0800 Message-ID: <87v8ds5xr4.fsf@yahoo.com> References: <1428589171.162865.1691134964773@mail1.libero.it> <3473524.ldcX8TXnAK@nimes> <83fs4xslst.fsf@gnu.org> <6358080.k4LH7P0x6x@nimes> <83edkhskyq.fsf@gnu.org> <87jzu97hu2.fsf@yahoo.com> <835y5tse75.fsf@gnu.org> <83zg35qz7m.fsf@gnu.org> <87cz016oxn.fsf@yahoo.com> <83msz4rcil.fsf@gnu.org> <878rao7o8o.fsf@yahoo.com> <83h6pcrbe9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27905"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , bruno@clisp.org, angelo.g0@libero.it, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 06 11:25:50 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 1qSa1F-00076U-Qi for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Aug 2023 11:25:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSa0W-00051o-VO; Sun, 06 Aug 2023 05:25:04 -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 1qSa0U-00051d-LQ for emacs-devel@gnu.org; Sun, 06 Aug 2023 05:25:03 -0400 Original-Received: from sonic304-20.consmr.mail.ne1.yahoo.com ([66.163.191.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSa0S-0000AO-K7 for emacs-devel@gnu.org; Sun, 06 Aug 2023 05:25:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691313897; bh=wuDw/Bm2v8un2e/UPGsfQ/v1Jfh1KPoMirn+Ldaul8E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=BBN8ijPwa07XN4xRsA3kuyaaz+2yVB+IbWJaPZ4ZGUJwsPoJUgLx3NHVdc+nmq7ZMJXaY2DHOK4DEoI191fSKPed9aEPq2wYgg4zZb9CHt+iGIHvNnUsmWsgsR+Wq8tuBDHpy3ROSyt2mCi6SJVQ+JLmKUdiMKA7ZdNUwiO2xv7gYEJFTGWRdsb3mZePr1hUHsSvz6dEIw4PkCgyx4vhpW2l588FdJD2Y28bQrtOBmzmS0I0YiEzBx1FwmLDNu1giiq7+auaXOv8CSaPA1y6gVfRTsheAbx2lQvYHa2AvwWWDPe1MpBv6lFHFryxlZSMyri7WLuIVDZVbMfpQ8E1Sw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691313897; bh=/2vtqSW8bQWay/43wT/4Ot+wOdP/3visN67y8andxSc=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=qCHjkZYH8I5wh5VrNb9RwtmgvHR3qbHa7VRxrzjuJ1e0X2oykqNGjP9QljpkXCi1JI6uGBTPXrDB4s927a6thCpa1fmn35r6jj2nbRUiA94fJYJxpIGiQmr/pcpXKSmDMKMFIVvSNIss6nBRw3VoO3kXhSD7rGnSg3OMN2tLesh6Zs1slbwJFjOe3XNBnRJiaCtOKh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e3fe9 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sun, 6 Aug 2023 09:24:57 +0000 Original-Received: by hermes--production-sg3-6b8fc8d58f-t7fng (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 625da48d32ccab4333c996ddf2c30f6a; Sun, 06 Aug 2023 09:24:52 +0000 (UTC) In-Reply-To: (Paul Eggert's message of "Sun, 6 Aug 2023 01:48:40 -0700") 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.191.146; envelope-from=luangruo@yahoo.com; helo=sonic304-20.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:308334 Archived-At: Paul Eggert writes: > On 2023-08-05 22:24, Eli Zaretskii wrote: >> Paul didn't chime in yet, so I'd like to wait for him to comment on >> this. I see no reason why we would be unable to omit these modules >> like we do with others. > > I don't either, but I hope we don't have to worry about it. > > As I understand it the Android port uses Gnulib printf-posix and > vasprintf-posix modules only because Android printf lacks support for > "%td", "%jd" and "%ju". If this understanding is correct, how about if > we go through the printf formats in the Emacs C source code, and > replace all uses of "%jd" and "%ju" with "%"PRIdMAX and "%"PRIuMAX, > and all uses of "%td" with "%"pT"d" where pT is an Emacs invention > defined like this: And also %n (used in the rest of Emacs), which aborts on Android for ``security'' reasons...