From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#4982: rgrep can't deal with .gz files Date: Fri, 20 Nov 2009 11:07:08 +0100 Organization: ThierryVolpiatto Message-ID: <87vdh5ik6r.fsf@tux.homenetwork> References: <87ocmyx97u.fsf@jidanni.org> <87ocmxadd8.fsf@mail.jurta.org> Reply-To: Thierry Volpiatto , 4982@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258712873 2050 80.91.229.12 (20 Nov 2009 10:27:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 10:27:53 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 11:27:47 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NBQiP-0007Tj-St for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 11:27:46 +0100 Original-Received: from localhost ([127.0.0.1]:51760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBQiO-0003pM-Pl for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 05:27:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBQiD-0003lw-OC for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 05:27:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBQi4-0003fl-St for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 05:27:30 -0500 Original-Received: from [199.232.76.173] (port=42866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBQi4-0003fC-Ed for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 05:27:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57521) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBQi3-0005T6-O8 for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 05:27:24 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAKARLrJ025503; Fri, 20 Nov 2009 02:27:21 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAKAK6bj024477; Fri, 20 Nov 2009 02:20:06 -0800 Resent-Date: Fri, 20 Nov 2009 02:20:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Thierry Volpiatto Original-Sender: news Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 20 Nov 2009 10:20:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4982 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125871202323905 (code B ref -1); Fri, 20 Nov 2009 10:20:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 20 Nov 2009 10:13:43 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAKADeeU023902 for ; Fri, 20 Nov 2009 02:13:42 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBQUk-0001IQ-J3 for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 05:13:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBQUe-0001GA-CJ for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 05:13:36 -0500 Original-Received: from [199.232.76.173] (port=49999 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBQUe-0001G5-5f for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 05:13:32 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:60637) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBQUd-000317-AB for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 05:13:31 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NBQUY-0001Vt-GD for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 11:13:26 +0100 Original-Received: from 23.77.197-77.rev.gaoland.net ([77.197.77.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2009 11:13:26 +0100 Original-Received: from thierry.volpiatto by 23.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2009 11:13:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 23.77.197-77.rev.gaoland.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHBARgJRFPS0WbMBTC TSG/uJs0yyVHAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABpUlE QVQ4y3VTQXKDMAyUnD7AwvQOhtxj5N4LFh9ow/+/UtlpM0BczWSS0Wola7UBeEb3+3kJ/5p9ZLz3 UI0n0J0Y4K/lh1nG24FhlJOR2LdSKtpV5gfi/Zd+NdaJBbB4D5N0JnfUIVp6obZURkJwS2a8b9uX AkgxA5gCEcknAH1s2z0DPooWmjGKcJR+HNZt+9bm0GtGRycRuZGs98Ffr02vABWGopIAhmXmxnQN BwBXZjgFLHRoqbfeYxCLWqsjLyKhbEHW+A5nEs699Q2O80ALrgHTmUTy6P0MnKyKQpKHpoNWokxs F0D5VegvWmEozyE6nuMiS98mWzlUQ9bW8qYfqOaFtzWlYCqGeIs6HEyl08jkrxUG9MF5ipXpOOpd ZMoXPPVSLWJiiwNNB+eRSyxJZmQKcacikgucnCRiHuJOLmyYJRDPwOqAvY4pA+Wy+VS8G26BAsdb Ph2Hw7ORy/H0IOG0TnaM8Cp0XrFYyU0v2z8AqkifPVbLZ0qo/gsRg60C7p+8Ov9jrUIxFde+jnAq X42hyp/c+ZcnVyUYBarrqZt3+R8450png3cWKgAAACV0RVh0Y3JlYXRlLWRhdGUAMjAwOC0wNS0z MVQyMjoxNDoyMiswMjowMM7uH/IAAAARdEVYdGpwZWc6Y29sb3JzcGFjZQAyLHVVnwAAACB0RVh0 anBlZzpzYW1wbGluZy1mYWN0b3IAMngyLDF4MSwxeDFJ+qa0AAAAJXRFWHRtb2RpZnktZGF0ZQAy MDA3LTEwLTI4VDE3OjA4OjQ4KzAxOjAwhqNSRgAAAABJRU5ErkJggg== Cancel-Lock: sha1:VLyjiR5KxO54Qw5700ot8ArvtOs= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 20 Nov 2009 05:27:29 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32753 Archived-At: Juri Linkov 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