From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Android port of Emacs Date: Sun, 2 Jul 2023 19:29:58 +0300 Message-ID: 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> <87ilbc9oh6.fsf@yahoo.com> <878rby5284.fsf@yahoo.com> <39787f70-4d80-51c1-1f66-70f7feda7227@gutov.dev> <87zg4e31wm.fsf@yahoo.com> <20a26dd1-7aed-0c7d-fdc7-a7fa8ecaaaeb@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24470"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cc: Po Lu , emacs-devel@gnu.org To: Spencer Baugh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 02 18:30: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 1qFzyR-00069S-RE for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Jul 2023 18:30:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFzxg-0006UG-Sx; Sun, 02 Jul 2023 12:30:08 -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 1qFzxf-0006U5-7z for emacs-devel@gnu.org; Sun, 02 Jul 2023 12:30:07 -0400 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFzxd-0005hy-1P for emacs-devel@gnu.org; Sun, 02 Jul 2023 12:30:06 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 170F6320098E; Sun, 2 Jul 2023 12:30:02 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 02 Jul 2023 12:30:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1688315401; x=1688401801; bh=j874McxgoniO68BcJhn8pbu1PjmqLT1XfPU hDKaL+U4=; b=KGaOxBs0rWja6lAYN/UizJYqvW9/9H5wXeTBInOoICCcO+GnBDF 9DplXGq/zHzr6TQ/Xt6is/1uixfs/TjPprV0AHIr2C7cVVAlzb880FULVnMbnZWg uqRvhZFmzuXzril2vS+u8lEu8NYaxvE8LM3EHEyONK/cIPT+kVQj+uIgH1K/NR1H ex8RQNecFwI8az1+gthQp5S+s7v4+wCm0x5bZnBcmp9jdjUxNJiNKsAHGVrN+Qji jS7UandpAx7ECR/U4caA5fc9WcsaihRMog4ow8+LyTlNBkf8grSVhkAsUOs8Ubcr LOBB+jpdKZkDr/nIXJ3JQeb1rwkBNxouZoQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1688315401; x=1688401801; bh=j874McxgoniO68BcJhn8pbu1PjmqLT1XfPU hDKaL+U4=; b=OTQi0vENqlObCswQeVx6Nd5R5gfAkGoFDnuN+l3ddhW5sfp1kGd m0ks5LeWX+r9vtjKzO1pJ6q0lIqrYj9izseicDrdqstkMTFZVw9Blbys9qmtVC3s avfn8/4iknTajEXqBb/S3DZAgJ5qC7u3x26IoFiozEuHmH0t9hAowrQMSnOLhyrL rDeIAzRz4/89zBt8x626BJNH6DuV9I0Sqw0+DXZf/nRbinas2kBAEmsJy3YmG1BN H0AMqJBN3btdbij6ZqWslaT3eaN47iIajUfYXOhMui64cPv/szhp/I19oj7iTukf SqsSSvx0URSh8iO3XDyBb//0jf6nT7oN3cQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddtgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurhepkfffgggfuffvvehfhfgj tgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhith hrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvghrnhephedtfffhtdeukedugedu vdduffelkeeghedtgfevfeehvddtieefffdugfevieeknecuffhomhgrihhnpehgohhogh hlvghushgvrhgtohhnthgvnhhtrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 Jul 2023 12:30:00 -0400 (EDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=64.147.123.24; envelope-from=dmitry@gutov.dev; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 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, NICE_REPLY_A=-0.09, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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:307366 Archived-At: On 02/07/2023 18:45, Spencer Baugh wrote: > It might be handy to have an Emacs-specific keyboard, with whole > sequences (such as M-x/C-x/C-c/C-h) assigned to single buttons. > > > It seems to me that toolbar would be the place for such things, rather > than something platform specific. > > Actually we could even have toolbar buttons for > event-apply-control-modifier and so on. Then a normal keyboard could > work very well. > > Although moving the toolbar to the bottom of the screen on Android (as I > saw some feature mentioned) would help with that. And increasing the > size of the icons... Yep, you've just described platform-specific UI details. How the Android port implements that (natively in Java or with Lisp using the standard toolbar) is secondary, but adapting to the specific form-factor (and the proximity to the on-screen keyboard) has its benefits. Eli mentioned JuiceSSH (which for some reason doesn't install on my phone, listing itself as "not available") and it has this on the screenshots: https://play-lh.googleusercontent.com/1rhvZxZHx_IraiVLzqjYHwM1M3lm_HRsTCd_S4VSyEqzr-uNqThx63MtSdrgpDEJBos=w5120-h2880. IOW, a bunch of special keys that usually have Emacs bindings but are absent on the standard on-screen keyboards. Here's also a screenshot of Termius: https://play-lh.googleusercontent.com/XUYZvSuW9FH9WbwHuZVkhgb5f1Qgx-2WZy_fkQJhziiiA7PS0yw7rywz2vm0RlQCLwSN=w5120-h2880 It also provides easier access to some of those buttons. I haven't installed either yet, so not sure how they are implemented (keyboard hints or not), maybe also rendered in-app.