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: Single quotes in Info Date: Tue, 27 Jan 2015 23:18:11 +0200 Message-ID: <83y4onorcc.fsf@gnu.org> References: <87twzhgk84.fsf@wmi.amu.edu.pl> <83lhksshdm.fsf@gnu.org> <9ee0c895-a178-40e1-b1c8-ed2b97071c6b@default> <87h9vgglkz.fsf@wmi.amu.edu.pl> <83h9vcp0bq.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422393523 1182 80.91.229.3 (27 Jan 2015 21:18:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2015 21:18:43 +0000 (UTC) Cc: emacs-devel@gnu.org, mbork@wmi.amu.edu.pl To: bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 27 22:18:42 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 1YGDWz-0005af-2A for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2015 22:18:41 +0100 Original-Received: from localhost ([::1]:50046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDWy-0004AT-Fm for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2015 16:18:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDWk-0004AO-Fz for emacs-devel@gnu.org; Tue, 27 Jan 2015 16:18:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGDWg-0002bH-CW for emacs-devel@gnu.org; Tue, 27 Jan 2015 16:18:26 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:59830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGDWg-0002aq-4e for emacs-devel@gnu.org; Tue, 27 Jan 2015 16:18:22 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NIU00G00TJNOA00@mtaout29.012.net.il> for emacs-devel@gnu.org; Tue, 27 Jan 2015 23:14:50 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIU00B86TOQD450@mtaout29.012.net.il>; Tue, 27 Jan 2015 23:14:50 +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:181859 Archived-At: > Date: Tue, 27 Jan 2015 18:24:09 -0200 > From: Artur Malabarba > Cc: Marcin Borkowski , emacs-devel > > > If this is implemented in isearch, then IMO doing it for quotes alone > > makes very little sense. > > The quotes are just proof of concept. Yes, but what concept is that? Does it scale up to a general-purpose feature of the kind that suits isearch.el? Just replacing one character for another doesn't, IMO. > > If we do this via our private database, that database is going to be > > huge. > > Is it? I would expect something on the order of 50 lines. There are more than 5000 characters in the Unicode database that have equivalence and canonical decompositions. (Look for entries in UnicodeData.txt whose 6th field is non-empty.) > > We already have infrastructure for that, see > > the description of the 'decomposition' character property in the ELisp > > manual. > > Building this on preexisting infrastructure would be great, but does that go > the right way? Does it relate a simple character to all its complex > equivalents? Or does it relate each complex character to a simple alternative? The latter. Read paragraph 1.1 of UAX #15 for the starting point, and also section 3.7 of the Unicode Standard.