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: Upcoming loss of usability of Emacs source files and Emacs. Date: Thu, 18 Jun 2015 08:46:20 +0300 Message-ID: <83vbellgb7.fsf@gnu.org> References: <20150615142237.GA3517@acm.fritz.box> <87y4jkhqh5.fsf@uwakimon.sk.tsukuba.ac.jp> <557F3C22.4060909@cs.ucla.edu> <5580D356.4050708@cs.ucla.edu> <87si9qonxb.fsf@gnu.org> <87ioamz8if.fsf@petton.fr> <32013464-2300-46c6-ba46-4a3c36bfee5d@default> <87twu62nnt.fsf@mbork.pl> <21890.22217.610318.184683@a1i15.kph.uni-mainz.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1434606425 1907 80.91.229.3 (18 Jun 2015 05:47:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2015 05:47:05 +0000 (UTC) Cc: eggert@cs.ucla.edu, rms@gnu.org, nicolas@petton.fr, emacs-devel@gnu.org, tsdh@gnu.org, acm@muc.de, stephen@xemacs.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 18 07:46:53 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 1Z5Sf3-0002Tv-0x for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2015 07:46:49 +0200 Original-Received: from localhost ([::1]:50307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Sf2-0007c9-3W for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2015 01:46:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Seo-0007c4-NW for emacs-devel@gnu.org; Thu, 18 Jun 2015 01:46:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Sel-0005bI-5Y for emacs-devel@gnu.org; Thu, 18 Jun 2015 01:46:34 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:53209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Sek-0005b3-PL; Thu, 18 Jun 2015 01:46:31 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NQ400N00L0FHD00@mtaout25.012.net.il>; Thu, 18 Jun 2015 08:42:05 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQ400HHQL64V380@mtaout25.012.net.il>; Thu, 18 Jun 2015 08:42:05 +0300 (IDT) In-reply-to: <21890.22217.610318.184683@a1i15.kph.uni-mainz.de> 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.181 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:187263 Archived-At: > Date: Thu, 18 Jun 2015 07:27:37 +0200 > From: Ulrich Mueller > Cc: eggert@cs.ucla.edu, rms@gnu.org, Nicolas Petton , > =09emacs-devel@gnu.org, Tassilo Horn , acm@muc.de, > =09stephen@xemacs.org >=20 > ;; Ignore accent and umlaut marks when searching. > ;; Works for Emacs 19.30 and later. > (let ((eqv-list '("aA=C3=A0=C3=80=C3=A1=C3=81=C3=A2=C3=82=C3=A3= =C3=83=C3=A4=C3=84=C3=A5=C3=85" > =09=09 "cC=C3=A7=C3=87" > =09=09 "eE=C3=A8=C3=88=C3=A9=C3=89=C3=AA=C3=8A=C3=AB=C3=8B" > =09=09 "iI=C3=AC=C3=8C=C3=AD=C3=8D=C3=AE=C3=8E=C3=AF=C3=8F" > =09=09 "nN=C3=B1=C3=91" > =09=09 "oO=C3=B2=C3=92=C3=B3=C3=93=C3=B4=C3=94=C3=B5=C3=95=C3=B6= =C3=96=C3=B8=C3=98" > =09=09 "uU=C3=B9=C3=99=C3=BA=C3=9A=C3=BB=C3=9B=C3=BC=C3=9C" > =09=09 "yY=C3=BD=C3=9D=C3=BF")) > (table (standard-case-table)) > canon) > (setq canon (copy-sequence table)) > (mapcar (lambda (s) > =09 (mapcar (lambda (c) (aset canon c (aref s 0))) s)) > =09 eqv-list) > (set-char-table-extra-slot table 1 canon) > (set-char-table-extra-slot table 2 nil) > (set-standard-case-table table)) This means you cannot search for, say, =C3=A5, even if you want to fi= nd only it and not the other "equivalents", right? That's not how Emacs works now wrt letter-case. At the very least, this folding of diacriticals should offer the same flexibility, i.e. if the user type= s 'a', she should be able to find all the variants, but if she types '= =C3=A5', should find only that character. Also, this doesn't handle decomposed characters, as in 'a=CC=8A'. So= this is not really Unicode-compliant, it's a half-measure of sorts.