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:22:33 +0100 Message-ID: References: <86jzb96qul.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e11d06062afc1cfa" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34911"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , 75379@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 05 22:23:29 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 1tUY5o-0008y5-Of for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jan 2025 22:23:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUY5R-0003Ce-P6; Sun, 05 Jan 2025 16:23: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 1tUY5P-0003A7-Ge for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 16:23: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 1tUY5P-0007gz-7e for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 16:23: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=XSelC2bqT1mRk2Eq8g4k0Ks251qPiqT1wzNF+n37QxQ=; b=T1epQRmHksxeZFSd527fKLP6EQex+ddGbq+qrIylw/hKAuHEmcVXdwdtYLWrQq6V0csfk6XAEbFHEClRyI8m4u43PXR5xJINFvRxmle1dIcXH7bue40pKsd78PRJxrQYCjlKb0vPfV4RcCFvHVILSpw3CZZtPxyDgzDTU5HjuSrVeX7w+bM3mkY82aORmQ5xGb2gR6u06UZuFg3BDBAdoPztnQ49CfAW9mk3g+vSCCaCNC5bLN8NlPq2SocfGUIdae9oqjYACnTWBFS9/QZoQgbzV+18Tdl0rbHcKtToSWYGacAekbRsjYAmwESYFk2ZlairDU6IGuMQorWF6leTAw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUY5P-0003Da-2Y for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2025 16:23:03 -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:23: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.173611217412331 (code B ref 75379); Sun, 05 Jan 2025 21:23:02 +0000 Original-Received: (at 75379) by debbugs.gnu.org; 5 Jan 2025 21:22:54 +0000 Original-Received: from localhost ([127.0.0.1]:35548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUY5F-0003Cp-Mi for submit@debbugs.gnu.org; Sun, 05 Jan 2025 16:22:53 -0500 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:47384) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tUY5D-0003CU-Gy for 75379@debbugs.gnu.org; Sun, 05 Jan 2025 16:22:51 -0500 Original-Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5d3d143376dso20260412a12.3 for <75379@debbugs.gnu.org>; Sun, 05 Jan 2025 13:22:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736112165; x=1736716965; 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=XSelC2bqT1mRk2Eq8g4k0Ks251qPiqT1wzNF+n37QxQ=; b=nK1Rb9rh6BP8XGESa4hseS+V88Rp27nzS7/Hf5/8Vi1knXAwcYSB+v4prT5vXaPd7e kKh3uQJmly1Hcz5R8sJYj8138Vtxw0OmKNcJyrRDcmZ/pudMw07i8DB7x/SBozotsihO zV77SdCkB5Nj/ynV6p8Y0mmOhAurGbWsZOdtZmS1RuOoq+pxyWERq7nDHXKY1hFkbxjw +/471Yv4P/+xRDOlXp7bSw09BoFGGtB84LG2fz50rN8IJ+gC/6EnLtdR9fJVNp4AXmBX 5vjtP0qkLGUhqivJW/WSlNMeUoq+9OcOjn2yjoF2OrJUtG3eFRCd1qlrSKtokyiKB5YX PZaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736112165; x=1736716965; 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=XSelC2bqT1mRk2Eq8g4k0Ks251qPiqT1wzNF+n37QxQ=; b=OM+v3pDA/qvCn/R1vsF9KesEZ+pGr5htckxJiAbVum/iHW1c2+gPPNS9A2Weg0g5kk bt66aYiRIBpF+L5iKx9u1SqQFbj8hpE63IcmLhKNGIB+byKE2Pd5TpxXnzxRiVg3jbLQ cuWDdL0Lataqf/Ie4ezNvbgAgTEHUSXiIBcZT1DDhaznAyExZ/9KXyrP4n95XLw/WKx+ 4rADbBIn0oP4RjsvgR4Mo41gxQtOBmN8bvPyRW6EdqrdfC4qNzRvmUAeHbee5f3KuiIj ULcy5DQORpjQSkXKDzIJU+OfYdb/LQWp3ePhUn0MhEsMfbNxKpZnReFdV367+S9fYa1Y Uw/g== X-Forwarded-Encrypted: i=1; AJvYcCXceCIi4n1stYtN/ZDS/ItBZHRAjdeY5OHBj3KyKTttZ3RPpuME1mUMttFRdm/8CJFOPkxc3A==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzJc1ScR7uqUYF0hKgdtNr9VM+e3i0aCRwacAbqjcjE6xqY2FBR eJGXfkTTCx4RPXpH+/X+uubl27c9iA6hpC9UW58Xb8o2rI2eDrhEleGt18f9uxIqDMWMgMNdG8n DyO/mjn/7P0yyye2ewtK61qT0M2DBBkvx X-Gm-Gg: ASbGnctO4gzG/PvOWHyoK4FN6xg7HiJZBb5gdZJ04mtDXRYGLbPnZnZdrf2bHLWlD4/ Wkc1pZhsjaRL3/oSyTmu4e4PpKAiCLMESKWAeIrl+FH9pAfRUVt9ovnbjE+VAeaW4atwGvA== X-Google-Smtp-Source: AGHT+IHCjbBukbTDPmzBm5oAAvSprgdDNxNmKAE6W9pKvlPLjff+Uudyj75vKrBorHDYbGWeJXQ5UybBQCRTc4TuDQk= X-Received: by 2002:a17:907:97c6:b0:aa6:a9fe:46e5 with SMTP id a640c23a62f3a-aac3366afbdmr5038049466b.53.1736112164899; Sun, 05 Jan 2025 13:22:44 -0800 (PST) In-Reply-To: <86jzb96qul.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:298614 Archived-At: --000000000000e11d06062afc1cfa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > Can't we instead have a database of these messages, like we do with > the "password" prompts? > I am not familiar with all grep options but I saw that: =E2=80=98-I=E2=80=99 Process a binary file as if it did not contain matching data; this is equivalent to the =E2=80=98--binary-files=3Dwithout-match=E2=80=99 = option. Just tested (setq xref-search-program-alist '((grep . "xargs -0 grep --null -snHE -I -e ")) and it works fine on my side. --=20 Matthias --000000000000e11d06062afc1cfa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Can't we instead have a database of these messages, like we do with
the "password" prompts?

I am not familiar with all grep opti= ons but I saw that:

=E2=80=98-I=E2=80=99
= =C2=A0 =C2=A0 =C2=A0Process a binary file as if it did not contain matching= data; this
=C2=A0 =C2=A0 =C2=A0is equivalent to the =E2=80=98--binary-f= iles=3Dwithout-match=E2=80=99 option.

Just tes= ted

=C2=A0 (setq xref-search-program-alist = 9;((grep . "xargs -0 grep <C> --null -snHE -I -e <R>"= ))

and it works fine on my side.
--
Matthias
--000000000000e11d06062afc1cfa--