all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Jim Porter <jporterbugs@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 71321@debbugs.gnu.org
Subject: bug#71321: 30.0.50; M-x grep: not recognizing well files with colon
Date: Tue, 4 Jun 2024 07:27:54 +0300	[thread overview]
Message-ID: <Zl6Xyn7WTFMjpOaL@lco2> (raw)
In-Reply-To: <5b18d739-0d82-ce79-a464-ecc7eccaf75b@gmail.com>

* Jim Porter <jporterbugs@gmail.com> [2024-06-04 01:43]:
> On 6/2/2024 3:02 AM, Eli Zaretskii wrote:
> > > From: Jean Louis <bugs@gnu.support>
> > > 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 <https://gnu.org/licenses/gpl.html>.
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
<https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.

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/





  parent reply	other threads:[~2024-06-04  4:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-30 10:03 bug#71321: 30.0.50; M-x grep: not recognizing well files with colon Jean Louis
2024-06-02 10:02 ` Eli Zaretskii
2024-06-03  4:17   ` Jim Porter
2024-06-03 11:43     ` Eli Zaretskii
2024-06-03 12:03       ` Dmitry Gutov
2024-06-04  4:28         ` Jean Louis
2024-06-04  4:27     ` Jean Louis [this message]
2024-06-04 10:20       ` Dmitry Gutov
2024-06-04 19:08         ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zl6Xyn7WTFMjpOaL@lco2 \
    --to=bugs@gnu.support \
    --cc=71321@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jporterbugs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.