From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: What does Emacs on w32 know that grep can't figure out? Date: Fri, 1 Oct 2010 03:06:23 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1285895216 30595 80.91.229.12 (1 Oct 2010 01:06:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 01:06:56 +0000 (UTC) Cc: Emacs-Devel devel To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 01 03:06:54 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 1P1U5N-00035g-IJ for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 03:06:53 +0200 Original-Received: from localhost ([127.0.0.1]:41390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1U5M-0002Xj-S9 for ged-emacs-devel@m.gmane.org; Thu, 30 Sep 2010 21:06:52 -0400 Original-Received: from [140.186.70.92] (port=41325 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1U5H-0002XG-PW for emacs-devel@gnu.org; Thu, 30 Sep 2010 21:06:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1U5F-0002jt-Rd for emacs-devel@gnu.org; Thu, 30 Sep 2010 21:06:47 -0400 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:45244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1U5F-0002jj-Pd for emacs-devel@gnu.org; Thu, 30 Sep 2010 21:06:45 -0400 Original-Received: by qyk36 with SMTP id 36so2919892qyk.0 for ; Thu, 30 Sep 2010 18:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=9zPlfnw5pxO9lssMwnRXrwMidGtKmpl0ALjZbdwJTGU=; b=CqudMB0oQWWd9zTlQcKIS+wz2dQjoMrY2NezldZxNtZHjnnOIoGNLWzfUlBalgE+/q pZg2qU7DjDUPqK+sFuMHyvBrEWrLj8HMsfrShfD5WP7uq1bSgNsPbLMVtZi6tezEG9zu SudphErkermVA+APH1usYbBaFNeNBM5gB/DS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=VZvpuoWJVyjWXtGkvUtPa3v70ZxnorF6MzlJlyd0fiudAUBuLD+sM5Jr/fhWdSR6zJ IlpSMJ8QphGpMUSaerHF/Ckc8OEjnXi+IuHrn+2cAnuYDSn04mzx/xKtXL4RIQ1ToWjl zR7jtuznj82TwNEnRjQteG2EJqjV8gNmCpDdc= Original-Received: by 10.229.84.20 with SMTP id h20mr3388686qcl.6.1285895204547; Thu, 30 Sep 2010 18:06:44 -0700 (PDT) Original-Received: by 10.229.220.195 with HTTP; Thu, 30 Sep 2010 18:06:23 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:131115 Archived-At: On Fri, Oct 1, 2010 at 2:37 AM, Juanma Barranquero wrote: > On Fri, Oct 1, 2010 at 02:29, Lennart Borgman wrote: > >> I actually think that there is no grep etc that handles this kind of >> files on w32. Is there on *nix? > > I don't know. I don't use *nix (though I sometimes use GNU/*ux, but I > haven't needed to grep utf-16 files). > >> Using grep is an integral part of Emacs. > > Relatively speaking. In thirteen years of Emacs use I've grepped from > inside Emacs perhaps twice. In those a bit less years I have used Emacs regularly now I guess I might have used Emacs two times without using grep from within Emacs ;-) >> If grep does not support the >> coding then that part of Emacs will fail. > > Absurd. It's up to you to look for a grep that will grok the files you > want to search. grep is not included with Emacs. If the tool chain is broken then the tools that depends on it are also broken. Aren't they? (And commands two use Emacs are actually included in the Emacs manual!) >> Yes, but that does not help if you have a lot of files you want to search. > > Bad luck. You can always use an elisp script to convert them all. Yes, but that is a quite unfortunate state IMO. New users will just say "ah, this tool is broken, let us try something else". And I think they are right if we can not cure a problem such as this.