From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#75379: 30.0.93; project-find-regexp expects "C" or "en" locale Date: Sun, 5 Jan 2025 22:10:53 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002ed63d062afbf3f4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35216"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75379@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 05 22:12:23 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 1tUXv5-00093p-0h for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jan 2025 22:12:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUXum-00012a-PQ; Sun, 05 Jan 2025 16:12:04 -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 1tUXul-00012L-EJ for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 16:12: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 1tUXuk-0005HZ-Jt for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 16:12:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=mCAXVqckD6IVUI1wYpqPlNEVWcWzn4Sa/698KNc62fc=; b=q07+O3cSITOISi6Q+fg0YiVtXAJ1eCqtItk7D5Lqgqvqm+09UWIkUmzYCBBrpXv5I8qtNc1BvOJxLdzXeGihbXmYIP6tZzanTKEhXKB0XnH7bNYe56DF2Icp96sJpvFM94b1ykyr0qnrPOTyywfRKrk2KrDt5JrS8mwmeAu2k5upd3sZb6KX2KSBAe+ZArfL4feOmCA4xeUeHg2XGwRAwjn6ZGrlcEmXuOy28J9G1HvOBYWYAWvSm9kVfBJ/u6EEUP20J23cSjPw2t7fyJJgerh8/7MqWy7lv32hfqnTGIAlnxe4G6BURjGl1UYMVn5Yox7u9kKRq6529+jCay8V4Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUXuk-0002eK-Dr for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 16:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2025 21:12: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.173611147610094 (code B ref 75379); Sun, 05 Jan 2025 21:12:02 +0000 Original-Received: (at 75379) by debbugs.gnu.org; 5 Jan 2025 21:11:16 +0000 Original-Received: from localhost ([127.0.0.1]:35514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUXtz-0002cb-2V for submit@debbugs.gnu.org; Sun, 05 Jan 2025 16:11:16 -0500 Original-Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:49341) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tUXtw-0002cA-8m for 75379@debbugs.gnu.org; Sun, 05 Jan 2025 16:11:13 -0500 Original-Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-aaecf50578eso191835466b.2 for <75379@debbugs.gnu.org>; Sun, 05 Jan 2025 13:11:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736111466; x=1736716266; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mCAXVqckD6IVUI1wYpqPlNEVWcWzn4Sa/698KNc62fc=; b=DoKMrWZjwT4Zh+LbnqWdimA79ZIEnNM7Yy76yk9+clTrfpkU05HpYK+SLDusun+M2I 6us3NkAw8fkBDDstuuDj2HfpNEJUyZM+9g2Wl1KebUDnc+T8nDmwMfhTzP+Q7WPZ3fH/ O8uTs1iSE39GRVJmMA9abxlDVbSPMKTCLqQdGbHZ2757/sTrOetPGHgyKtCTjamyiqGl 4RjBguybh39l73Vh/H5YQf4iFgCOq9rshE+irYlFf0nlqdk5lT35C2HBw+vw/R5aF2G4 Ut14RexPbUb+b9xJjaXWCMzBQ7dyxJV7w7tlLc1wWOxCS1LC2sKEAb1Fs3qvmZXx/lgP AEOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736111466; x=1736716266; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mCAXVqckD6IVUI1wYpqPlNEVWcWzn4Sa/698KNc62fc=; b=q8IN0OaXNSqbKYuLvMvs6XOdogsXRzVwy8HgNdlKZvkRpWEOBHdCJ1YKUMLXGsgO1f 60IofooVw9mrNzG2bmV8uizervIHqFBBYh0AT3/00PfN48V/OdynxkVuDooEaSBw9wKj WVoCNv1SFjIYh3SaNpx91QAKKcLiz0t0qbEZXnoDNbke/jPo2sfzaLxFdl6iTBRIqORS RpLwK5A7BPSg3VQ8YNN73ZL0bDkY8R/HS3lTxA5J4WKKcCuR+K5eoogVHNABp0QmBY4v 6rkcybRE6g4mkkCdKzVDy/5ID2EVp77eq7CCyZ1AvvQ56QwwDFh4GQmIktPkVIxIGUY1 MpPQ== X-Gm-Message-State: AOJu0Ywu8O/sVAD0b93slYZopNXPkKRiQ6wY5WXfhpEtAmw+0Jk/g37p MalZUhbG1CObYMhh5XAiMJzcnPRL0Nj5y3vi+2lvYNlVezSOK89NYdfiIldfU3PTLTZfilDBPjg i9c8T3IWtU8XT1Ln9lChUBtgj/0k= X-Gm-Gg: ASbGnctory2leGQt6OA1eVIThKYGFeLekEK5j2HfqDFrUcmkmmCX39mx4NyVmfVI13P gbD6d/cu/A9CTMzJC8iRv+x/66XRfs76EPMfrYVqWXL4iySFXj38zlS+//C4VjWYq+54pIA== X-Google-Smtp-Source: AGHT+IF9pu7c0lbyd67FCD266PmBUavrEyWELlQP4SOWvR5ScQWv+Z5fECeg0vZti69Mvhsi211mSI73cWC2xp5KyZc= X-Received: by 2002:a17:906:4fce:b0:aa6:519c:ef9a with SMTP id a640c23a62f3a-aac3366afa5mr5347232466b.53.1736111465353; Sun, 05 Jan 2025 13:11:05 -0800 (PST) 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:298611 Archived-At: --0000000000002ed63d062afbf3f4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > 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. (...) 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=3DC then checked succesfully that search succeed with french guillemet =C2=AB, accented letters =C3=A9, =C3=A7, and non-breaking = space. > IIUC we can try LC_MESSAGES as the more specialized var. Does > LC_MESSAGES=3Den work as well? > No. Matches in binary files make the search fail in that case. --=20 Matthias --0000000000002ed63d062afbf3f4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2= =A0
Thanks for the detailed report.

You'= ;re welcome.

I feel a bit culprit since I lived wi= th that bug for such a long time and only started debugging today... Shame= on me.

(...) About using LANG specifically, any chance that it might interfere wit= h
the system's configured encoding, e.g. UTF-8 vs other? In your example,=
does searching for accented characters work as well?
<= br>
Yes. I added LANG=3DC then checked succesfully that search su= cceed with french guillemet=C2=A0=C2=AB, accented letters =C3=A9, =C3=A7, a= nd non-breaking space.
=C2=A0
IIUC we can try LC_MESSAGES as the more specialized var. Does
LC_MESSAGES=3Den work as well?

No. Matc= hes in binary files make the search fail in that case.
--
Matthias
--0000000000002ed63d062afbf3f4--