From: Eli Zaretskii <eliz@gnu.org>
To: Jim Porter <jporterbugs@gmail.com>
Cc: 71321@debbugs.gnu.org, bugs@gnu.support
Subject: bug#71321: 30.0.50; M-x grep: not recognizing well files with colon
Date: Mon, 03 Jun 2024 14:43:10 +0300 [thread overview]
Message-ID: <861q5emeup.fsf@gnu.org> (raw)
In-Reply-To: <5b18d739-0d82-ce79-a464-ecc7eccaf75b@gmail.com> (message from Jim Porter on Sun, 2 Jun 2024 21:17:02 -0700)
> Date: Sun, 2 Jun 2024 21:17:02 -0700
> Cc: 71321@debbugs.gnu.org
> From: Jim Porter <jporterbugs@gmail.com>
>
> 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.
next prev parent reply other threads:[~2024-06-03 11:43 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 [this message]
2024-06-03 12:03 ` Dmitry Gutov
2024-06-04 4:28 ` Jean Louis
2024-06-04 4:27 ` Jean Louis
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861q5emeup.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=71321@debbugs.gnu.org \
--cc=bugs@gnu.support \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).