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, 06 Aug 2023 20:47:47 +0800 Message-ID: <87sf8w49sc.fsf@yahoo.com> References: <1428589171.162865.1691134964773@mail1.libero.it> <87v8ds5xr4.fsf@yahoo.com> <838raoqzro.fsf@gnu.org> <5235398.eMNxiy0SpO@nimes> <87edkgbfa8.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15139"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Bruno Haible , Eli Zaretskii , eggert@cs.ucla.edu, angelo.g0@libero.it, emacs-devel@gnu.org To: Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 06 14:48:20 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 1qSdBE-0003k4-Hf for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Aug 2023 14:48:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSdAu-00080W-LZ; Sun, 06 Aug 2023 08:48:00 -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 1qSdAt-00080J-PU for emacs-devel@gnu.org; Sun, 06 Aug 2023 08:47:59 -0400 Original-Received: from sonic313-56.consmr.mail.ne1.yahoo.com ([66.163.185.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSdAr-00016C-V9 for emacs-devel@gnu.org; Sun, 06 Aug 2023 08:47:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691326076; bh=QvmL6M1JYBoaVXasHBhNZxWWWC21Y5uB0/lcMGeSEv0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=low6ObjZHFSyVuDjryTCH3KMdBLw+jhwSxQw7d31YmDkBLkZfO93IlGrSdko7dVqreLzWuzKioMXBtz7a9LQ6aybldWHoAhkBSl91VtzAXfIC4ad6JUlPxGZCOz4sRoreFkpgZRXlMQzNo7PQQb0wkZJLvlaaU3wJ+y6rGFHV/bfwVdNSV6o+rWqj+GeY0EOkEFm5uZw7Cw4IMlf/19AgLyoydUzaC5d9QDMyeHFH8KkiICFzMbanv3Xeb237mK0WIztvSz8fxEauA3cAlmQOmRe2S3llkjKmPJOnGPrSCtQMt7R6AQB4jt1E2X9Xn8qMKBpFHdIo5X5w3qNQMpbaA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691326076; bh=sDJoW3atBvAeIaV4deFjQlYT9jw+yHB/lWmel3+0jzN=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=uENN8aOZo8PglwT/Dr1JTHaIhtvBcCurYRGKOBp9Oj3iAveNV/L47n/7milVk5CM55NQxl9NZxssaa41FarR1tOVBH6uSQIzxHEtWRbRm6qtX8O+ZKMMu4XRoROT8l5XJs1Ngco9ftb4/oa6o1SPyBvVlJtW5mc1lNXQuHF8HDFMkHiecUDxclzpOaFeYifg0Jtjx89OrB5Ulfm5ePL/b5cn0m7xnTjVIzqm39FSTr5iQ29N7snT8vOEUlVuCdbByOi0K81IyPu8mtPfukeUHAoQAPf3B8H148lMKMq/TW2GE5CuafZmn2sknhAodDR9i3Gju7v543KaLFeOfp1IXQ== X-YMail-OSG: BHKKGC0VM1m0ZRkGdHMIGEVa4Uumrh2NypLlSN.AyZoXE_EvCV1.g.7rZexl8yg F5_zeQvpfMPhpMSfnOMG1AMxWd.1KajgJa3S.MEdPURjN6eJQutchL3FkVSwLdZrZSIDKqDGBuNW sach2iogtXxWwOrCtX2YmqeCZajoI2FJLKyIXVhex.8HPUQ_9Dj0LzFLL8OKzr6cn3GIEdGMPwD5 LrmJXowJ76.62K4IPGsupVQcf1W4E4Y1b38sXo3C72MEsrvkDR9b9iDASpVQiSushkUnQGmGVWPz Sj73xVqVCrknbS6J.FrNWUCJII8x17aLvdYE7Xn36F_fYuDrQJE6EX2mV5_7OqOYHKX7DqB6zGjM yYyuvGddk_L3dFXiAgFzZzLgIv3LngccqYDjuu8uIn3gfsVa9yZJkvEYqgHAN7W8nwUPBpoM4mRk 4OrwIBLNO9vruIhwWpu_jdy_WtE16RSGe_Rt90pw_0Al0S39hh2HLj7vAIfl68aa_MeLTOV.xFPc jqfUWwy7j1BYw1jZEup7c02.vD_vAcUTyvtt3utktTMEhnNqI74GIxPetOT4ENzYwN7GA_QRmEoR MdCqJnufpc81zihWAxVImrLODfstoBEH0sxORUPyEU282ANM50RAe_shRDqm2mZSsp5QwhthStGj CpSEcCIN_P2sx7pM0qlEBwaQJ0sA0WOGvtKbHNPtyjEiZG42rFxN.gvZhomNFMc0tOdEf5arhlas rVDIzx_pz85JN0SZjVrZ.wNC6O2NeZh.E.so1BIP8OAgN8oPfAHmVmSUptVg6bxWl6_SHCBTcfqJ HWNM6fLaro1GEiPe920QwhfywPQGMsQc6DLhh0X68b X-Sonic-MF: X-Sonic-ID: 74bad71f-6e1d-49c5-ba0f-51f6ae7b4877 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Sun, 6 Aug 2023 12:47:56 +0000 Original-Received: by hermes--production-sg3-6b8fc8d58f-92clx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c7ca39b6fd464212499282530cb5999f; Sun, 06 Aug 2023 12:47:53 +0000 (UTC) In-Reply-To: <87edkgbfa8.fsf@ledu-giraud.fr> (Manuel Giraud's message of "Sun, 06 Aug 2023 13:07:11 +0200") X-Mailer: WebService/1.1.21695 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.31; envelope-from=luangruo@yahoo.com; helo=sonic313-56.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 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:308360 Archived-At: Manuel Giraud writes: > Bruno Haible writes: > >> Eli Zaretskii wrote: >>> > And also %n (used in the rest of Emacs), which aborts on Android for >>> > ``security'' reasons... >>> >>> Most of those are not relevant for Android, right? >>> >>> The only one which is relevant (in emacs.c) can be rewritten not to >>> use %n. >> >> Then I would suggest to rewrite this instance without %n. > > There is a patch for this already in the OpenBSD ports tree: > https://cvsweb.openbsd.org/ports/editors/emacs/patches/patch-src_emacs_c?rev=1.5&content-type=text/x-cvsweb-markup Please don't post these changes here, unless their authors have agreed (and signed the paperwork) necessary to distribute them with Emacs! Now that we can be construed to have read them, we must go out of our way to make our code dissimilar, should we ever want to perform the same modification.