From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Sun, 06 Aug 2023 14:39:47 +0300 Message-ID: <83v8dspfgc.fsf@gnu.org> References: <1428589171.162865.1691134964773@mail1.libero.it> <87v8ds5xr4.fsf@yahoo.com> <838raoqzro.fsf@gnu.org> <5235398.eMNxiy0SpO@nimes> <87edkgbfa8.fsf@ledu-giraud.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12810"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bruno@clisp.org, luangruo@yahoo.com, 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 13:40: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 1qSc7F-0003D6-1m for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Aug 2023 13:40:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSc6g-000327-F7; Sun, 06 Aug 2023 07:39:34 -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 1qSc6e-00031t-Gn for emacs-devel@gnu.org; Sun, 06 Aug 2023 07:39:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSc6c-00006k-Ig; Sun, 06 Aug 2023 07:39:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iyR0wgg0BRz6IHhKOqYZcRWB8lCh5HE1glpPYHk7X3s=; b=FKn21LoWqU02 NmN/fVZZnK9JXzub4UotkXEhq0ubQXr/twjvtEiJks7k1SgMpZHtF8tLK09DOJ5sCva6tp6a5ji2J M1nsKhJnvfzqHUi3CFxaHCiNHmFf+X2qE25gDp/SI90HQHBuoHN3cpcLykSkDmHTBjXASkE800LX4 RLi0iUhKxMAT9nH2pb6oiPaR6XhsPzFsFHAAcjkY5LLVZLzdiEvDnDRNz+Kz4/AyDQd2G2cTnLdb5 6UFNOeXppoFuTGQai6zVt1wZr+lWlJ+jHk2beXFjzeErWOq/SnrFKhHYpQidjaNG210uK2sOasxHJ o1xx6/EsBzrtoWb7irb2mg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSc6c-0001Z6-2Q; Sun, 06 Aug 2023 07:39:30 -0400 In-Reply-To: <87edkgbfa8.fsf@ledu-giraud.fr> (message from Manuel Giraud on Sun, 06 Aug 2023 13:07:11 +0200) 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:308350 Archived-At: > From: Manuel Giraud > Cc: Po Lu , Eli Zaretskii , > eggert@cs.ucla.edu, angelo.g0@libero.it, emacs-devel@gnu.org > Date: Sun, 06 Aug 2023 13:07:11 +0200 > > 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 Thanks, but unless they contribute the code to us, pointing to that code here is actually discouraged: it makes harder for people to write an independent implementation that cannot be possibly taken as a copy of theirs. Rewriting this without %n is basically trivial.