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: Including unconditionally in Emacs Date: Thu, 06 Jun 2024 14:46:35 +0800 Message-ID: <87a5jyh8l0.fsf@yahoo.com> References: <1906c20b-1c6a-4fce-9e55-9667b32ec8f4@cs.ucla.edu> <86plsuisdh.fsf@gnu.org> <57488183-bd8f-44bd-89dd-c5b7376682fd@cs.ucla.edu> <86frtqipei.fsf@gnu.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="5009"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Paul Eggert , Emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 06 08:47:49 2024 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 1sF6ub-00016H-FY for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Jun 2024 08:47:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sF6tm-0006Xq-F9; Thu, 06 Jun 2024 02:46:58 -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 1sF6tj-0006XL-Su for Emacs-devel@gnu.org; Thu, 06 Jun 2024 02:46:55 -0400 Original-Received: from sonic304-20.consmr.mail.ne1.yahoo.com ([66.163.191.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sF6tg-0006XO-OZ for Emacs-devel@gnu.org; Thu, 06 Jun 2024 02:46:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1717656410; bh=dQOpsgGNBaPaWes+q+AjY0whAhua/rlBm57yfDacTc8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=NGGQP2wIEaC0Yo+oK5fXVEfmYIw+ec9Dxx7bPqch7a8Lm+7rFkXr64pCO+F2KymawHTD8dn+C5lzyQoWdwnkUGLEGykxhbodABox10HcWoANt1TxV12a1IpZjcATc90VwHrcBBpa9R6azsfqVBsYxsazYymezEEsIFFspsVxCasexw3r67v0l+IOSZ8icFQVB7jkYQbRaNc3kenuaaehmRxNLbm23tjpPfj/X8u7KzQ7B7kmQNuVUV/m/YhQVTBO9yQNoL8e4r5zAPXHqawjDZkbsb6K/OUDXPWvZXHwyzX2CEqrz68D7yoVOTZGo21PwAtaufcFlM6h8o20rDtmXQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1717656410; bh=jlajZ4uhsM6lwSXd/ev53qDpieCToG2RrIt5HG79CHe=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=SgiWamPnIxf6VvoIp5oagpZe/y/viULOoVrHkudwuS/q7TIE3X/Zq1MJhUGhuA78O8Wg8O6oyDvY52MmHUOUEEUOOaIj/T5iiS5ISMnNHoJUO30qbNlNcw5vdQ0oUk5eowx57w9NZgJi14orkkEoEtQmTaZ6DMg5iuixSQaw8eICH4cMcfIXw0jlOGBPisEnVV3Ut4//Nk8cEMNP1VG6SGtALveg/SeSVqmqhJHPVka9/Hfnrj73CU3y2+8M7dEVozZ5eb57/LuMb/qiZ4CjDBND5DxPZzjrSzKak6L9sRyjrm9AR0Qp4ye6EfXPkIAfMLW6v2Pnj0UkHpOdqZx2eQ== X-YMail-OSG: 4iHWdv0VM1k20jdpd6i_UbISeSBA.ir4k4MDknWIXitKGUGdPCtL6.8zML9DV24 PxwJ9ydCivvTOxN2_OUJpQYb.tMlyvXdF1qYzddVstmT6o.bhMZEnwlDCCXxBrzP5s1W1zywEFv. glNqAyj3IOPNtkaLXlnzGEoi6KV2iIf0lg2wCovSGFSuRYRaxSv6hFu7V9TMfULGpg4aH7gea.kC MPdneFr5c88FdMpE3csDAAiYVp4c1IDqStWGll9U8dXI5g44LMWerh6OYqtYdL6h5bzI4OKDs9ui cl_VVwW5ZnDC3KEEtrQgFmMPU1UI9Rg7aPMs7LA1gDm3AUc8_31oSxRaaHesJlszgLAdbh4N49j0 Cw0.mUmgmuOAJoH6KA62WQSXygCUQSXA9N79RaM7LcUGgNpBvtCoLH8tazDyOpxcObGrGXVJxnRb _XNZRjOCecRDqo8e2zvLB6bKQ8AnBl3wAvxdsyhCFIMPa5LRhgA5Xy.4eCjy6gfW.uz8I9zvW0.i cZBZ8DCI96dP6AsWbTemoTpPP64LYmDNQmsyXL9.8NXqIP6YiMekgb8ptqbJEoFYiamDPAg5c77X pGBtUC5dwVBQ4warY8UG57HRX64lPbpYNnm3tdVO7rjOpTl1Sl6oELshKpveOW7ncMJXcuRcNaEz GqgjKJlmMzaFXpbg8FK8ao.psTVhET0jTTRi.1TxeqIuMfqdoTwrAEG2rBedHzgZvBbghO26dbcM 5Og15GC7ywq_oyGc6P5biSIXQ_OrTm3xu8wGS2mv7wyxmPNkvYd8wKTqnK35MECdVbtFb7TeYjkE L8LuUSIjIoJUtUiz6P1ztSdjUT6PquMIyxPanQJjgy X-Sonic-MF: X-Sonic-ID: cb167433-4967-4c9a-92c2-ba3d75777faa Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Thu, 6 Jun 2024 06:46:50 +0000 Original-Received: by hermes--production-sg3-6f9f87bd85-7p8x6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 110cde51569d51747425fce7bc7a1e49; Thu, 06 Jun 2024 06:46:46 +0000 (UTC) In-Reply-To: <86frtqipei.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 06 Jun 2024 08:57:57 +0300") X-Mailer: WebService/1.1.22407 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.146; envelope-from=luangruo@yahoo.com; helo=sonic304-20.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=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:319844 Archived-At: Eli Zaretskii writes: >> Date: Wed, 5 Jun 2024 22:44:39 -0700 >> Cc: Emacs-devel@gnu.org >> From: Paul Eggert >> >> On 2024-06-05 21:53, Eli Zaretskii wrote: >> >> > I'd like to hear from Po Lu wrt the >> > Andriod port, as I'm not familiar with the situation there. I think >> > Po Lu also builds Emacs on some ancient Solaris version, so maybe >> > there's an issue there? And what about macOS? >> >> None of these are real issues. Android has had locale.h since day 1. >> Even ancient, ancient SunOS has it and besides, there's no point porting >> to anything older than Solaris 10 aka SunOS 5.10 (the oldest supported >> version). macOS has had it "forever" too. > > Then I think we are good to go in this matter. > >> > we >> > will have one more reason not to import from Gnulib before the branch >> > point. >> >> I can sync from Gnulib into the master branch after "soon" happens, and >> then people can copy those fixes into the emacs-30 branch if and when >> they feel the need. There's no rush. I wouldn't have even bothered to >> sync from Gnulib recently, except that somebody reported a >> Gnulib-related bug on the master branch. > > Right, thanks. Paul is correct, though if any Gnulib code relies on locale.h's being useful rather than merely present during compilation, there will be difficulties on Android 4.4 and earlier. In general, there's no rhyme or reason to the inexplicable decisions to exclude functions from Android's libc, which might be obscure functions introduced in recent POSIX standards one day, but as easily established functions the next, getpwent being the "type specimen", so to speak. On another note, where is this code of ours that is allegedly conditioned on HAVE_LOCALE_H? If there is any, I can't find it.