From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonathan Kenyon Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Tue, 21 Feb 2023 12:24:36 -0600 Message-ID: References: <912677799.460919.1676709333977@mail1.libero.it> <87zg9bjrfi.fsf@yahoo.com> <2083511697.508112.1676757486753@mail1.libero.it> <87mt5ajtbr.fsf@yahoo.com> <1002927807.523870.1676797315058@mail1.libero.it> <87sff2hqns.fsf@yahoo.com> <1550942964.527662.1676805571212@mail1.libero.it> <87v8jxhnm4.fsf@yahoo.com> <1535143748.518576.1676826635262@mail1.libero.it> <87sff1f4b7.fsf@yahoo.com> <353771134.663266.1676912758610@mail1.libero.it> <87ttzfeoqo.fsf@yahoo.com> <497288500.805533.1677001181404@mail1.libero.it> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000b7c2c05f539e5a0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12958"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 21 19:25:40 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 1pUXKd-000360-Mo for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Feb 2023 19:25:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUXJv-0000nK-9j; Tue, 21 Feb 2023 13:24:55 -0500 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 1pUXJt-0000n4-Q3 for emacs-devel@gnu.org; Tue, 21 Feb 2023 13:24:53 -0500 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUXJq-0003KY-Ra for emacs-devel@gnu.org; Tue, 21 Feb 2023 13:24:53 -0500 Original-Received: by mail-ed1-x52a.google.com with SMTP id g1so20665607edz.7 for ; Tue, 21 Feb 2023 10:24:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ordinarygizmos-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=M82B6ZnmNXtuFgMw34HxekQIu1/KiQ9B517WnZLdQyw=; b=U290jM+JSmiJiyVGL38O4/8AsjkbnGgN+VwpiQyNwLwcEt4bAqZ2bOQtNr9l1Dy91U 2yFOjp9wefEwZEem8wB2wi0BYP01YiC7tgf5mTV/VlCBHWkEfGP8uCq+//n4LjEyH59U qT+fDBms9c845VM0k++b3jNQBpODvK2OkKu+cS6nhkHJgs7FFDp0Fw8oqOMTbnZ+c6Ox 15PMX5sCUEY9NYcFO48kKvPo6aBPboJrSDI2BUuwtcEMFeQjmL6JwUL9c5/bUY8jPy8G cCz8i1AnVc0lOnRbfzmnDTBoNiG8GeJEn3zM9fqWG2vii8dcw0TVskW07hNEyX8rrnqq WJ5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=M82B6ZnmNXtuFgMw34HxekQIu1/KiQ9B517WnZLdQyw=; b=tQjWkaNSo1T9xh01SZ3h6SJNbLZU/zhke0wMOj0HjQL5B6qu8tCG3X+FNznVWCNFLs Vo8BWpYN+8uYF/1IXbOJiU7/CWrYfBd5kI5E55wYda6lDyJQG3UDITs+a8ch831Y32e+ KYQGS5oxf795UhwlyhQL0LarVSACucmM7ovlPrNo2HTaKXiwMqhagLYgehfupnYo/2s/ htZRfgkuUSzMBd8FtJx1wsoqWTuLCOYuGM+fdbO/+xVkXC7gKof0Y3OE6Ho2DN3te3O+ JuiMqg5E/mUXglD8BX3OfDIjbl8NpqqzIxocjisfT0zADNjhLPOUiwdBfPIHDclDsi6z 8k4w== X-Gm-Message-State: AO0yUKUtZpFUdtloptFzQVKuhefNcqfpnhzqj9Ezx9e7obMheu8/iRVD 8V2+2sw01jFTVPC8IKhiprNM64V+gfYVbOT54qqbkw== X-Google-Smtp-Source: AK7set86ndSEKvfEor/4YUujJzRiOlw3SKdhfORgTwosKq61yjUnmIlxxtTC1CC1pvav2kzTz37nh+Axiq+EqXIOe94= X-Received: by 2002:a50:d51d:0:b0:4ac:b618:7fb1 with SMTP id u29-20020a50d51d000000b004acb6187fb1mr2307211edi.6.1677003888224; Tue, 21 Feb 2023 10:24:48 -0800 (PST) In-Reply-To: Received-SPF: softfail client-ip=2a00:1450:4864:20::52a; envelope-from=j.kenyon@ordinarygizmos.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no 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:303658 Archived-At: --0000000000000b7c2c05f539e5a0 Content-Type: text/plain; charset="UTF-8" > One other issue I see is some keybinds throw a "C-x is undefined" This actually only applies to software keyboards, not hardware, so there must be some layer of translation happening from Android before it gets to emacs. On Tue, Feb 21, 2023, 11:51 AM Jonathan Kenyon wrote: > If I could chime in here. One other issue I see is some keybinds throw a > "C-x is undefined". Is this something other people are > seeing? Specifically C-x h and C-x o > > On Tue, Feb 21, 2023 at 11:40 AM Angelo Graziosi > wrote: > >> >> > Il 21/02/2023 03:28 Po Lu ha scritto: >> > >> > >> > Angelo Graziosi writes: >> > >> > > On GNU/Linux (Mint) I change the size of default (Monospace) font with >> > > >> > > (set-frame-font "Monospace-11" nil t) >> > > >> > > (setq default-frame-alist >> > > '( >> > > ;;(width . 120) ; character >> > > ;;(height . 54) ; lines >> > > ;;(left . (- 0)); pixel >> > > ;;(top . (+ 0)); pixel >> > > ;;(left . 835); pixel >> > > ;;(top . 0); pixel >> > > (font . "Monospace-11") ; font >> > > )) >> > > >> > > in the init.el file. How can I do the same with this android Emacs? I >> cannot establish the name of the font it is using... >> > >> > As the manual says, ``Droid Sans Mono''. >> >> Thanks. >> >> I tried the last binaries (emacs-30.0.50-21-arm64-v8a.apk) and copied >> almost the full .emacs.d I have on GNU/Linux (with the elpa/melpa packages >> etc.). The result almost works but there are the following issues: >> >> - some "random" crash (3-4 in few hours) >> >> - when in the init file I have: >> >> (global-auto-revert-mode 1) >> >> the device vibrates and in the minibuffer shows up: "Error while >> reading file system events: try again". So I commented that out >> >> - when i click on the Options menu the minibuffer shows: "Wrong type >> argument: stringp, nil" and the menu does not open. The other menu (File, >> Edit etc open regularly) >> >> - last but not least, the DELETE key on the keyboard does not work. >> >> It seem you have don big step forward! >> >> --0000000000000b7c2c05f539e5a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> One other issue I see is some keybinds throw a = "C-x <text-conversion> is undefined"

This actually only applies to software keyboar= ds, not hardware, so there must be some layer of translation happening from= Android before it gets to emacs.

On Tue, Feb 21, 2023, 11:51 AM = Jonathan Kenyon <J.Kenyon= @ordinarygizmos.com> wrote:
=
If I could chime in here. One other issue I see is so= me keybinds throw a "C-x <text-conversion> is undefined". I= s this something other people are seeing? Specifically C-x=C2=A0 h and C-x = o

On Tue, Feb 21, 2023 at 11:40 AM Angelo Graziosi <angelo.g0@= libero.it> wrote:

> Il 21/02/2023 03:28 Po Lu <luangruo@yahoo.com> ha scritto: >
>=C2=A0
> Angelo Graziosi <angelo.g0@libero.it> writes:
>
> > On GNU/Linux (Mint) I change the size of default (Monospace) font= with
> >
> > (set-frame-font "Monospace-11" nil t)
> >
> > (setq default-frame-alist
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0'(
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;(width . 120) ; character
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;(height . 54) ; lines
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;(left . (- 0)); pixel
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;(top=C2=A0 . (+ 0)); pixel
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;(left . 835); pixel
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;(top=C2=A0 .=C2=A0 =C2=A00); p= ixel
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(font . "Monospace-11"= ) ; font
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0))
> >
> > in the init.el file. How can I do the same with this android Emac= s? I cannot establish the name of the font it is using...
>
> As the manual says, ``Droid Sans Mono''.

Thanks.

I tried the last binaries (emacs-30.0.50-21-arm64-v8a.apk) and copied almos= t the full .emacs.d I have on GNU/Linux (with the elpa/melpa packages etc.)= . The result almost works but there are the following issues:

- some "random" crash (3-4 in few hours)

- when in the init file I have:

=C2=A0 =C2=A0(global-auto-revert-mode 1)

=C2=A0 the device vibrates and in the minibuffer shows up: "Error whil= e reading file system events: try again". So I commented that out

- when i click on the Options menu the minibuffer shows: "Wrong type a= rgument: stringp, nil" and the menu does not open. The other menu (Fil= e, Edit etc open regularly)

- last but not least, the DELETE key on the keyboard does not work.

It seem you have don big step forward!

--0000000000000b7c2c05f539e5a0--