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: Sat, 2 Oct 2010 12:50:07 +0200 Message-ID: References: <87bp7d1o6k.fsf@catnip.gol.com> <83bp7dqcgu.fsf@gnu.org> <87mxqw28cv.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286016643 27860 80.91.229.12 (2 Oct 2010 10:50:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 10:50:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 12:50:41 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 1P1zfp-0004Cj-JM for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 12:50:38 +0200 Original-Received: from localhost ([127.0.0.1]:41867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1zfo-0005Tu-A9 for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 06:50:36 -0400 Original-Received: from [140.186.70.92] (port=44051 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1zfh-0005Te-KY for emacs-devel@gnu.org; Sat, 02 Oct 2010 06:50:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1zfg-0004e7-Bz for emacs-devel@gnu.org; Sat, 02 Oct 2010 06:50:29 -0400 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:41888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1zfg-0004dw-9r for emacs-devel@gnu.org; Sat, 02 Oct 2010 06:50:28 -0400 Original-Received: by qyk36 with SMTP id 36so5145920qyk.0 for ; Sat, 02 Oct 2010 03:50:27 -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 :content-transfer-encoding; bh=Oer+t7ezR9X3bitIivoIzPG+xVev+ynngbbW9zuTZzQ=; b=mF7pLo5yem1Pl7I4rXsAvKXdoIz1t/9kaottz4O2nPp2fJ8dngDclhxFi1EW0fgish EwHLMiFKv8AUXGqv6IO+Z8UiVveJzhtwvFYuFCznNUBcWO4/uyLQZ6eeCFeB0RiaRgoz DjVzqSL+03S/Fn+iNB2k89BLksdC+haattqEo= 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:content-transfer-encoding; b=c3uCpsbmjQkXq/+7J8knQpz+SLDLhR8kXQFB/iwkuKT1nR6XuYBOAzSqXatcE4553a KN9s1wI1doWY0PMA/U0KCt7sIkUvBr9XlPPV9DOdAuFwKOWHKXMJ4EkYE/IL/qilkxjK i2NaZb+h3vtbjldihH6ZCZhnJoEgH9K6ZnwdQ= Original-Received: by 10.229.1.143 with SMTP id 15mr4686170qcf.287.1286016627667; Sat, 02 Oct 2010 03:50:27 -0700 (PDT) Original-Received: by 10.229.220.195 with HTTP; Sat, 2 Oct 2010 03:50:07 -0700 (PDT) In-Reply-To: <87mxqw28cv.fsf@tux.homenetwork> 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:131226 Archived-At: On Sat, Oct 2, 2010 at 12:32 PM, Thierry Volpiatto wrote: > Lennart Borgman writes: > >> On Sat, Oct 2, 2010 at 9:29 AM, Eli Zaretskii wrote: >>>> From: Lennart Borgman >>>> Date: Sat, 2 Oct 2010 02:33:32 +0200 >>>> Cc: emacs-devel@gnu.org >>>> >>>> So where is the problem? Is utf-16 actually used on w32 in many apps? >>>> Or is this a left-over in CCleaner? >>> >>> UTF-16 is used for all the Unicode APIs on Windows. =C2=A0That's the >>> implementation of the wchar_t type on Windows. =C2=A0In particular, all= the >>> file names in the NTFS filesystem are actually stored as UTF-16, and >>> all the OS databases in memory are stored in UTF-16 format. >>> >>> So this is not a left-over, this is what Windows uses internally. >> >> >> Thanks. So then the question is why the grep program does not support >> it. Is this a policy question, a lack of resources, or something else? >> >> > It seem most modern windows versions come with powershell. > Why windows users don't use it as backend for Emacs instead of using > external Gnuwin32 programs? Are you effectively not saying that because of the lack of utf-16 support in gnu grep it would be better for Emacs to depend on non-gnu and even ms tools on w32? I would say: perhaps. What do others think?