From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#71321: 30.0.50; M-x grep: not recognizing well files with colon Date: Tue, 4 Jun 2024 07:27:54 +0300 Message-ID: References: <87y17rty4s.fsf@lco2.mail-host-address-is-not-set> <86v82rmzmh.fsf@gnu.org> <5b18d739-0d82-ce79-a464-ecc7eccaf75b@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21327"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.12 (2023-09-09) Cc: Eli Zaretskii , 71321@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 04 06:29:13 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 1sELnM-0005J3-Pl for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jun 2024 06:29:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sELn1-0006UK-5k; Tue, 04 Jun 2024 00:28:51 -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 1sELmz-0006U2-4t for bug-gnu-emacs@gnu.org; Tue, 04 Jun 2024 00:28:49 -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 1sELmy-0003Cs-SG for bug-gnu-emacs@gnu.org; Tue, 04 Jun 2024 00:28:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sELnB-0001l9-S7 for bug-gnu-emacs@gnu.org; Tue, 04 Jun 2024 00:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jun 2024 04:29:01 +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.17174753026716 (code B ref 71321); Tue, 04 Jun 2024 04:29:01 +0000 Original-Received: (at 71321) by debbugs.gnu.org; 4 Jun 2024 04:28:22 +0000 Original-Received: from localhost ([127.0.0.1]:56123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sELmY-0001kG-4h for submit@debbugs.gnu.org; Tue, 04 Jun 2024 00:28:22 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:54137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sELmT-0001k5-GA for 71321@debbugs.gnu.org; Tue, 04 Jun 2024 00:28:21 -0400 Original-Received: from localhost ([::ffff:41.75.184.97]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000001139F6.00000000665E97D2.002D9B0F; Mon, 03 Jun 2024 21:28:01 -0700 Content-Disposition: inline In-Reply-To: <5b18d739-0d82-ce79-a464-ecc7eccaf75b@gmail.com> 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:286507 Archived-At: * Jim Porter [2024-06-04 01:43]: > On 6/2/2024 3:02 AM, Eli Zaretskii wrote: > > > From: Jean Louis > > > Date: Thu, 30 May 2024 13:03:31 +0300 > > > > > > I have files like: > > > > > > ~/tmp/2024-05-17-10:39:33-RCD TEMPORARY BUFFER.txt > > > > > > and if I do M-x grep on those files, I get results such as: > [snip] > > > Where by when I try to click on the file, it is attempting to find wrong > > > file "2024-05-17-10" instead of "2024-05-17-10:39:33-RCD TEMPORARY > > > BUFFER.txt" so I guess that regular expression of finding the file in > > > *grep* temporary buffer shall be improved. > > Jean: could you show the actual "grep" command that you're using here, and > the output of "grep --version"? That would help narrow down what's going on > here. $ grep --version grep (GNU grep) 3.8 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and others; see . Actual grep command is this: M-x grep RET grep --color=auto -nH -e '|' *.txt 2024-01-22-11:39:12-RCD TEMPORARY BUFFER.txt:4:|------------+--------------------------------------------+---------| 2024-01-22-11:39:12-RCD TEMPORARY BUFFER.txt:5:| 2024-01-20 | Received from Jean Louis | 100000 | 2024-01-22-11:39:12-RCD TEMPORARY BUFFER.txt:6:| 2024-01-22 | Transport to Bukuya | -40000 | -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns ✡️🛡️ Proudly standing with Israel, a nation rooted in history and culture. Let's condemn hatred and promote understanding. In support of Richard M. Stallman https://stallmansupport.org/