From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#75379: 30.0.93; project-find-regexp expects "C" or "en" locale Date: Tue, 7 Jan 2025 16:17:24 +0200 Message-ID: References: <86jzb96qul.fsf@gnu.org> <69ecb6ff-e670-4945-a9d4-82edc4c5f088@gutov.dev> <86a5c56mpa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8802"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 75379@debbugs.gnu.org, orontee@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 07 15:18:25 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tVAPX-0001zC-Ay for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jan 2025 15:18:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVAPF-0005t6-6W; Tue, 07 Jan 2025 09:18:06 -0500 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 1tVAPD-0005sx-E5 for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 09:18:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVAPC-0002ss-T5 for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 09:18:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=E1b3cIcLpTXvhJNurjSP6sU6Z/co8MjJNvJrNI/vBIg=; b=lj3smBREZoNqXUhwHwXw3rnJypdnRs/fdVAV9okBgRHRbZdn2wJSEJ4GIeyCFEbks8rLjNLLir5mqjE4Ocq+CQImmMlws0kRLNKiFPgXiZ+xb1BHZ4V9KXeJzrj+BFZo8/P9oMcMO2M4CU1dKw7WvA+6CpqUvH55GwEOY0hXUwdcs3C+16gnkwDeBjhLujInbK0HJJBL1ObLhllGOlthnRBW9LFE4RrXsM/iqojaqkoa3T3AFG8a4A3+0fT7vJgUBWUcbm/AjTAuuaBHRp2P7f9OVv1SQpDgkItvvEOzJVJwIO6DktDBjwE3LYOjObyuQEHdZD1OswDkgbyzRzeOow==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVAPC-0001US-KI for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 09:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jan 2025 14:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75379 X-GNU-PR-Package: emacs Original-Received: via spool by 75379-submit@debbugs.gnu.org id=B75379.17362594575670 (code B ref 75379); Tue, 07 Jan 2025 14:18:02 +0000 Original-Received: (at 75379) by debbugs.gnu.org; 7 Jan 2025 14:17:37 +0000 Original-Received: from localhost ([127.0.0.1]:42289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVAOm-0001TN-Hd for submit@debbugs.gnu.org; Tue, 07 Jan 2025 09:17:37 -0500 Original-Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]:39913) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVAOk-0001T6-K9 for 75379@debbugs.gnu.org; Tue, 07 Jan 2025 09:17:35 -0500 Original-Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.stl.internal (Postfix) with ESMTP id 046BC254017D; Tue, 7 Jan 2025 09:17:27 -0500 (EST) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Tue, 07 Jan 2025 09:17:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1736259447; x=1736345847; bh=E1b3cIcLpTXvhJNurjSP6sU6Z/co8MjJNvJrNI/vBIg=; b= WVntBSY07mEziBEVigOG2ajBJEqIDGBYGKYo0y56xfPF8j7OorJ9dKpZcidHFZNp ikkqo5NO3uxx3ckISqt4o6MCIGgyKdxAycN6cfz1dyU0HIdfZvq2J/9b8bqDYvfM CI6FrNRl7KZAZS1R+CdbtmdYWJ/GV6Gj2rhJinNpqSvpAD5fntm1pUSKQcI4W8u0 6oJyvlRkqui0L5dRfajxbde9bQezXidqvNyCgJFfCTmPTRh5LR3SIRAiXJVd6f9w nATIUhxDTkk+HCVzw/R4FGqfD1goHGTbg7N0d5W+pkMoCh8fFalZ4IPJygBGBjQH G2bP3C8YKoi1oO9ryGbsbQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1736259447; x= 1736345847; bh=E1b3cIcLpTXvhJNurjSP6sU6Z/co8MjJNvJrNI/vBIg=; b=T pLE8JaBxpxiVats5E1MTFuj9IDwNtpDOhtTlouiSPgbUk+WJ0rRLcz9F0iV3OyRb BEDnv7FsZYnd5p3Kkq1nA61ThqbCS+CoVlsAdUOrjczrZYxDtbgUVigrZUFKJ8Sa Q6E7q/ApL5QHtVGjJ6zfp1j2yf0FqMrsYFxJdlVu1Ka0YBkjl7gSg4QRdCdWSpiB sBXB9HAwH+mBbug5jdNfDyYVTC55S5xaWiyvcaOz5pE6c3/6C4y/UpPDChaHN3+W GimaVg8xaQVtdz05VZS+pnvfeZ8OnAWGJC2WBPVBuUSohf+bRnxGw4bY2yQudFgu Sw4pMxpJoWiWETpxE09jg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegvddgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepueegkeeifedtkedvleeujeefkeelhefhhfelhfev gfetieejteefffevhfdvtdfgnecuffhomhgrihhnpehsthgrtghkohhvvghrfhhlohifrd gtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep ughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthhopeefpdhmohguvgepsh hmthhpohhuthdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopeho rhhonhhtvggvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepjeehfeejleesuggvsggsuh hgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Jan 2025 09:17:26 -0500 (EST) Content-Language: en-US In-Reply-To: <86a5c56mpa.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298721 Archived-At: On 05/01/2025 22:16, Eli Zaretskii wrote: >>> First, the Windows locale-dependent routines don't heed environment >>> variables, so setting LANG etc. in the environment will only do what >>> you expect if the program in question was either explicitly programmed >>> to pay attention to those variables or was linked with Gnulib >>> replacements for locale functions. >>> >>> And second LC_MESSAGES is not supported by Windows locales at all. >> >> Okay, but first of all, do Grep or Ripgrep use different localizations >> on Windows, not just English? > > For Grep, it depends on how it was configured when building. The > default configuration uses gettext to translate messages, and this > message is marked as translated. Okay, but if it's not configured to use gettext, would it just use English, or are there some other mechanisms? Looking at https://stackoverflow.com/questions/9268379/non-localized-version-of-mingw-msys2, there recommendations are along the standard lines of using either LANG or LC_ALL. > For Ripgrep, I don't know. It seems to me Ripgrep is simply not translated, which is just fine for us.