From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Takesi Ayanokoji Newsgroups: gmane.emacs.devel Subject: Re: Android port of Emacs Date: Sun, 25 Jun 2023 19:07:28 +0900 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> <87352g9jat.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000750d9e05fef16719" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25788"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 25 12:08:32 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 1qDMfX-0006W4-Bj for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Jun 2023 12:08:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDMem-0003X2-3m; Sun, 25 Jun 2023 06:07:44 -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 1qDMek-0003Wq-Jz for emacs-devel@gnu.org; Sun, 25 Jun 2023 06:07:42 -0400 Original-Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDMei-0000hq-TO for emacs-devel@gnu.org; Sun, 25 Jun 2023 06:07:42 -0400 Original-Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-4008dbf2ef4so8771931cf.1 for ; Sun, 25 Jun 2023 03:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687687660; x=1690279660; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VGdPBZG5KqETnbUTMXQ1FdaaqZZm2jdH4xEfEnV4b9M=; b=FQw+khXkiGEWAdr4uKzxtBmNYWGSyb4V1mvN4H1em7mdst5eajWG9hXZO2arooMqoL U+Q8nzSYNNIeKyCqyle/+mdxJ6RGqLiGUA1P29n/eN91gP0y6bOP8yOFHLZU0WF+AHWZ ZVlS+Ug5rYF8n+E56eDS3NZNoDDbUhTdvvz7luS+RFcNPQMfu8KDVlV5kR0GpZB0koMA IqGrn07d4ThB8RIi+dUvNAgaMVZ1pUZ4TvKi24CDHBiJ6nzgodlkBNrLuxs5NBaTCKjR OwHBWci+DFqD+MO4ki+fDwl/3p7w3vMhSpyVCrHa2UZ7VEyh8KRRqCv8qCJIZDz+Isgz MzNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687687660; x=1690279660; 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=VGdPBZG5KqETnbUTMXQ1FdaaqZZm2jdH4xEfEnV4b9M=; b=FdHFOxgOIUj3KJ+e6SCdNHBEthb+cNLa6ulfsjfoh9qEsayygwFg2cbPqB+emMuPfm IT5rX9V5/U9DdiyH6g8D4rlLfoaH+4pkrFarhGzznHyRByPh/Vr37yg8u4Xf/6SwnVNG QYZZI2K0HvIUcZILyx7zWm7/1KTk7F6Ylb5LO0tTxpiz/q8OK98GXrc6z/OfkOfn8ixp rk+oH8wOV+T8cWFAMElHNAq66nKHSVoHXlzkSGunT3OFaeus39+Yk0nZ8vE/q/YnpXs1 8Rf2bYMDAKZTKkG1kQiXp/Sns7J5SOlkZkdVzKJ/0TzO0cxVeEkzqnKL0flPgneHAL8m +Ijg== X-Gm-Message-State: AC+VfDzwmt6Vs0nje0M4ovYIJrOpVhfocJ+2fqbLgdYGzQ2gtMJwzoov /y+J5gSlW3Iwac5P1c4l3me02rJ836LJPMGrm/0= X-Google-Smtp-Source: ACHHUZ5xOcj8yI6OrsEyV0P+XrWhpDW4wCmZbEEEN19b/Kw4bN4FAk0QWCz7uWDvsunZGOnBqNAXavb4brMmtRadbrI= X-Received: by 2002:ac8:5ad3:0:b0:3f8:6a2f:c47a with SMTP id d19-20020ac85ad3000000b003f86a2fc47amr28157186qtd.21.1687687659849; Sun, 25 Jun 2023 03:07:39 -0700 (PDT) In-Reply-To: <87352g9jat.fsf@yahoo.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::832; envelope-from=ayanokoji.takesi@gmail.com; helo=mail-qt1-x832.google.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:307212 Archived-At: --000000000000750d9e05fef16719 Content-Type: text/plain; charset="UTF-8" Hello, Po-san. > Why is this necessary? To be honest, I don't know why. At first, I tried just changing sharedUserId and APK signature, but id that didn't work(cannnot access files from both Emacs and Termux due to "Permission Denied"). > > In my case, it requires some changes to the source code in order to specify how the soft keyboard should be displayed. > > https://github.com/ayatakesi/termux-emacs/blob/test-20230624/my/feature/android/test-20230624.patch > With such a change, you won't be able to control the state of the > on-screen keyboard. That wastes a lot of screen space when you are not > editing a buffer. Yes, but I use soft keyboard that doesn't support force show/hide keyboard like Hacker's keyboard(which can show/hide keyboard even when focus is on no editable widget like Emacs' splash screen). So after this patch applied, I use 'Back' buttons to hide keyboard, and 'Overview' to show hidden keyboard, again. > BTW, Ayanokoji-san, would you be interested in volunteering to help > maintain the Android port? With pleasure. Thanks. --000000000000750d9e05fef16719 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, Po-san.
<= br>
> Why is this necessary?
To be honest, I don't know why. At first, I tried just changing
sharedUserId and APK signature, but id that didn't w= ork(cannnot access
files from both Emacs and Termux = due to "Permission Denied").

> > In my case, it requires some changes to the source= code in order to specify how the soft keyboard should be displayed.
<= div dir=3D"auto">> > https://git= hub.com/ayatakesi/termux-emacs/blob/test-20230624/my/feature/android/test-2= 0230624.patch
> With such a change, you won&#= 39;t be able to control the state of the
> on-scr= een keyboard.=C2=A0 That wastes a lot of screen space when you are not
> editing a buffer.
Yes, but I= use soft keyboard that doesn't support force show/hide keyboard like H= acker's keyboard(which can show/hide keyboard even when focus is on no = editable widget like Emacs' splash screen).

=
So after this patch applied, I use 'Back' b= uttons to hide keyboard, and 'Overview' to show hidden keyboard, ag= ain.=C2=A0

> BTW, Aya= nokoji-san, would you be interested in volunteering to help
> maintain the Android port?
With pleas= ure.

Thanks.

--000000000000750d9e05fef16719--