From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.bugs Subject: bug#4982: rgrep can't deal with .gz files Date: Sat, 21 Nov 2009 05:17:02 +0800 Message-ID: <87zl6gzyk1.fsf@jidanni.org> References: <87ocmxadd8.fsf@mail.jurta.org> Reply-To: jidanni@jidanni.org, 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 1258752491 8215 80.91.229.12 (20 Nov 2009 21:28:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 21:28:11 +0000 (UTC) Cc: 4982@emacsbugs.donarmstrong.com To: juri@jurta.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 22:28:04 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 1NBb1N-0000Ed-PJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 22:28:02 +0100 Original-Received: from localhost ([127.0.0.1]:38119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBb1N-0006fL-2f for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 16:28:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBb0s-0006R1-TW for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 16:27:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBb0n-0006Le-Do for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 16:27:29 -0500 Original-Received: from [199.232.76.173] (port=47986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBb0m-0006LK-H3 for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 16:27:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51338) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBb0m-0003ZV-3G for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 16: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 nAKLRL5w025930; Fri, 20 Nov 2009 13:27:21 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAKLP6TC025662; Fri, 20 Nov 2009 13:25:06 -0800 Resent-Date: Fri, 20 Nov 2009 13:25:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 20 Nov 2009 21:25: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 4982-submit@emacsbugs.donarmstrong.com id=B4982.125875182825191 (code B ref 4982); Fri, 20 Nov 2009 21:25:06 +0000 Original-Received: (at 4982) by emacsbugs.donarmstrong.com; 20 Nov 2009 21:17:08 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from homiemail-a4.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAKLH6pP025188 for <4982@emacsbugs.donarmstrong.com>; Fri, 20 Nov 2009 13:17:07 -0800 Original-Received: from jidanni.org (218-163-2-8.dynamic.hinet.net [218.163.2.8]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 723DE414F8; Fri, 20 Nov 2009 13:17:06 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 20 Nov 2009 16: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:32783 Archived-At: >>>>> "JL" == Juri Linkov writes: >> rgrep should be enhanced so if it encounters .gz files >> it knows what to do. JL> This would be tricky to implement. When searching in .gz files JL> we have to rely on zgrep Ah, of course... OK, now in .emacs I'll just use (setq grep-program "zgrep") as a workaround, as zgrep also works fine on non compressed files. JL>(that has its own problems - it doesn't highlight grep matches). Seems to work for me. JL> I suggest creating a new command (say, `zrgrep') as a wrapper for `zgrep' JL> and with UI like `rgrep'.