From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Sun, 06 Aug 2023 16:40:10 +0200 Message-ID: <3469960.ipicrQNo7v@nimes> References: <1428589171.162865.1691134964773@mail1.libero.it> <9065382.vXJBWSPEcx@nimes> <83tttcpeof.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37551"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, eggert@cs.ucla.edu, angelo.g0@libero.it, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 06 16:41:28 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 1qSewi-0009bh-Al for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Aug 2023 16:41:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSevt-0007QP-6x; Sun, 06 Aug 2023 10:40:38 -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 1qSevk-0007Q9-VX for emacs-devel@gnu.org; Sun, 06 Aug 2023 10:40:32 -0400 Original-Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSevi-0002lR-Qh; Sun, 06 Aug 2023 10:40:28 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1691332811; cv=none; d=strato.com; s=strato-dkim-0002; b=iEEZt3XHZl5m+W2XnjH4MbDV0Cmdl4VC2tB4vbda1/crak1sTZ2IQkbMuccZKnICWg PkxKrsxQEy+GrjQreUsPxaqF2u9chpUQbqn4+mIp4WClx+U1UAxVguDKXVU2Eg5ZJpDt D1uKhPqe2tBAvvBCEzjKzIjAwWHVX38EB+xuvnbJw7ziS6frHObg2Obmz+HjmikCEgtj DDBEVyovsneEfLxITN9GLo8Ihj2plWXu6cWCFcyJYDYOiGcP6uvJxRJ7J5O/685KUfCK uaS4EjptzE41xRPJI0Sjmpyfz9adB6DhRImRaNENlYowN6u2UEGmKstt5lZcL0yOxVvf lDjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1691332811; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=jGVqIFTp2hCiWFxmjmOUImP+eGeeVxBgRTQ2JaDOVvQ=; b=thH4FZ+EaJYnTn3SiwO7Fzz0SWJUVrixuTLB/VR2SWfl2H1qBIIG0xw8jz5fh8knPl fSED21Fgr96OEG3t24uoH9gWFlnmzTKT9ZvEdnUoM4vIprNdTRhculHbS+g/Ygc1KkWq Pz4c6HbCWSObo4jq7DNhCG6hQetpS7DESAmU2MqgMyGTC6n+kchYE9PQha74F4LZLTXu 2hrSLJ+zp7AhgQQ4vuyWiFBQN9c4PFePFTTk/xnMqKCb9WzFtCajH4o1DdFSCXBNy50l RsUR/C5enavL2cpnommtqE5gDHpQmek/gr15cWzwbRFmxaY4bWXGMPLyYvLKDDzP9u1P EY0w== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1691332811; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=jGVqIFTp2hCiWFxmjmOUImP+eGeeVxBgRTQ2JaDOVvQ=; b=SKv/YIczWLJiA28xJiGfbQYinTiqKr1dvz3Ed59OY3yqfnvYXblVWNrhtBsuXgc+m4 6I635GFtYVdFmfuQekwSTYJ7A24YpdvExiNyXSUUUsaMQs76yG2avG0ym6c5WIw6nzxa gHbuQ6tgWAGiejzH+AHpuNIGQ3RYcitAYcIBb6MHPbpwR7vOzvh6A2bss7wM0k8oxDpK Sd3ZapbgnVIgt0Av8/Hp7b52eeJ9vlFU259UrJ9zoohvPJFVX1KsTgrv53pFAVZZXZ7o CGBfc4GJGnw6pe5kmX/luv0zckm3m2COtKChn/cAjl74Se3eerdaFAzwSfdL/K0jcKkq UPFg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1691332811; s=strato-dkim-0003; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=jGVqIFTp2hCiWFxmjmOUImP+eGeeVxBgRTQ2JaDOVvQ=; b=yyvkE0JeygRF6Hb9PCfLUmIvd/+Dv8WTOiS4CXkSJsHb5iMObeeOMWHCHr2vY54/lb fgEak0IK1I4bW8FQdxDQ== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOX2fDKnekUQVKPn9EujZhrJOXWHg==" Original-Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.6 AUTH) with ESMTPSA id x129eaz76EeAZ7Z (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sun, 6 Aug 2023 16:40:10 +0200 (CEST) In-Reply-To: <83tttcpeof.fsf@gnu.org> Received-SPF: none client-ip=81.169.146.162; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=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:308370 Archived-At: Eli Zaretskii wrote: > Unless there's a misunderstanding, your understanding contradicts what > I wanted to convey in the quoited text. It's possible that I had misunderstood you. In fact, I don't fully understand your argument even now: > The individual gl_cv_* > variables, if overridden by mingw-cfg.site, will completely shadow the > feature tests and will from that moment on make detecting any new > needs for that and dealing with those new needs our responsibility, > with nothing to aid us. Which in practice means we could have a > broken port on Windows if some other functionality, which _is_ needed > on Windows, will become dependent on a test that we've overridden via > these variables. > > Which is why I prefer to disable a module or a function replacement > without overriding the individual functionality tests which led to the > inclusion of the module and/or replacement of a function. Disabling > the module or a function replacement just says that this > module/function is not needed or is implemented differently, without > saying anything about the respective functionalities. I'd like to view this question from the process point-of-view: If some new functionality test is introduced in gnulib/m4/printf.m4, be it (a) because a bug has been discovered on a non-mingw platform (such as recently the %lc bug), or (b) because a bug has been discovered on mingw, or (c) because a new ISO C or POSIX standard requires new functionalities (such as recently the support of %b), what do you expect to see and do in Emacs? In all three cases, we update the Gnulib documentation, but don't put an entry into gnulib/NEWS. Will you typically want to - review all format strings in Emacs, to see whether they are affected? - add some note to Emacs-internal coding guidelines, e.g. to the effect that %b should not be used? - review the mingw-specific *printf override, to see whether it needs a workaround (in case b) or an extension (in case c)? - or do nothing at all? Bruno