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.bugs Subject: bug#75379: 30.0.93; project-find-regexp expects "C" or "en" locale Date: Sun, 05 Jan 2025 20:46:42 +0200 Message-ID: <86jzb96qul.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23385"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75379@debbugs.gnu.org, orontee@gmail.com To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 05 19:48:18 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 1tUVfd-0005xg-MA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jan 2025 19:48:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUVfP-0000Db-Kg; Sun, 05 Jan 2025 13:48:03 -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 1tUVfO-0000Cy-4P for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 13:48:02 -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 1tUVfN-00024J-S0 for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 13:48:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=1hvrlD1qvN9Nyr39U1MGC0tV4Td19hCedpVLK6qLJqc=; b=BEnfubiAuf9UHq4hTxMGulL0gpXeEfz4ffHugKcJ/enyQRJxJmHknTP+4TaZjp6eIrb+cCb735Ee+Xy61Ksv6xHkLRECRe7MN6PInzeUSugl8nG/K87UTXoggcFGuq62aqr6ERuJLJ/KT6DKvdiKCkE8H55BnI4d9D3G2LUH6d/f9n6DATdeM9ADTM0wS3CHT2uGufHshxPxa23Dq111cFcQvkH5P36yc9HGZu43zayjcRe/3Ja7vKYY8FjYbUhqk4/ABAVpF80HI2ZpjnCLc/uP8vLIW2ybrs2FwplE2W3m39/V7g9HKcqs8TPCiEMrbbBSNTWIT8nN4Srf5k5gPQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUVfN-0002k0-Jd for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 13:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 18:48:01 +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.173610283010443 (code B ref 75379); Sun, 05 Jan 2025 18:48:01 +0000 Original-Received: (at 75379) by debbugs.gnu.org; 5 Jan 2025 18:47:10 +0000 Original-Received: from localhost ([127.0.0.1]:35214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUVeY-0002iL-9Y for submit@debbugs.gnu.org; Sun, 05 Jan 2025 13:47:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54442) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUVeW-0002hx-Cw for 75379@debbugs.gnu.org; Sun, 05 Jan 2025 13:47:08 -0500 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 1tUVeR-0001zb-0p; Sun, 05 Jan 2025 13:47:03 -0500 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=1hvrlD1qvN9Nyr39U1MGC0tV4Td19hCedpVLK6qLJqc=; b=mcAruLTLzkNV 6bimzhLsH1DUfrBi4XZ4ra1Wo86KbEYOQwtvw49yV9Mowv3QSfP3yBP6kSHUYBzwzN96GFqjVOmDy gFqv3FMvx5ZAu1L2qjxWxe2LSE4CIn5a/icop1yVObjpSUTK/LM/Iks10CRUjPyUg07Ad37ZfNgfA dJcWp3xKHe+vHI7EKsxTl4ZEPlRx4+irHGrcNlfLTj3CyyXc7KclJK0Zl8Z9ahi7Iu65n9O3cS0Or wt1HBy6YrmQAMCfYGGRctOvdv/1+G5DNpce+16H87JdQq3ScSrZy+5D9z3rt0FfKniE8oAlj3Jx+6 1nKu3WkPw+0nkWsWsz5tUA==; In-Reply-To: (message from Dmitry Gutov on Sun, 5 Jan 2025 20:03:34 +0200) 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:298591 Archived-At: > Date: Sun, 5 Jan 2025 20:03:34 +0200 > From: Dmitry Gutov > > Overriding the language seems indeed the way to go here. > > About using LANG specifically, any chance that it might interfere with > the system's configured encoding, e.g. UTF-8 vs other? In your example, > does searching for accented characters work as well? > > IIUC we can try LC_MESSAGES as the more specialized var. Does > LC_MESSAGES=en work as well? Please note that this doesn't work on Windows. 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. Can't we instead have a database of these messages, like we do with the "password" prompts?