From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Android port (was: gnulib fsusage) Date: Thu, 19 Jan 2023 16:27:21 +0200 Message-ID: <831qnqppkm.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4422"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 19 15:28:01 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 1pIVtX-0000xz-OO for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Jan 2023 15:27:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIVt7-0001sr-J5; Thu, 19 Jan 2023 09:27:34 -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 1pIVt1-0001lj-Br for emacs-devel@gnu.org; Thu, 19 Jan 2023 09:27:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIVt1-0004Ss-43; Thu, 19 Jan 2023 09:27:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yS3xX80eN8RZdZdJaWuzO/4VwJ5KslAyd6HVIIb8pyk=; b=bFdzE0EyRlYF vGdgaVx/r2EUBLZ0T1NgkqMo0vAF92LYsqXQMpG198ge2ftAlAxF26Xe28Rbcms6O4Pjr6Sy147zu Uuwh4/WG9QSD239ZQaG03dfSVjTtRw8gJoylxxZ0pWjP8emVM96XfKZ2fPlaGoPOcudRh/uKnGmCt NMDMLMag4HIyy2+2+bgjkz6GMzSOXJwqD59pDSOI+xg3osyrRbPfj1p0cvq3NvHr6lZy5FqKI3Cjd nPYNW9ijKScZCe6Lg05Al3E1TTFRkVxokMqO688bw1Unov9efgMi8okNb3oOsBmChTisAT7VTtyGl vicVj/zWTYFx07qMl5sZcg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIVsz-0004Fn-Jy; Thu, 19 Jan 2023 09:27:26 -0500 In-Reply-To: <87wn5i7id9.fsf@yahoo.com> (message from Po Lu on Thu, 19 Jan 2023 21:40:18 +0800) 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:302546 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Thu, 19 Jan 2023 21:40:18 +0800 > > Eli Zaretskii writes: > > > I didn't just read your request, I've looked at the branch. I'm not > > sure I'm happy with what I see there. Too much stuff that IMNSHO > > should have been discussed before coding it. > > Could you please explain what that would be? > This seems like a good opportunity to start discussing it now, thanks. 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. 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. 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. 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.