From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: What does Emacs on w32 know that grep can't figure out? Date: Sat, 02 Oct 2010 00:45:39 +0200 Message-ID: References: <4CA573B7.4050203@swipnet.se> <83tyl6qscq.fsf@gnu.org> <83pqvuqg0a.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285973146 28234 80.91.229.12 (1 Oct 2010 22:45:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 22:45:46 +0000 (UTC) Cc: lekktu@gmail.com, jan.h.d@swipnet.se, Andreas Schwab , lennart.borgman@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 00:45:43 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 1P1oMH-0001N7-KA for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 00:45:41 +0200 Original-Received: from localhost ([127.0.0.1]:57562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1oMG-0001U2-QY for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 18:45:40 -0400 Original-Received: from [140.186.70.92] (port=39958 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1oMC-0001Tw-3L for emacs-devel@gnu.org; Fri, 01 Oct 2010 18:45:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1oMA-0002kG-LF for emacs-devel@gnu.org; Fri, 01 Oct 2010 18:45:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:57706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1oMA-0002kA-Fe for emacs-devel@gnu.org; Fri, 01 Oct 2010 18:45:34 -0400 Original-Received: from dyn.144-85-140-135.dsl.vtx.ch ([144.85.140.135]:13015 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1P1oM9-0003B5-Np; Fri, 01 Oct 2010 18:45:33 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 2D37C6611D; Sat, 2 Oct 2010 00:45:39 +0200 (CEST) In-Reply-To: <83pqvuqg0a.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 01 Oct 2010 14:00:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) 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:131200 Archived-At: > What do you mean by "support"? It compares text by comparing its > constituent bytes, without really understanding that a given sequence > of bytes is a single character. A little test shows that "grep foo.bar ~/tmp/foobar" finds in foobar the line "foo=E9bar" even though that =E9 uses several bytes (I'm using a utf-8 locale). Similarly "grep '=E9*' toto" and "grep '[=E9a]' toto" will correctly treat the several bytes in =E9 as a single element. Stefan