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 of Emacs Date: Fri, 16 Jun 2023 21:17:31 +0800 Message-ID: <87sfarfswk.fsf@yahoo.com> References: <83v8fnslfz.fsf@gnu.org> <874jn7h848.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="26199"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 16 15:18:35 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 1qA9LX-0006fb-58 for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Jun 2023 15:18:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qA9Km-0007rT-JK; Fri, 16 Jun 2023 09:17:48 -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 1qA9Kl-0007r6-5C for emacs-devel@gnu.org; Fri, 16 Jun 2023 09:17:47 -0400 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qA9Kj-0001qZ-1I for emacs-devel@gnu.org; Fri, 16 Jun 2023 09:17:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686921462; bh=sV9cnBYX1c19xOV0FbNuGpRgcxTvp8DaDBM+tF4hLBA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Xi+TeQrQP+V4dOLtG8bOaAstRLXNWf89v1n8vDti6JJh4Ae38M67s65FzbZAXYCT8EOJivkh3vd57jx05qbsM+jIjfsN1Wm9LKqNKNdyw3xLXhEy9kHsbxPxHYTq88qhlnVRKyPrybPx22Vg/nHLyiXmoCcOiMX8s/uE6krwLvEeGsLuQpMhrqjPOX5g4ZZs58dsk5nncy8/js6IDTcf//9eXKFE5EgMct6tYyOXXIeSNfkcGcPyEpd9rp19Jdgj2cvahwWHnTtDOzFWALvWfYZ4YQaL71jP4U+IaWJCvuE1N0BsSvFfaMsE21zn5o+CWNy8Xmr1QR4Q4XgiDtIMoQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686921462; bh=oiYXzzL1Bo7wWhHL4VIi0KYRXs24GnQWhpmS5CP3Pq0=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=GeqUgmCIuMtNWBaFNNVNoyfJLs+lkLDgrdd/LOOp7WiHVO2F+vt8Z8syKgE+R7BvYHmkEF5lmo/ROrZNZNEs5pk8sxxZNG0AUM7j3+vNU91WApKfYwRsrTNMjUYAelxS7aTf93l52zGwUUg3LksGD+9brKVZJ0fd/TZsiJDLnN1KsT6RXCE46ogwOXcQ6Aah7kL+YP47Ow3kDQUdb2Fp+RQ749whG5a6nY8bSGjOSmO1AOTrSisqCszfBP9pRkawTXKBNOQI5Moa8IGZ5e33wKtjItz32wTzM/QxHUGBORRzj58ns8BMmj4Oe78H79LxGb17dhLiBiiKET/W0nrflw== X-YMail-OSG: V_QpqkkVM1lACFfPwvCcnt1bkdmQ4c5enyK7xjx5J8VrxohB.p4QeOfuVGTeONK JlABGWXzr7D7v5SB1gP2owpTO_KAkDBNRhvW7OfAGgwgb04fu5aBhGdVHM_umcSO_oInPbzo6K1p S_twLjx3NAMO_FJURX7xQc91SADoVLl3sDcTemeIhT0DnIr7FttwWD4yasajdPXlVk3Z6tYixWm8 Y1LxCE5CaJmHrExQ2ph8FoNF7q3BjhkC3NjbdD44026oFnynPvel21SidQlasoXuqERLHs7pt3zf ywBoo9yEtF1ee5MrJx5toOz1p7lQASo9wsqfhIX3LoViT_4VLJ1VYIU1Sf14u.7nYZv1vGyF.4L6 BkzpPoXFlFaaFT0fg0OJb6Tk6WjY.Gk2D8SgYBGMUaE4Y1LTV3RmX6.gYtoKPydPEX3mfq72qN0p nqhqZzJR3n1qOK5SpY59wp9NfNxXSmz.xVyZavc_D7lXepiH8s.k_XfcGpbC7Yub3fnnmvCwvRrY RIF9I5rk_FKC3MWdtQywGrIn_vdpSu6B7NkuabD1WPYL9mzJthM6DGdRVcnbmIeP6DNA67eKSV4j ._0hWViSVIUAN1.GYNIvB97mXI06krRyc9O9FDhG2DYcyGURfyvNOaDhurX4dx6v9IoSSJl2Kvpt TNqFRU6P4vyEM7eBfV64SlOOs4PZZGkBWA1ctqqly2VEd5TJnQ_6f1akqbrn.XXvgLIV3bcRgL59 CB0hoibIcu1RKrKRMbJXiwIEzt_CO8I6IetUmiiXaw2_RNHUbmrLtoMBFYeWVOZacnl91Tb9YyS7 pqNaFhoCcTiuG33ZNCOiWul8ozEoWqt99Qt2TUvm3y X-Sonic-MF: X-Sonic-ID: 3793b424-4771-40a1-b90c-83e80d00b3ba Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Fri, 16 Jun 2023 13:17:42 +0000 Original-Received: by hermes--production-sg3-748897c457-fnrhv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5bd72b675e09a70b12e39b93f1768c24; Fri, 16 Jun 2023 13:17:36 +0000 (UTC) In-Reply-To: <874jn7h848.fsf@yahoo.com> (Po Lu's message of "Fri, 16 Jun 2023 21:03:35 +0800") X-Mailer: WebService/1.1.21557 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.147; envelope-from=luangruo@yahoo.com; helo=sonic303-21.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, T_SCC_BODY_TEXT_LINE=-0.01 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:306831 Archived-At: Po Lu writes: > Here are some more facts to put the maintenance burden into perspective: > > - The Android port is being developed by one person in his limited > spare time, and even under those circumstances was completed in 4 > months. Synchronizing it with other changes being made to Emacs is > trivial: even as it stands right now (in a feature branch), less > than 5 minutes of my time are required to merge the master branch > and prepare new prebuilt binaries each morning. > > - Problems posed by the Android platform have already been solved, and > the solutions are likely to benefit users of other systems as well: > input method and touch-screen support come in to mind. > > - There are many free software programmers with Android development > expertise, especially when compared to those who have experience > developing for systems such as DJGPP. Thus, if necessary, it should > be much easier to locate a replacement Android port maintainer than > one for the MS-DOS port. > > - More commentary on the Android port is going to be written before it > is installed. > > If the Android port is installed, other Emacs developers are invited to > make changes without consideration towards the Android port. I will > correct the fall-out, or the Android port will be broken. > > Thanks. As for the size of the Android port wrt other ports, here's what a tool for counting lines of code reports on Android-specific files: $ cloc android*.c textconv.c ../java ../exec/*.ac ../exec/*.s \ ../exec/*.c ../m4/ndk-build.m4 ../lisp/term/android-win.el ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 13 5111 3702 16679 Java 37 2055 1712 6118 Assembly 6 23 86 1150 m4 2 131 40 846 Bourne Shell 1 54 62 252 XML 10 81 148 232 make 1 60 84 187 Lisp 1 42 43 152 ------------------------------------------------------------------------------- SUM: 71 7557 5877 25616 ------------------------------------------------------------------------------- and on MS Windows specific files: $ cloc w32*.c ../nt/* unexw32.c ../lisp/w32-* ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 22 6601 8580 34443 C/C++ Header 25 290 393 1072 Lisp 2 70 90 371 make 2 62 112 164 XML 2 0 10 70 DOS Batch 3 7 35 32 ------------------------------------------------------------------------------- SUM: 56 7030 9220 36152 ------------------------------------------------------------------------------- as such, I don't think it's really fair to claim that the Android port is significantly larger than the others.