From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#4982: rgrep can't deal with .gz files
Date: Fri, 20 Nov 2009 11:07:08 +0100 [thread overview]
Message-ID: <87vdh5ik6r.fsf@tux.homenetwork> (raw)
In-Reply-To: 87ocmxadd8.fsf@mail.jurta.org
Juri Linkov <juri@jurta.org> writes:
>> rgrep should be enhanced so if it encounters .gz files
>> it knows what to do.
>
> This would be tricky to implement. When searching in .gz files
> we have to rely on zgrep (that has its own problems - it doesn't
> highlight grep matches).
traverselisp.el handle compressed archives using avfs.
http://www.emacswiki.org/cgi-bin/emacs/traverselisp.el
You can launch traverse-deep-rfind (similar to rgrep) on any archive.(tar)gz.
You could use also avfs to handle .gz files with rgrep.
http://sourceforge.net/projects/avf/
> I suggest creating a new command (say, `zrgrep') as a wrapper for `zgrep'
> and with UI like `rgrep'.
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
next prev parent reply other threads:[~2009-11-20 10:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87y6lu7gq6.fsf@mail.jurta.org>
2009-11-20 1:42 ` bug#4982: rgrep can't deal with .gz files jidanni
2009-11-20 9:31 ` Juri Linkov
2009-11-20 10:07 ` Thierry Volpiatto [this message]
2009-11-20 10:43 ` Kevin Rodgers
2009-11-22 10:33 ` Juri Linkov
2009-11-20 21:17 ` jidanni
2009-11-22 10:28 ` Juri Linkov
2009-11-23 1:53 ` jidanni
2009-11-23 9:58 ` Juri Linkov
2009-11-23 20:18 ` jidanni
2009-11-24 17:04 ` Juri Linkov
2009-11-23 4:26 ` Stefan Monnier
2009-11-23 9:57 ` Juri Linkov
2009-11-25 17:40 ` bug#4982: marked as done (rgrep can't deal with .gz files) Emacs bug Tracking System
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=87vdh5ik6r.fsf@tux.homenetwork \
--to=thierry.volpiatto@gmail.com \
--cc=4982@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
/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).