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: Mon, 6 Jan 2025 03:32:19 +0200 Message-ID: <9e83141a-f870-463f-892f-1f8c1146a82a@gutov.dev> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38616"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 75379@debbugs.gnu.org To: Matthias Meulien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 06 02:33:27 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 1tUbzh-0009st-Mr for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jan 2025 02:33:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUbzN-0000a4-1N; Sun, 05 Jan 2025 20:33:05 -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 1tUbzL-0000Zu-8S for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 20:33: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 1tUbzK-00025t-6D for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 20:33: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=g5sN/OxkiA+ZBveOMLyyxiK441053ptYOIHQ6TQyAlE=; b=MwNx6kryiHuRA20pyzDloRqM21fFrq8JbN+TSCImf/9XsA044bGlWSl1EQl35C2R0Grh/HcF7X2SwXosY4Cm5DJMBQy2P0fxFK6oxOvqEFP6z6SfhOF8ynCsufPwChRRlf3MEnetJpFDJcV4fGmvuDygS9P2NhZ0h9EwuBpLWSAsELrdwD3SYmeEGgxWPQPhzuBo8t3Yhwy/2W5YRsb3JENeds+vnvwR0LSZEPqEx0n4DvXE7JaYLQ+w9w/+gIxs3QnIdfVk+ZDPZEl5IvtlJOrIvt8Pvfhu7oMidGjQnFJ9aT3r1tEFSl39n4cG4YtSedrdRa5nkgbR3n4KhzwV6w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUbzJ-0001AH-Vi for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 20:33: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: Mon, 06 Jan 2025 01:33: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.17361271534415 (code B ref 75379); Mon, 06 Jan 2025 01:33:01 +0000 Original-Received: (at 75379) by debbugs.gnu.org; 6 Jan 2025 01:32:33 +0000 Original-Received: from localhost ([127.0.0.1]:36068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUbyq-000197-Jv for submit@debbugs.gnu.org; Sun, 05 Jan 2025 20:32:32 -0500 Original-Received: from fout-b4-smtp.messagingengine.com ([202.12.124.147]:60227) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUbyo-00018t-EX for 75379@debbugs.gnu.org; Sun, 05 Jan 2025 20:32:31 -0500 Original-Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 8AD32114017E; Sun, 5 Jan 2025 20:32:24 -0500 (EST) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Sun, 05 Jan 2025 20:32:24 -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=1736127144; x=1736213544; bh=g5sN/OxkiA+ZBveOMLyyxiK441053ptYOIHQ6TQyAlE=; b= JFagzylBeCo+MPZZHTsFf1Z6y8DrjlasTywyuTiXakcXyfTIVEzY/vAevzVAkqYp zyZHAipN8isqqKHbZqRZcrhevwqWERZclEPSDxRUcpsAYsjCCFrRaCCqG+znzubp mQ2rXFrk4hrgUbBdQaJtxr3qcp/ySobNkAN3WGxSN193FVaxqqOpo4/FwlTwOkRO SWGvq0bPOfv71CBt5a78bRjWZfPqW9I0bjp8hgOHV9seEfP0eGiFuk85ete7tQel FNNJzona3mfa39WLpoLSiGRoW2pVR4ojYX0E91HPNLqKy64GZ3X7n3UJwYEU8eqC sQ5GAxQkHpdb5L7hW/9x/Q== 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=1736127144; x= 1736213544; bh=g5sN/OxkiA+ZBveOMLyyxiK441053ptYOIHQ6TQyAlE=; b=J OIz2AxbAD4yGA3StdzBnzzH62EBS4Kec51k+Kgq84ReJ7HhR7HliFLEf7qirCc84 d67d3cldU7y3HkRcDrbhVjGoSEiN1aApxH+ZncZ5bLYa47T7U1ZuSWR0WTiZPOoL E4Er9giGhE+aMopsjuQgDcJKZfqxFYgx61IhD7/Om7ppSzN7QOdfB9DG4Ht1WKhB LtlMskDLImxjYc3yWdoIfjT5TZIcS93vXERoU6h36/NVgv7jsshZ/h86NnuCdeMb DYWD3D4Rtj4bLR74ASfvJgGEgnobQRALHirSO4dgcvTTRnVRvRpNZabhfuAkVAgi LiKXdjj5LaHt2ycWVQRwg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudefledgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhv uceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtthgvrhhnpeegleefte ekgffhvdfhtdegveevveetteegteevgeettdehhfdukeetheffueekkeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuth hovhdruggvvhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtohepohhrohhnthgvvgesghhmrghilhdrtghomhdprhgtphhtthhopeejheefjeelse guvggssghughhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Jan 2025 20:32:22 -0500 (EST) Content-Language: en-US In-Reply-To: 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:298624 Archived-At: On 05/01/2025 23:10, Matthias Meulien wrote: > Thanks for the detailed report. > > > You're welcome. > > I feel a bit culprit since I lived with that bug for such a long time > and only started debugging today... Shame on me. Late is certainly better than never. > (...) 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? > > > Yes. I added LANG=C then checked succesfully that search succeed with > french guillemet «, accented letters é, ç, and non-breaking space. Thanks, that's a good sign. Perhaps someone else with experience in process output encoding could confirm that this is generally a sane approach, one that shouldn't lead to fewer matches caused by encoding mismatch. > IIUC we can try LC_MESSAGES as the more specialized var. Does > LC_MESSAGES=en work as well? > > > No. Matches in binary files make the search fail in that case. Hmm, what about LC_MESSAGES=C? If neither works, could you try that approach in the terminal? Does it result in French text anyway, meaning this variable doesn't affect the language in Grep?