From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Sun, 19 Feb 2023 20:21:32 +0800 Message-ID: <87ilfxhmlv.fsf@yahoo.com> References: <87ttzkmrw1.fsf.ref@yahoo.com> <87ttzkmrw1.fsf@yahoo.com> <86wn4ga1pa.fsf@aarsen.me> <86wn4d3luy.fsf@aarsen.me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29221"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Arsen =?utf-8?Q?Arsenovi=C4=87?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 19 13:24:09 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 1pTijf-0007QK-QX for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Feb 2023 13:24:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTijM-0005ar-3T; Sun, 19 Feb 2023 07:23:48 -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 1pTijJ-0005Z8-3c for emacs-devel@gnu.org; Sun, 19 Feb 2023 07:23:45 -0500 Original-Received: from sonic303-48.consmr.mail.ne1.yahoo.com ([66.163.188.174]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTijH-0002RI-BK for emacs-devel@gnu.org; Sun, 19 Feb 2023 07:23:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676809420; bh=R/MjN/Uj07KAddN+zGgzwy4CrbX4isnICvO5ZSWBM0E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=T0OHQcMgjQF33tbeyEjLLguWRWh1gCTljxICVHxcTd5zosaEQ3dH/rmarc6nXE1Db89Z3w8m5C5AEcTLJT/m6m+qpuGQHZhJinQ936dCk+GowO22vTBHXCV7KOaTUV7GQMsbqzUdWwvV8WPHM7roS0Dr5RlkMI6NDZ+fo4oKPLK8ZQ4u0/hgFz3vGrQZpyMKFqT3HjO0YSO6tucrFqKWW+7mfFyT3gW7b2wekgTs914CnFMbREECPLZoJDBfCUL2nUrzDbOqNzQZn1Mf0ZbVlsBDsAo1An0Y9tM07tJpozQQjnCByZTH9jzGpx0SrmRyAkddryXf2lFp+R43v/XnZQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676809420; bh=LBdqM+9KmwAtyLE8/J+nsNJ1Xgt9h9QBN/wcN6spXNB=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=AUh1QbKf32vfsady69ha4yT/VyQ0D9VYp9k27TBr+4SniVmVqu4kJVF5zFhdTWugv/Hzq5czKFsmDpEthp3WoiYoT0UrQUBVOncvgFSw3/ny2ETRL8NgrJSx/bRb3AM/tXBVvmBUz83kajzodA8HFuiauzpR7SwISdcj+fVFyji2eDqxePu7UIbJbFcx/maD2uXwmJXv1ZqFaz34+ae3X8igAlHOe5HVAwh5KyQj9YXaGHfYh6Yomc3uZiGt+aSY00lIMZC31LulKEt743lLprcrffAEhZT4pYa2QadjvHqaeF3pLv5naGhRHNqTNQ3j2DMptDEvDoSQJlUTtVmP3w== X-YMail-OSG: NcHI9_sVM1l7A.I0ajOQ89ZyLQKXqBfY1ejkd1WH_0r0Qi1Hp5bx_009R.Q80A7 wZsY0Nm3.93v6AOcElJuLANBxqjMxQPh1GinjIlUOf7pSuD5A3FdZV.Wto57DSK6zwQVMkB9tVPS DKmHgczU.3sW3tT6LMgwTh1fdL2zkYhMyeSxk6V8dGJ6IqiejQFfWAf.Y9aFIjFG9DtLtdRexs9S HGmDoFuKw_dM5FY4PAdK0enb0p1WxAMXqKz8MUuypcakA2oHrU1jbIJyf6HUznveVeyrXIB_Xk5M KhNsrekHVGERwx8uH4fVK50CP0dD0sEtNpA5Cb_rzlkHL3dVu1TTbglLs_0aWNxs.z4ArKD3ouUH oHo86F.ex9Gzwco05KhuglO5ZKCoYwpn2Ad0dtmcshgfdzZf_xiTv_abFYqHEzuB_V21jPg3oOmF hBrlTrU.DOOd71IkYaBMVndUjq9rkC5K6.xDL5FMnvFUcAkJsqJUxHCQst13U_dP6DZyTvwHQ.qS hDSE0wo8oGJWDQM8bGDpZGq21CN2YoO_f9NoCO072DF1i7XCjTdt11YHdwNGF4O6NHwAWl6NDmWl soKoD4nZbTiOpewApxIJ5x9he4dZ1RpvzCLygvTaknL8IwF4swSvmQPV_meqe05EGT5BirSigapg MC1ROs8zwT_7m7JTPuY4NIfyP.IMQxFDqGW.ohq.mQzNR3P7j8X2orwWCsTKxaOBHqnwxvxLQihg uulkiScx9PUKYHI4VEd2Vrzaxl6oOWPo_8uIy4KWdivosMjXDWuHeqF.w8mxRjxvYUaXkMI1Lhm7 hkz5xx7eOJHI5OMjd1GWsdNi7vW4f.AtqChigjL3WW X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Sun, 19 Feb 2023 12:23:40 +0000 Original-Received: by hermes--production-sg3-9fc5746c8-8hlql (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3e2347c2afc8170d39597ff5dcb3ca80; Sun, 19 Feb 2023 12:21:38 +0000 (UTC) In-Reply-To: <86wn4d3luy.fsf@aarsen.me> ("Arsen =?utf-8?Q?Arsenovi=C4=87?= =?utf-8?Q?=22's?= message of "Sun, 19 Feb 2023 12:17:12 +0100") X-Mailer: WebService/1.1.21183 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.174; envelope-from=luangruo@yahoo.com; helo=sonic303-48.consmr.mail.ne1.yahoo.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:303563 Archived-At: Arsen Arsenovi=C4=87 writes: > Hi, > > While building initially, I got some make errors that looked like they > were from a race, for example: > > GEN execinfo.h > mv: cannot stat 'execinfo.h-t': No such file or directory > > Further confirming my suspicion that these are coming from a race is > Emacs compiling fine if make is reinvoked, and that a non-parallel make > build works fine. > > I figured this was a fluke initially, but, I reproduced the issue today. > You can fetch the build log from here: > https://www.aarsen.me/~arsen/emacs-races.script > > There also appears to be a dependency missing between generating the APK > and running the pdumper, or such, since I could re-run make after make > concluded in the nonparallel case. This should not be a problem, since the dumping happens on-device on Android. > This seems pretty reproducible on my machine, I suspect due to the large > number of -t files utilized in Gnulib. I will look into this, thanks. > While I'm around, I was also thinking about how to enable using the > modifier keys on virtual keyboards without modifiers. I was considering > mapping a key, say, KEYCODE_VOLUME_DOWN to ESC if pressed and Ctrl if > held in combination with another key, hence, the sequence Press VolDown, > Release VolDown, Press VolDown, Type x, Release VolDown would be parsed > as ESC C-x, or C-M-x. Do you know if this is possible? All methods > that I know rely on external tools (XKB configs, AHK, ...) that are not > available on android. I'm not sure how to do this, since those keys are not ``meta modifiers'' on the system. I'd recommend an on screen keyboard which has those modifier keys instead.