From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Spencer Baugh Newsgroups: gmane.emacs.devel Subject: Re: Android port of Emacs Date: Sun, 2 Jul 2023 11:45:33 -0400 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: multipart/alternative; boundary="0000000000004b83c505ff82f13c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19477"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 02 21:14:46 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 1qG2Wy-0004tP-UQ for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Jul 2023 21:14:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qG2WC-0003aZ-1V; Sun, 02 Jul 2023 15:13:56 -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 1qFzGn-0003p6-3W for emacs-devel@gnu.org; Sun, 02 Jul 2023 11:45:49 -0400 Original-Received: from mxout1.mail.janestreet.com ([38.105.200.78]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFzGl-00070f-0u for emacs-devel@gnu.org; Sun, 02 Jul 2023 11:45:48 -0400 Original-Received: from mail-ej1-f72.google.com ([209.85.218.72]) by mxgoog2.mail.janestreet.com with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.96) id 1qFzGg-004FVY-2A for emacs-devel@gnu.org; Sun, 02 Jul 2023 11:45:44 -0400 Original-Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-9932e8e76b9so82432466b.3 for ; Sun, 02 Jul 2023 08:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; t=1688312743; x=1690904743; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mqbKKRDRJC3k6Swa4MMNLPV8wpMT/DG2/r6G28eDbuU=; b=Qo5V/fzC6hxjie3JbrNZ/OtP74no/Ic3ViMg69oCHkDysabO0P4LxrX+wsIX6EDKpy rFglHdW9v2stmKYhKHzGa7+bBKbnNwWDltJRjpYoy2Wc8LfHx/5Vjuiv/MSNsPGQNL/Z lEmeYruiKkg2PRb2VVZgFOGDm9agm+me5D1Q4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688312743; x=1690904743; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mqbKKRDRJC3k6Swa4MMNLPV8wpMT/DG2/r6G28eDbuU=; b=MPXLbbv1RJ7mlsRMBuMjADgDt476mCNJK7D5c9VUUAr/+Za8o0GKEIq1N5zTus0Cup Ifd34hQfnt0ykM/9MWn12pNvkjGjgbcXYRjpRJQVmDvul0XznFZMkZhA9GxE3etYWFnp 9OuW5PZSGil1/jtlMoFWYOgwOHtuY0qpVM2HsTWJqVubqU9N4zEvFTnHfYrLlTwZ6QPu AGI/7UARu9+f5VFvxBmqgzRLTUrUcIykccWIYYH5VGDzHNzl1peCvOoMwGDxlltj9fwf +0AJbj0CH5q4a+fU+urvcuDFvgY8iyuAg7FtG2SFv+YvKc6YgnkCNZ6oyWmO7SGP9bdX j0FQ== X-Gm-Message-State: ABy/qLaKYIJndSFFuYVIrxc4FInYHjFBZCSVJhpmh8W0IJFbQOzv8UCd 1v5+F1cN/IIaLsLosTbapcA/7BMiWBh14E6+aDt9AgXq5ogzJq4XuT5WO/wLExAb8hqXvQnlzk3 Nr9GAd4U2QGlFb5ftsPjRr6j0Mc8= X-Received: by 2002:a17:906:f198:b0:992:1b2:4090 with SMTP id gs24-20020a170906f19800b0099201b24090mr6309734ejb.64.1688312743235; Sun, 02 Jul 2023 08:45:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlFdClrrJJSQ1mNknxSxWNltRRi/rBlV38UlmyRimKecxa1aFs+grpnkGpr32+smzQ51eKj+8bjFCksLizhWjGM= X-Received: by 2002:a17:906:f198:b0:992:1b2:4090 with SMTP id gs24-20020a170906f19800b0099201b24090mr6309713ejb.64.1688312742636; Sun, 02 Jul 2023 08:45:42 -0700 (PDT) In-Reply-To: <20a26dd1-7aed-0c7d-fdc7-a7fa8ecaaaeb@gutov.dev> Received-SPF: pass client-ip=38.105.200.78; envelope-from=sbaugh@janestreet.com; helo=mxout1.mail.janestreet.com X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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-Mailman-Approved-At: Sun, 02 Jul 2023 15:13:54 -0400 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:307371 Archived-At: --0000000000004b83c505ff82f13c Content-Type: text/plain; charset="UTF-8" On Sun, Jul 2, 2023, 09:16 Dmitry Gutov wrote: > On 02/07/2023 15:59, Po Lu wrote: > > Dmitry Gutov writes: > > > >> Ok, so you use AnySoftKeyboard with the "Terminal" layout? That took > >> some time to find. > > > > I use the US English layout by default, but switch to the Terminal > > layout when I need cursor keys. > > So you generally make do without Alt/Ctrl/Tab? > > >> How do you input M-x? That would require the keyboard to stick around > >> when there is no active input, right? > > > > I select Edit -> Execute Command from the menu bar. (This option only > > exists on the branch.) > > Nice, thanks. > > And I've just found that the "x" button on the toolbar acts as an okay > replacement for C-g when inside minibuffer. > > >> Do you know if we can associate a particular keyboard app with Emacs, > >> and use a different one with other apps? > > > > IIRC some versions of Android offer such an option, but I looked through > > Settings (on LineageOS 18.1) and did not find anything promising. > > That's too bad. > > 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... > --0000000000004b83c505ff82f13c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Jul 2, 2023, 09:16 Dmitry Gutov <dmitry@gutov.dev> wrote:
On 02/07/2023 15:59, Po Lu wrote:
> Dmitry Gutov <dmitry@gutov.dev> writes:
>
>> Ok, so you use AnySoftKeyboard with the "Terminal" layou= t? That took
>> some time to find.
>
> I use the US English layout by default, but switch to the Terminal
> layout when I need cursor keys.

So you generally make do without Alt/Ctrl/Tab?

>> How do you input M-x? That would require the keyboard to stick aro= und
>> when there is no active input, right?
>
> I select Edit -> Execute Command from the menu bar.=C2=A0 (This opt= ion only
> exists on the branch.)

Nice, thanks.

And I've just found that the "x" button on the toolbar acts a= s an okay
replacement for C-g when inside minibuffer.

>> Do you know if we can associate a particular keyboard app with Ema= cs,
>> and use a different one with other apps?
>
> IIRC some versions of Android offer such an option, but I looked throu= gh
> Settings (on LineageOS 18.1) and did not find anything promising.

That's too bad.

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 p= latform specific.

Actual= ly 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 th= e screen on Android (as I saw some feature mentioned) would help with that.= And increasing the size of the icons...
--0000000000004b83c505ff82f13c--