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: What does Emacs on w32 know that grep can't figure out? Date: Fri, 1 Oct 2010 01:13:53 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1285888467 9064 80.91.229.12 (30 Sep 2010 23:14:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 23:14:27 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 01 01:14:24 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 1P1SKU-0001ER-Rv for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 01:14:23 +0200 Original-Received: from localhost ([127.0.0.1]:53539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1SKU-0002kx-4b for ged-emacs-devel@m.gmane.org; Thu, 30 Sep 2010 19:14:22 -0400 Original-Received: from [140.186.70.92] (port=56905 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1SKN-0002ks-51 for emacs-devel@gnu.org; Thu, 30 Sep 2010 19:14:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1SKM-0004j3-K7 for emacs-devel@gnu.org; Thu, 30 Sep 2010 19:14:15 -0400 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:63158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1SKM-0004iy-I2 for emacs-devel@gnu.org; Thu, 30 Sep 2010 19:14:14 -0400 Original-Received: by qyk36 with SMTP id 36so2789246qyk.0 for ; Thu, 30 Sep 2010 16:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=lnsos/SugDNKdK2n626GMgP/vmTlz2lRH5T6N49I2G4=; b=jqs6OlSf5xVknF/eaI8nCJBesj8k2bKvuuK7nkFoFHyGW5zSzwXuzXsVSzVW+6HDGo DeOVgfBLVeNkqyAKldduTgtJxlOFerh1Z8YFQLZLkhfBKx82TvG4A2SQ+oQie+y0rAnD nATLe2YbyxfedRhUVzF5tmYbPUekyem41NE3k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=SOVtiUugAuD/UgvXtuwUHuNG1obq7f8Bk7mN5+dUIY9R05ZFFbDzPAkoWsfP5kVqQv IksAVbVxf5K//TfkYudy4gp/QgMdrs3c/++EPjfISvPyTvx1Vsq8S04ec1CyD1mIMUsQ 4TyJipUbR5g81SnY8st9P1m0wQsf61btDf0HU= Original-Received: by 10.229.101.197 with SMTP id d5mr3179648qco.220.1285888453764; Thu, 30 Sep 2010 16:14:13 -0700 (PDT) Original-Received: by 10.229.220.195 with HTTP; Thu, 30 Sep 2010 16:13:53 -0700 (PDT) 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:131109 Archived-At: I saved to a file with CCleaner the list of installed programs on my pc. This file is maybe a text file, maybe not. Emacs can read it and think it is a text file (I believe) with buffer-file-coding-system is a variable defined in `C source code'. Its value is utf-16le-with-signature-unix Local in buffer install.txt; However trying to search this file from a cmd prompt with (gnuwin32) grep does not work. And it does not work with cygwin grep either. They think it is a binary file (even though I changed the line delimiter to unix style). What is going on? Is grep sometimes useless on w32 now, or? (How do we handle that in Emacs?)