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: Sun, 25 Jun 2023 12:04:37 +0800 Message-ID: <87ilbc9oh6.fsf@yahoo.com> References: <83v8fnslfz.fsf@gnu.org> <83edmask4z.fsf@gnu.org> <5c02371a-3c42-de66-70b7-4ed0d88cc3fa@gutov.dev> <87cz1td0ku.fsf@yahoo.com> <87cz1ta5fr.fsf@telefonica.net> <87edm645yy.fsf@yahoo.com> <878rc95a1t.fsf@telefonica.net> <87r0q1vwtl.fsf@yahoo.com> <874jmx55ek.fsf@telefonica.net> <87mt0owgjf.fsf@yahoo.com> <87zg4o47vi.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24236"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 25 06:05:56 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 1qDH0d-00064f-Ic for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Jun 2023 06:05:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDGzj-0005Ru-5F; Sun, 25 Jun 2023 00:04:59 -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 1qDGzf-0005Ri-H6 for emacs-devel@gnu.org; Sun, 25 Jun 2023 00:04:56 -0400 Original-Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDGzb-0002wa-Vu for emacs-devel@gnu.org; Sun, 25 Jun 2023 00:04:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687665888; bh=maKU4w2ywLmBVlKxqsVKnmsWKSgxgoAbx8NeI2PEcII=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=oEuEjLQPGG5jnxNJB1pKLM1KrsZbJ+eiwey5LQySdghg17ho/qPH+26Fom2Uegni/BE9fWR3X3eQ67lGhHDJjoxHCHf4kXthlGOyiniz7tHPwyndtj3hfFBHf2xwkVxMCNjq48g0pMMq8yu1ptT3yosQEXEeuz4rPjCFG1zytvEFoiSojDnDnfP0nG+/qowbf4OFfKN+g5xFpkMhKyGpfHSaX1Qen3hWvG16mumADwpHMacYXqJMIsSLiH9D4uNBm71Rvreu6fJY2ABEccHqkEhZ+GD7KWZyZgsqYzu4rFyWlr+HC3x+vvXDKxCPWyZSmZhGMY5pOmVSNYwWqQDLgw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687665888; bh=srEgB0t+4DR7EqupODnlumIILR7gZXkt96DMkPcSTSf=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=GrmODiq8zxmzgLv4Qtt0CENBxop3oMe8QTCjU1Sfx9Q+Y4C3MYSBtv3GN3TRhmc8y7U7/5WT4WK5WSwS4uaxdbkIdyA4D2TbxYpJbcXwDnsHtGu73yv1xaulnnioMUYnW1E/v14z7hf1H/Pm5K54qYq0ykdmU9L2EZzXa64zU96GN1qbukUOZfLaAvdKotNu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459523a79c Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Sun, 25 Jun 2023 04:04:48 +0000 Original-Received: by hermes--production-sg3-748897c457-6p8nk (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 76ae957b2cfcb2b1a9c631c13262d667; Sun, 25 Jun 2023 04:04:42 +0000 (UTC) In-Reply-To: <87zg4o47vi.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Sun, 25 Jun 2023 04:02:09 +0200") 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.187.148; envelope-from=luangruo@yahoo.com; helo=sonic316-22.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=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:307203 Archived-At: =C3=93scar Fuentes writes: > There is a Termux extension on the works for supporting X11 and Wayland, > so that can change on the future. Other projects (UserLand) provide a > graphical environment out of the box. I just tried Emacs on UserLand > (Emacs 28.2, the GTK build, from their Arch distribution), the > experience is not great, but it runs. Those programs run an X server, but have to be started by the system anyway. The experience is not good. > Installing Emacs as a separate step would not be an issue, but if the > user could launch your port from Termux/Userland or from elsewhere > having access to all those binaries, it would be a boom. If you start Emacs and keep it running, it will be able to access binaries from Termux. I think that is sufficient, but if it's not, I'll try to figure out how to run emacsclient from Termux as well. > Today I tried your port again for about an hour. It is obvious that you > use a hardware keyboard ;-)=20 Everyone seems to think that, but I don't. > Emacs hides the on-screen keyboard too often, even with > touch-screen-display-keyboad set to `t': just try M-x calc and do a > simple operation. That shouldn't happen; would you please try to determine what is calling `frame-toggle-on-screen-keyboard' in that case? > IMO Emacs should never hide the on-screen keyboard, moreover when > clicking with the finger over the small clickable areas of menus and > links is very difficult. I've never found that difficult; perhaps the menu bar font size is too small? > And a quick method to show the keyboard would be very welcome (having > the volume button trick to close Emacs is curious, I'm sure you have > your reasons, but if the keyboard is shown and the user can press C-g, > isn't it better than closing Emacs?) The volume button doesn't close Emacs, it just quits and behaves identically to C-g. > Also, completion works weird: the sequence C-x b Mes TAB correctly > completes to *Messages*, but when ENTER is hit Emacs creates a buffer > names "Mes". This is normal Emacs behavior. Perhaps you have some customizations to completion that you forgot to apply to Android? > But those are minor issues that I'm sure will be resolved. I'm having > strong W32/Cygwin vibes. Nobody would say nowadays that the W32 port is > questionable because Cygwin exists. Likewise, this port shows lots of > potential as the right port for the general userbase that would like to > carry Emacs on our pockets. Thanks.