From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: What does Emacs on w32 know that grep can't figure out? Date: Fri, 01 Oct 2010 13:24:43 +0200 Organization: ThierryVolpiatto Message-ID: <87lj6i5f5w.fsf@tux.homenetwork> References: <83y6aiqtbq.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285933091 3260 80.91.229.12 (1 Oct 2010 11:38:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 11:38:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 01 13:38:08 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1dwF-0006VL-Oa for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 13:38:08 +0200 Original-Received: from localhost ([127.0.0.1]:38842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1dwF-0008GI-DA for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 07:38:07 -0400 Original-Received: from [140.186.70.92] (port=36553 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1dvy-0007WX-9o for emacs-devel@gnu.org; Fri, 01 Oct 2010 07:37:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1dl5-0008Ng-Sz for emacs-devel@gnu.org; Fri, 01 Oct 2010 07:26:37 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:45740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1dl5-0008NS-Fp for emacs-devel@gnu.org; Fri, 01 Oct 2010 07:26:35 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1dl1-0002kU-VR for emacs-devel@gnu.org; Fri, 01 Oct 2010 13:26:31 +0200 Original-Received: from 29.77.197-77.rev.gaoland.net ([77.197.77.29]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 13:26:31 +0200 Original-Received: from thierry.volpiatto by 29.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 13:26:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 29.77.197-77.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) Cancel-Lock: sha1:tZw9Sp2MSygSnu0eJoW46L93ipo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131146 Archived-At: Have a look also at ioccur.el: http://mercurial.intuxication.org/hg/ioccur M-x ioccur M-x ioccur-dired M-x ioccur-find-buffer-matching Mathias Dahl writes: > I often use `% g' in Dired for finding files with a certain text in > them. Together with recursive Dired listings this often solves my > needs (although it is slower than using grep.) > > /Mathias > > On Fri, Oct 1, 2010 at 11:28 AM, Lennart Borgman > wrote: >> On Fri, Oct 1, 2010 at 9:13 AM, Eli Zaretskii wrote: >>>> From: Lennart Borgman >>>> Date: Fri, 1 Oct 2010 02:29:35 +0200 >>>> Cc: Emacs-Devel devel >>>> >>>> > How do we handle what? If you mean, how can Emacs read the text just >>>> > fine... Emacs has supported UTF-16 and many other coding systems for >>>> > years. >>>> >>>> Using grep is an integral part of Emacs. If grep does not support the >>>> coding then that part of Emacs will fail. >>> >>> What's wrong with "M-x occur" and/or "M-x multi-occur"? >> >> They does not do what grep does. >> >> And as I said opening the files in a buffer will be bad because of performance. >> >> However using the internal regexp engine for searching the files would >> be useful, but I have no idea how complicated it is to implement >> something like that. >> >> > > -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997