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#71321: 30.0.50; M-x grep: not recognizing well files with colon Date: Mon, 03 Jun 2024 14:43:10 +0300 Message-ID: <861q5emeup.fsf@gnu.org> References: <87y17rty4s.fsf@lco2.mail-host-address-is-not-set> <86v82rmzmh.fsf@gnu.org> <5b18d739-0d82-ce79-a464-ecc7eccaf75b@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20463"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71321@debbugs.gnu.org, bugs@gnu.support To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 03 13:51:27 2024 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 1sE6Dl-00053n-L4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Jun 2024 13:51:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE6DE-0005Hp-Rb; Mon, 03 Jun 2024 07:50:52 -0400 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 1sE6DD-0005H3-GZ for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 07:50:51 -0400 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 1sE6DD-0005Sj-3l for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 07:50:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sE6DP-0007am-J0 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2024 07:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2024 11:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71321 X-GNU-PR-Package: emacs Original-Received: via spool by 71321-submit@debbugs.gnu.org id=B71321.171741543829067 (code B ref 71321); Mon, 03 Jun 2024 11:51:03 +0000 Original-Received: (at 71321) by debbugs.gnu.org; 3 Jun 2024 11:50:38 +0000 Original-Received: from localhost ([127.0.0.1]:33180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sE6D0-0007Yl-7j for submit@debbugs.gnu.org; Mon, 03 Jun 2024 07:50:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sE6Cw-0007YE-9W for 71321@debbugs.gnu.org; Mon, 03 Jun 2024 07:50:34 -0400 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 1sE65o-00040h-Qi; Mon, 03 Jun 2024 07:43:12 -0400 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=Oi9RIgtezG7mqVSiZKFBYWIqIgLBgsAKi5mvRGvbaSU=; b=Y9IxQPCtIVbb uWDwOHqQzKYh4k91z6+Mg4zZMTpnFVPRaeQMSQq8p+H/cmwIG+v5rWrQ0IwxSuOy7TPo2nrYhW6+c At/B76F1uzOYaQfKUcMtW6sF/STlZfOT8LFXW+/cyMHr6bsmBtdnf2OILXNHFsEEuDKNTbY9tWw8y jDOjOisQQpyGrE7aQ1M8l5a9Qodnprh7qdiTgg2qgW9T5E6njbdMBeesqa6rucJIBdPYKlrNMmi9q +qUGCMABVQyGn+T5c+GKU6fvoO03WDZLOztoUSMKkXGheBSxg0vkyOcMW2tMITEL439+wORwZOtrV IaqYGneV+Tmi3oPCbTDVbw==; In-Reply-To: <5b18d739-0d82-ce79-a464-ecc7eccaf75b@gmail.com> (message from Jim Porter on Sun, 2 Jun 2024 21:17:02 -0700) 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:286434 Archived-At: > Date: Sun, 2 Jun 2024 21:17:02 -0700 > Cc: 71321@debbugs.gnu.org > From: Jim Porter > > On 6/2/2024 3:02 AM, Eli Zaretskii wrote: > > Improved how? Can you suggest how to distinguish between ":39:" and > > ":13:" in the Grep output, when searching where the file name ends and > > the line number and the following test starts? > > M-x grep and friends should already be doing the right thing: when > supported, it passes "--null" to "grep", which changes the output so > that it separates the file name from the line number using a NUL > character. The regexps in grep.el can then detect that output and parse > it correctly. I know, but since Jean reported this, his Grep evidently doesn't do that. So I asked how to do better in that case.