From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Want to grep for text in selected coding... Date: Wed, 15 Feb 2012 19:07:34 +0200 Message-ID: <83vcn8vxd5.fsf@gnu.org> References: <84y5s4ctjn.fsf@bifit.com.ua> NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1329325678 17938 80.91.229.3 (15 Feb 2012 17:07:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2012 17:07:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 15 18:07:55 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RxiKf-0006IC-R7 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Feb 2012 18:07:53 +0100 Original-Received: from localhost ([::1]:51832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxiKe-0001Hc-Ou for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Feb 2012 12:07:52 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:33273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxiKW-0001H2-MZ for help-gnu-emacs@gnu.org; Wed, 15 Feb 2012 12:07:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxiKP-00034D-8g for help-gnu-emacs@gnu.org; Wed, 15 Feb 2012 12:07:44 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxiKO-00033C-Sh for help-gnu-emacs@gnu.org; Wed, 15 Feb 2012 12:07:37 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LZG0040025MJU00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Wed, 15 Feb 2012 19:07:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.150.51]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZG0014428HTLU0@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Wed, 15 Feb 2012 19:07:30 +0200 (IST) In-reply-to: <84y5s4ctjn.fsf@bifit.com.ua> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83759 Archived-At: > From: Oleksandr Gavenko > Date: Wed, 15 Feb 2012 11:52:44 +0200 > > I am big fun of 'rgrep' but some times I need search for text in coding that > differ from system coding (like for text in koi8-r in UTF-8 Debian or UTF-8 > text in cp1251 Windows). > > I try 'C-x RET C coding... RET M-x rgrep' (universal-coding-system-argument) > but this is not help. You cannot change the grep program by Emacs wizardry. I suggest to use "M-x occur" and its derivatives instead.