From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Character group folding in searches Date: Fri, 06 Feb 2015 21:03:47 +0200 Message-ID: <83k2zudfqk.fsf@gnu.org> References: <83zj8rcdpi.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1423249452 22201 80.91.229.3 (6 Feb 2015 19:04:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2015 19:04:12 +0000 (UTC) Cc: bruce.connor.am@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 06 20:04:12 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJoCI-0006HI-NY for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2015 20:04:10 +0100 Original-Received: from localhost ([::1]:50172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJoCI-0001Hp-4b for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2015 14:04:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJoC5-0001Fv-9T for emacs-devel@gnu.org; Fri, 06 Feb 2015 14:03:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJoC0-0007EF-Aj for emacs-devel@gnu.org; Fri, 06 Feb 2015 14:03:57 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:60725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJoC0-0007E5-35 for emacs-devel@gnu.org; Fri, 06 Feb 2015 14:03:52 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NJD00F00626QL00@mtaout29.012.net.il> for emacs-devel@gnu.org; Fri, 06 Feb 2015 21:00:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJD00EAY643JJ10@mtaout29.012.net.il>; Fri, 06 Feb 2015 21:00:04 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182553 Archived-At: > From: Stefan Monnier > Cc: bruce.connor.am@gmail.com, emacs-devel@gnu.org > Date: Fri, 06 Feb 2015 13:03:12 -0500 >=20 > > subset of folding. A character whose folding is not a single > > character should map to a vector or a string of characters (not s= ure > > which one is best, we should choose the one that lends itself to = the > > most efficient use). >=20 > So "folding" can turn a single char into a sequence of chars? Why = not > do it the other way? Because the other way you cannot use char-tables. And because matching "a" and "=E1" will be hard the other way.