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 of Emacs Date: Sun, 18 Jun 2023 14:56:38 +0800 Message-ID: <87edm9b6mx.fsf@yahoo.com> References: <83v8fnslfz.fsf@gnu.org> <121acd3282a64abf77d6@heytings.org> <87y1khd2jb.fsf@yahoo.com> <83f64da10bfab98a840a@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3538"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 18 08:57:52 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 1qAmMC-0000kN-Gp for ged-emacs-devel@m.gmane-mx.org; Sun, 18 Jun 2023 08:57:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAmLH-0002Eq-4W; Sun, 18 Jun 2023 02:56:55 -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 1qAmLE-0002DZ-T6 for emacs-devel@gnu.org; Sun, 18 Jun 2023 02:56:52 -0400 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qAmLC-0000nU-CW for emacs-devel@gnu.org; Sun, 18 Jun 2023 02:56:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687071408; bh=+bXRZtEnL5h4Befm/iTOflAmCvwtInJGQN6CJA4oA0U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ge/27OrLbk/cps6DtSu/yDjiF0C8oPzGIhPGB/5Pm4rWF+1KbzOD8iEsQBudt+I3oA66W15t0oKNsi+4tazCx1f9Bw77FGvNYsiiUf7yWvJ3MFTnJqi/6zoICGYiMCWv/b3DpapT2ro8+HM3kPL/nuQwVFhKZzT64uUNBXyscF0WSRkmzx/+XzgipBGTFE1rV8omNFXTLR7MpiUK0nJehLH4L1th8fQ/oBX35M3PNEFOLquSfFj8nkak9S5HRKhuuO1w5Kn5W5wdkK85xktyq3/k5/Du0lClsTj/2Pgx6le6ORFgr88fOzOHT9QoewFxASRh/uz+lfj81jNEgYeAIA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687071408; bh=tOQjgOo96krKVfnBRJeMj0EikTFDzinI0Qn+I+jMp5e=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QAYTA/wId14WxLqkliFI4gFhyzkKid66SWIMhrwOVFaIyWD7p8AnJWemLXWh+MX0PEsyb6xq+WPs0ryVdFkdFk3Fp9AU+Y5S+r43GhuYTTRggzidsnisqrIU4kpoaY6n9bvrRmqrqn2ik2suMaWLuKbCjANaXi2yjYtBWNdq9kZXxzMqrKfPnq1ULaDgu0fL5Iu39FzIqeHT644MzkhLDQuIJxA4UfegLOkSs0oQ4u+hhMH8wp1yVW07GASVaM+VSxsM4pCKxZs+kP5dM6gdA+wfqQwNQysD9ff2u5rzChyRsBH3JpINh8WvwRdsBoTGTbV3INZ2TPof3uXTrmlDzw== X-YMail-OSG: Kn1_EwAVM1kxyXTbpRxOTEzGTlTSGtkjBKGrBGB7eo6WE0eHLU9a011eIGUYRuN D_kb1JvU54qbhkuzkv2eWEwc615iDCHtu.wwJm0Z3AQ164MmRHAoc0YWQWZC9QN_Pexcso34uRW. Km2oaRIr6loOVWhAXndcMMl32ZPyc5v.8Gdm3nmuyCjajh2S.Fp3LCbiRVtrRluAuD1vhmQ008ze XRrtRsZ0zfKWvfjR2lEfnme1rdcuYy1FJTKn94QY6GIBLg4y9hwLoAascdDhcXnc1paXjVwBY1CJ 0W1KQ_8Eq_lZSwI8W8YvKd6oZxS3Qw1MMOu5LGyxa7gDVdQoEF1H4R79OntDJ_8W4qUGYOVLxjR8 DSfx5qfKU6F5T1OQAwtxW2PHYVWQju3B9YcH4l9IE2CiXrkVNb7brYAQEqoQS6CF5HjGu1.hgPdy YOxOtx47yW_0QdRb7RFpVG1a6xC2O3zX6SeiHgrWdXqJOBQ.07PKigN6LbtEc7v1yFKnvdPHlkeA sbiG4xVyzuYpnALxx1N6tdeDD4CqWwVn0rjkdQn26UxsSoVyAsJAgfOHmg25uQ0yal7jAGpv4q2J JC0YaZF5Bgz4INVfZ.t8SVUfQVo7eMN.BmeL4JPx.zRGBA0GM2Y.xCp_QjZO28vEVumiPc01gbTC qqm6dKJQMslTgV8WvQd9N.XRMCwgxCLCQWlW5vKtZa.9daofIlubFJG.BAz_zYFq2.1G2VfZ4i96 9Ozn3Z7_PcpTB.siPFkQRPRHfK.NcEGcLLKp2ySghMh2eGUM6JGZtGrniYVxAKK1kTza5osJvmDM jbhwBdDnwEzWnYGeZy.scvCM7oiE18QyoC2bgt8EYk X-Sonic-MF: X-Sonic-ID: c9809c22-f828-4167-9397-3defa886896a Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Sun, 18 Jun 2023 06:56:48 +0000 Original-Received: by hermes--production-sg3-748897c457-fqxqz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 768cac45b34dd571fbdec6820bdee759; Sun, 18 Jun 2023 06:56:44 +0000 (UTC) In-Reply-To: <83f64da10bfab98a840a@heytings.org> (Gregory Heytings's message of "Sun, 18 Jun 2023 06:20:51 +0000") X-Mailer: WebService/1.1.21557 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.33; envelope-from=luangruo@yahoo.com; helo=sonic313-10.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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:306912 Archived-At: Gregory Heytings writes: > Sorry, but that's wrong, or at the very least exaggerated, > AFAICS. Termux does support input methods (see > e.g. https://wiki.termux.com/wiki/Touch_Keyboard Termux does _not_ support such input methods: it only supports on-screen keyboard programs, which are only capable of entering alphanumeric characters and symbols. Also, that page describes the use of of the Termux terminal emulator, not the X server which they are developing. You can easily verify this by installing any CJK input method and trying to enable it inside a Termux or X11 window. Don't assume that everyone resides in an English speaking country, or one where alphabetical writing systems are commonplace. > ), and Termux:X11 does > of course support touch screen devices (see > https://github.com/termux/termux-x11). Please be factual, and add > pointers to some external places. Only in the form of mouse pointer emulation, which is unusable. > I did not check your claim about "clipboard data other than text", I > don't even know what that means. I just tried to copy-paste a cat > image from a browser (I tried both Firefox and Chrome) to Emacs on > GNU/Linux, it did not work. Did you try `yank-media' in a message mode buffer? > And even assuming that minor feature would work on GNU/Linux and not > on Android, it would make life of Android users slightly less > convenient, which does not seem a problem in itself. There are many other differences: the ability to open files provided by the Android file-system API (rather than the Unix VFS that is intentionally limited by Android), and the ability to run user-installed executables outside of the Termux (or Emacs) home directory, just to name a few. > A single bug report indicating that "sometimes when copy pasting text > in emacs-x it freezes with clock icon." is not synonymous to "more or > less broken" in my book. It is, because yanking text from the clipboard is an operation users perform very often. And the fact that it breaks, and Emacs cannot even display an error message, because the Termux port maintainers did not import the Gnulib modules necessary for Emacs to do so, points to the complete inadequacy of their port. Unlike you, I investigated and tried the existing solutions and found them inadequate for my real-world requirements before writing the Android port. So before you reply, I suggest you take some time to try your so-called solution, with the requirements I outlined above in mind. Perhaps then you will realize how badly it works, and why users are responding so positively to the native Android windowing support.