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 20:28:09 +0300 Message-ID: <5017db57-a4a7-fdb7-764b-a6277ab9ef7a@gutov.dev> 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: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39118"; 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 19:29:12 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 1qG0sp-0009uB-8y for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Jul 2023 19:29:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qG0ry-0002Sp-Oi; Sun, 02 Jul 2023 13:28:18 -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 1qG0rx-0002SY-3f for emacs-devel@gnu.org; Sun, 02 Jul 2023 13:28:17 -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 1qG0rv-0007GU-4G for emacs-devel@gnu.org; Sun, 02 Jul 2023 13:28:16 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 830AB3200991; Sun, 2 Jul 2023 13:28:12 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 02 Jul 2023 13:28:12 -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= 1688318892; x=1688405292; bh=77hHoa+WGqkNUtMx44s89DkX4w7I9165cIt 4DrRJ5r0=; b=VHkcBjK/GDlKkJdeVKQh+P2ushwwOSuwjVeKn65vLGVUvH9qMym VQ1r8wclTRpXvUCSmSaA4MVUg2+Hjm4UdOejmK0gk+mMrJwqK4eXds4iuv1dDlJr ldfJE/JWPEHpzvXxXJWw7FSKdgvkNWihtqvf+s5I573rqdRT8qi4nP/CbPC51uOG qyxF7oX17ki4Vmska1MsKe8TnHlZNFf2uJ/yoErbg8wLu+GQ7EVd7k6WfODQJ2oh dig8t7W7LYYWa1VccXmA1TLNwofwc8O1CbMNdLaBSfM18Ygd4XJPRQ4UGiyuKXJV yRdB069mn33ogL7eliDK9ALO53pyxxI8RWg== 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= 1688318892; x=1688405292; bh=77hHoa+WGqkNUtMx44s89DkX4w7I9165cIt 4DrRJ5r0=; b=O83LNsco2y2MIVa0i7N5btSTUSZZrir5VHJpZQHNJXPZ0IWp5ol ZsTUhWf7f9ioq0LR2U+jpiYFaLbbNgx901L9+0R5E85UIKVRE2f0aZcaItpqD2Nv +NTM+HfFswNzbB/BYZPZIkEr/yDogWC8ecTKKPk6P4yY/NLBZ7o/4cxIBtUBC+JQ 6TAyH3c1Kv12R02UIDkD0WLv2r/i+SrsrpqBt90Pbf5CKxRnaTvpiXv/qkTHl9Ed KoU4v7tPOnmGxp6eK53wrSpyZ0QTTR9zZJuIwMzOTa5oKOS8FltxDf5l3CRUNM0s q+2fczGTO1njT2DmJWgwZ/tX6Kc9U/ReVuA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddtgdduuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurhepkfffgggfuffhvfevfhgj tgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhith hrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvghrnhepudetueetudeuheeuhfet vddtkeelfffhuddtffdtffettdfftdeglefguefffffhnecuffhomhgrihhnpehgohhogh hlvghushgvrhgtohhnthgvnhhtrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 Jul 2023 13:28:10 -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:307367 Archived-At: On 02/07/2023 19:29, Dmitry Gutov wrote: > 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. And here's another example: https://play-lh.googleusercontent.com/ZjqY_bYIuWan8ZHOU7Cv0utQEe6j0wRg50nr8c5_WVS2KBvklragHcD_aWm_KJg8RW7o=w5120-h2880 That's xterm app inside DaRemote. While it has 2 rows of buttons, it's still pretty compact.