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: Thu, 10 Aug 2023 20:50:55 +0800 Message-ID: <878rajrrgw.fsf@yahoo.com> References: <83v8fnslfz.fsf@gnu.org> <121acd3282a64abf77d6@heytings.org> <215b00d2595bec215977@heytings.org> <215b00d2598ab5cc7d0a@heytings.org> <489f350ce63391ec8d49@heytings.org> <3283828c9732e5f433ab@heytings.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="39192"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier , emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 10 14:53:31 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 1qU5AP-0009qI-La for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Aug 2023 14:53:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qU59b-0002Xu-Ux; Thu, 10 Aug 2023 08:52:47 -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 1qU58K-0002F2-Ng for emacs-devel@gnu.org; Thu, 10 Aug 2023 08:51:35 -0400 Original-Received: from sonic312-23.consmr.mail.ne1.yahoo.com ([66.163.191.204]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qU58A-00074X-BR for emacs-devel@gnu.org; Thu, 10 Aug 2023 08:51:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691671868; bh=CCmwymte1oSXIN3/V5VYpwUCVgyubN1kAm8gs0ek3bg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=tsJU7t0nY7R0GESDoolPnTo0oBAi87eI08IBO95TMO/+bvXZPI79sECJMLJ27nKWpPaFaLoxWiem3PBnurdh9dqEXfWPRvRDBRsfHra4eOwmNgJHnetp2Sl5v6KiS2RqsrsMkvjtqfXZ4bg2RNX8alB9+U6aiCecknngMxs4ZiO732qVjGXgXFjiL2c0iRKWxKQzXHHaSUhu4G6hP2OJdFjlqjUsu0zd6GGNHWWwphj5zSR5llVxa1jXAenK+q6At8WQ7xXU5jdwHzYWMh2UzAgt8qaup97KfrVdV0ZM+apihzj6Fru3lwPyqBs63FMrrPe+PAXGeZ29PcL0YmoErw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691671868; bh=MJD4pYv53nb3JvuBUgmNKyOag+OW7YqfIWtv7vQRwxd=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=nELpR1j6LTEccOeGmw5/E7WrhIb7PC2+2ywKwVYWIYSETrZJtp+vLxhUG0SixN+xNv5X0RBKEVL+UJHz/GH+wN1lZ+bktFnbCOMpZOp+/vfw+NP71er746rLfJZE880cfEvQkj42As4LCCvzLiVCYkKUmyl3EUNtZ/X02HEgxiOCKXvae9hqpeLFTcSr0kA5/DsjP4bLFzxAKpVoS+ZAGmYCRZ0e133/bNcKkk0BIF59VFCuSZ0l8sOQiJxQfuNoG0fQ4NHiZYmCPkEzVr7FMGyfZ3YaC8FyAOV88NDN2Fj+RMwoY2fblSEhUx/44sWHFTYVkKZ/I7DZEOeCYT2ewg== X-YMail-OSG: SvsdmyMVM1nmeumKOYiNhM1WeQhyZVcW1xgJlH._sAMITP77Ffw_yEwnTKzokxe V7KDzwy1nGgMwLHCquYWezNDXnR1raxqY9.iWS7IYeDM3IA7X04UceeVv_70RvExlnWZ95o.2jPx .j2CXhmjydO.UUipB1J_2jFTA8lyBq6GZdzNkxWf8_HDjtvi28Cbcqf1cdxjHnKKZyJ.hkZm5x6N ftjFTuFULn.WmzZJGC0sffA.YYzlkrUNIEkgTk6HB_KAB6o896GRw.iqIBj99_Bnd1auyEtZHWbs 3rnEb0n7OtmtQhOqDdyPpRdkre1iLEN3ZrcmmYiKqaCIJLXG69yENZxmo.A_qEukJLW.28U2C5xN e2tBvnyHBtwxKkJwQLxqUBJ1TPGjmX6v30y8pq_TkYfsLvQbxL4oHClquNomchvsBw.ljmE4SdxA nMoogEjmScwZB.iD2eAdii8kVEwrS_Yo9Mx6cBZIMFB.e.xXEVJxWljtYvIrHVkHxYuC0d1jWw6j kCXuPqMqL5aM9NrzcP3ptw5lcKgOYfX0ewTQWDfnBZARSY4VRWJwxLPycg.OTf4NbTc37qOPufC4 9cbu513OkHabWShXHuCStZT8nCCR4qc0J1ma690jlepVay8_6EL_Sty3WHBmQBh1dSEQlsAhwaA7 GanDPpKFbubykUcbv.cI1dg8Sgnx9LTHQhPha04RED5ctniJvJeq5x.thEfzVNHhsqRX0Ap_Pl.Y v4UwrXO_7i5F7bs2kUMpDAUircjeRrrrUIsbMAtLEMK87lBX3QoFNWEoPn._udZ1cm.lTWBFaQDE s5iE39mooxmA2To9NPCxNHHJqFoxSEbqA3250EDHQL X-Sonic-MF: X-Sonic-ID: 180e37cb-8ebb-4550-a3bf-f2e05300c405 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Thu, 10 Aug 2023 12:51:08 +0000 Original-Received: by hermes--production-sg3-69654d8bd-2bh2f (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8aa7223ba4b17aebc049086623b396f4; Thu, 10 Aug 2023 12:51:01 +0000 (UTC) In-Reply-To: <3283828c9732e5f433ab@heytings.org> (Gregory Heytings's message of "Thu, 10 Aug 2023 11:28:44 +0000") 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.204; envelope-from=luangruo@yahoo.com; helo=sonic312-23.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=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:308527 Archived-At: Gregory Heytings writes: > performance." And that was in 2016, Many people evidently disagree with his assessment, Stefan and I included. Would I have spent eight months of my time writing such a port otherwise? > in the meantime the situation has improved, in particular with > Termux:X11 (in which, unlike what has been claimed, input methods work > perfectly well, and which supports touch events just fine). Really? Can you demonstrate Fcitx5 for Android, Trime, or GBoard working? Or something as simple as the English input method's auto-correct. My standards for ``working'' refer to operating on the buffer text itself displayed within Emacs itself, rather than to any transient text input field provided by the Termux app. As you well know, this is how text editing works with input methods on the X desktop. To utilize input methods on Android, a widget must provide an implementation of the `getInputConnection' virtual function, and implement each of the hooks within the input connection returned. Where exactly in: https://github.com/termux/termux-x11/blob/master/app/src/main/java/com/termux/x11/LorieView.java do you see any of this being performed? Concerning touch events, the question is now moot since the feature/android branch was merged. Prior to that, Emacs could only employ the X server's mouse event emulation. All of this doesn't even begin to cover the other features offered by the Android port, encompassing everything from direct access to the Android filesystem to operating on Free versions of Android old enough that support for them has been removed from Termux.