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: Thu, 19 Jan 2023 22:34:22 +0800 Message-ID: <87sfg67fv5.fsf@yahoo.com> References: <87bkmv6z36.fsf.ref@yahoo.com> <87bkmv6z36.fsf@yahoo.com> <83y1pzyqed.fsf@gnu.org> <875yd296la.fsf@yahoo.com> <83lelyzuph.fsf@gnu.org> <871qnq91l1.fsf@yahoo.com> <835yd2ps1v.fsf@gnu.org> <87wn5i7id9.fsf@yahoo.com> <831qnqppkm.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="6752"; 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 Thu Jan 19 15:35:38 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 1pIW0v-0001dW-TU for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Jan 2023 15:35:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIW0B-0006m0-3A; Thu, 19 Jan 2023 09:34:51 -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 1pIW04-0006iN-SH for emacs-devel@gnu.org; Thu, 19 Jan 2023 09:34:46 -0500 Original-Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pIW03-0006QA-87 for emacs-devel@gnu.org; Thu, 19 Jan 2023 09:34:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1674138876; bh=k1qGb/vvLriPQqt/p0yAhEh6TDUn6dSuC9agxDRVIc8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=d4jhtyLJb2TfLG5PCh4FAcCU/OTlcvXs93p2GYZqmJvwgdLTd7gk9jGurmrpSiaij+7X0+wLL+74m0YFHTFKc7W2Dg6CzAAEbXisqS9JWblwkkX3Zj5ydwXUgB51duAseFxEs1A2tE8jwjcFqhpifX5Q4bDRhFB1f945Ncny+n4Djqy0NB9efOYEiOm8GfR9UK1bmlTp7Bu1BonaOf7uCF/ASEZ8hhzIZxnVCKK/2IIoHfVXNObPmsGEtKm57fPnBkcF29x3UrAZ+diRzNIlXaFdG+T/Hdf2hHvlQch1ZRJF3Gqww6UOBF74hI97EMsQ1Wv6sKEVckL1QCwDRy8WOA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1674138876; bh=rz87KVePeKW0fj9uPjeAxchdU7YAU91RhwYC/KDUPAv=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=jvnBIiqiEswP3bX1EMg7RRebVLapsX2uKSvq/Ms20pw2gC/d/WnUt3nXEVPzccyLQPkRLd+L4Odn//J0jk+hQ8OSKcHIoRZteUzhks+W6nVqehxfZcqI/3iR4RPFfddXEkmnNH7FP2lQj54zslvBJ1Ncn26vgMoVbZvEphZFc+u3QN3qxDj1qdrGhze1V9NWeMhX3d1VZGr8tw4/SB62ClUd5dEzu1PpBVZc8pLOChq4Eb6Q661thtEC9qXMOS0O1ZFltmk7CYJxvJUydlgHhTqWDM1Jhkv3fkVsS5ulEDKOADnFmozsnUf2Yxd5valIjo7S1kBaGtuU/+G6dXG+/w== X-YMail-OSG: lkPN.rEVM1nmVWK.yuNFJUuPuz810j_9tywrIerUs3dlNMy0YwZLNjANE4Qd8I1 M1nuAvADMUlojS9Siqjj3Ea2NbT_lZsUxXXMlBMdLuaE8fRGpqAezVXvcZCvGuMoU6_6CfVHOhzG MnDJBEYLkZG5ntuGdM4835nhT.N3GhQO83EjZSD2BuLTA4J9BvD9msA4OGx2_ZqKFzOFBzBtyT0g QhK1Vpis3dwoV2VAIpV.O6FRbI53VNbXrbdAV84SrYT6ggoKRFl1fEXA55TZYy6yEBfl4paWwv1D y0E8dMtwO0CJ4SUncfW2azotcJmU2VZbfclHCoapVxCqArUEe3W.yJ8I.7.lJEr5QRfHXyMy6dc3 ziEsSjJ0a6PBGzmwlfCdPJsAkYtNq2nOvsvgl_WMQEtWQB1aq2FjGYVjYYkn6R5fDndLj7tOM1BU q5_rHkmI_VnVV6dbOQGHFAtkjEPwAa0UWV6JYz8gd10vGyOrrj.5Fv9u.CMrqM9Qc4Yij7265ZPN FtRjZWIs1yuBjGIbjyAmFjHZ3xiVIPJ0iHPdJVUUeF_fjtbAOqJytKl4KM1_FjakJ9kCfChoL_Nm 7ryXebEQjWUfQ0oGMBKp9_Mmr9o.tEczOBUHadH8Xj01k1efMR3t.Je7ew_CDAhv39wroHpmnqiR JgvPVFehrUwTIYgcEdfpmc9nTkfs20pF8mCCsVs8yHq_stNiyukKuKDGpRurm87Q0GsNQ5MqBx2Y 3Fz0pPku6G9KBJ6mYKYoU9gGJJpzaU2kdclYsJElXZ3w5MNFCXc8gBbEfMwUUbITHpqyfjqMbqOR aiTgNDm7Sq_tP.lPi81_m1YaLj0Msl7TIiigZaf7Zq X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 19 Jan 2023 14:34:36 +0000 Original-Received: by hermes--production-sg3-84766d64d7-n5jwk (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cd3b2e81f5aad78b542b1e8d5795f9e9; Thu, 19 Jan 2023 14:34:31 +0000 (UTC) In-Reply-To: <831qnqppkm.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 19 Jan 2023 16:27:21 +0200") X-Mailer: WebService/1.1.21062 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.146; envelope-from=luangruo@yahoo.com; helo=sonic315-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, 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:302547 Archived-At: Eli Zaretskii writes: > First, we need to decide whether we indeed want to have this in Emacs. > Android is not a free platform, so when its support comes with a lot > of additional non-trivial code that we'd need to understand and > support/maintain (including a lot of Java), we had better discussed > that first. OK. But to be fair, I had zero experience with Android development myself before working on this; I have taken care to keep the Java code as minimal as possible and comprehensible to C developers. > If we do decide to have this, I'd definitely want more documentation > of the internals and how they differ from the "traditional" platforms > than you have there now, and preferably in one place, not scattered > among the many source files, Makefile's, and READMEs. Sure. Please feel free to describe what you find confusing, and I will try to document it in the README in the java directory. > Then there are the design decisions you made: how to support windows > and frames, how to handle the "task-killer" issues, how to handle the > Android's access rights and privileges system, etc. > For instance, I was quite surprised to see lack of support for scroll > bars on account of them being "useless": I'm a happy user of an > Android smartphone, and I use the scroll bars all the time. I tried to find the scroll bars in a real (as in, not Emacs) Android application, and could not find any at all. The scroll bar in the toolkit does not respond to input at all, and disappears after you finish scrolling. Besides, the Emacs scroll bar implementation I worked on had major problems adapting to touch screen input. > If we are to have a serious discussion of this, I'd encourage people > to read the code of the branch and bring up issues here. Yes, please do so. Thanks.