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 13:02:45 +0200 Message-ID: <9065382.vXJBWSPEcx@nimes> References: <1428589171.162865.1691134964773@mail1.libero.it> <87il9s5vmv.fsf@yahoo.com> <83zg34pi7p.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="4164"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eggert@cs.ucla.edu, angelo.g0@libero.it, emacs-devel@gnu.org To: Po Lu , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 06 13:03:45 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 1qSbY0-0000qe-Ke for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Aug 2023 13:03:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSbXL-00015L-Fg; Sun, 06 Aug 2023 07:03:03 -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 1qSbXJ-00014l-62 for emacs-devel@gnu.org; Sun, 06 Aug 2023 07:03:01 -0400 Original-Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSbXG-0001Bh-My; Sun, 06 Aug 2023 07:03:00 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1691319766; cv=none; d=strato.com; s=strato-dkim-0002; b=lzM9HlijkBOM0orUSuI7gwWnq66qhP+ZcyVpVB6WwVEIt+Uys8wqdhpJVbuYE6q6j/ Mu4s5TIdjfa4wJammxia0CIzT+kdwPn/+nuwzL38Pp+GOrxP7oO3ZVgXD5P6MGjOo13M BNd1nI7HptWHykFFZCtXqtyJLz1bIi5vEtin1tGNRDvznxWEvucsBNgnGZ81J49X2s1o qXQ+JDC24KHp5+eTe7nvtJzPSEoPvYActWiOMkZpn0vWzKz2X0TGttt39Ko8CYfPoYGM Tc7hRcVvuuUcvg5jD+hun9K9Tr1EPMKLL/8obVHpg1Xqr/WAnecx+c8pnw2BDSNaGuOC tHYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1691319766; 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=PDK0WIJ4ffSR/LO06rq/bEL4aosMjg1oOOo4L3ldBh8=; b=WI1DNSc2HpYjAZz5iKeCt74KY6XZj4PwtqQga8UREgP6Gtn6VYgawI8psfnjmnmfSC 0Q0+yisOaoV+UfUIwXzyVEHRyUow91WHZoAHNYc58dYosKuF5+zFmWttjxXbpmwnmDn8 3kFpbwRm9/9siGSs5semoBbKbY3xjEv+n1Pk9dg/HWK/M0PfxGdU9hM1k8qNmse3scxi I7JwFzx4VrvP/39LGxS8EKPK8lSBRNQp/Z4Cl0DPSBKTPsbYtdzNo5e0jaxFm+P7PokU AFwSMf692X96YT4WNrhXOIdygjizq/E2EtcSNuOnt4gQ3JD8iIb/UanusSeFqPJbsm1T uaaQ== 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=1691319766; 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=PDK0WIJ4ffSR/LO06rq/bEL4aosMjg1oOOo4L3ldBh8=; b=rbJYK0z0wbj95EBn8juaDE0Yr97Dnd8wa8Xdl9CpJBJMd9Ja8oTqxD0g9oLhYxyXNm nIWbiQUJGEJqfCdZyUnOaT/oGTHgwXMqL8UmwycUaaQFPu3ZWBdyp0BZgU5YVOh0Tmiw PjPii0p3XdyTWm+/uqshlaayfdtiVgakQHxw0956v/lsy+NwplGh1HdNSvazf68RdPOv 3Xd3DFlNIfLDoKa7Gb4Pk356DW4U0U8KdOBh0mViIuE45QmnJCcwJRh19CMCqd/SBEjv huAu5oD/3m1oZu9Xld1m2IneK9ardxzNbRToaPnboCVUicRvgv3dm4Ep5Nto6aR9Hgph EmLg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1691319766; 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=PDK0WIJ4ffSR/LO06rq/bEL4aosMjg1oOOo4L3ldBh8=; b=DkVeSEpNM+fvQVLSVCpJuLm+oSFRdXKjYMJfYMkvsoRNWlrRve4QjvMNhvFNCUeWb2 5gMbQzVwr38sNES5SQAQ== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOTiPMPWro5IJ+rUD0ISbPnXXI/" Original-Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.6 AUTH) with ESMTPSA id x129eaz76B2kYiB (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sun, 6 Aug 2023 13:02:46 +0200 (CEST) In-Reply-To: <83zg34pi7p.fsf@gnu.org> Received-SPF: none client-ip=81.169.146.161; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:308346 Archived-At: Eli Zaretskii wrote: > Isn't there some "summary" variable for printf, like > gl_cv_func_printf_works or some such, which is set if all of the above > variables are set? I'd prefer to override summary if it exists No, there is no such "summary" variable. And it would be overkill to introduce one, because - Emacs is the only package that needs a certain Gnulib module on most platforms but wants to deactivate it on one particular platform. Other packages don't work this way. - The approach to set the variables individually in mingw-cfg.site is good enough. It occasionally needs updates, every N years or so, when some variable is added. But that's not a good enough justification for adding complexity to Gnulib. Also, a "summary" variable would not fulfil the goal that you set out yourself yesterday: "I prefer not to preset gl_cv_* variables in this case, since they are general enough tests of specific printf features, and if those features will ever be really needed in Emacs, we want to be alerted to that." I perfectly understand this argument, that you want to be aware if the mingw-cfg.site file for example pretends that Emacs does not need %b support, in order to check the format strings to see whether that's indeed the case. The individual gl_cv_* variables are the right instrument to achieve this process. Bruno