From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Upcoming loss of usability of Emacs source files and Emacs. Date: Thu, 18 Jun 2015 18:44:03 +0200 Message-ID: <21890.62803.10354.352686@a1i15.kph.uni-mainz.de> 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> <83vbellgb7.fsf@gnu.org> <21890.28246.59575.281588@a1i15.kph.uni-mainz.de> <83twu5lb01.fsf@gnu.org> 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 1434646067 12105 80.91.229.3 (18 Jun 2015 16:47:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2015 16:47:47 +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: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 18 18:47:27 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 1Z5cyG-0001Vg-A5 for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2015 18:47:20 +0200 Original-Received: from localhost ([::1]:53929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cyF-0004VG-DQ for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2015 12:47:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cvE-0007pH-Gw for emacs-devel@gnu.org; Thu, 18 Jun 2015 12:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5cvD-0000z5-Nq for emacs-devel@gnu.org; Thu, 18 Jun 2015 12:44:12 -0400 Original-Received: from a1www.kph.uni-mainz.de ([134.93.134.1]:56837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cv9-0000wJ-W2; Thu, 18 Jun 2015 12:44:08 -0400 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id t5IGi4cF031776; Thu, 18 Jun 2015 18:44:04 +0200 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id t5IGi4mt031666; Thu, 18 Jun 2015 18:44:04 +0200 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id t5IGi37e031662; Thu, 18 Jun 2015 18:44:03 +0200 In-Reply-To: <83twu5lb01.fsf@gnu.org> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) X-MIME-Autoconverted: from 8bit to quoted-printable by a1www.kph.uni-mainz.de id t5IGi4cF031776 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 134.93.134.1 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:187286 Archived-At: >>>>> On Thu, 18 Jun 2015, Eli Zaretskii wrote: >> >> ;; Ignore accent and umlaut marks when searching. >> >> ;; Works for Emacs 19.30 and later. >> >> (let ((eqv-list '("aA=E0=C0=E1=C1=E2=C2=E3=C3=E4=C4=E5=C5" >> >> "cC=E7=C7" >> >> "eE=E8=C8=E9=C9=EA=CA=EB=CB" >> >> "iI=EC=CC=ED=CD=EE=CE=EF=CF" >> >> "nN=F1=D1" >> >> "oO=F2=D2=F3=D3=F4=D4=F5=D5=F6=D6=F8=D8" >> >> "uU=F9=D9=FA=DA=FB=DB=FC=DC" >> >> "yY=FD=DD=FF")) >> >> (table (standard-case-table)) >> >> canon) >> >> (setq canon (copy-sequence table)) >> >> (mapcar (lambda (s) >> >> (mapcar (lambda (c) (aset canon c (aref s 0))) s)) >> >> eqv-list) >> >> (set-char-table-extra-slot table 1 canon) >> >> (set-char-table-extra-slot table 2 nil) >> >> (set-standard-case-table table)) > Btw, the above doesn't work at all for me in Emacs 25: searching for > 'a' doesn't find the variants with diacriticals. Maybe I didn't use > it correctly -- is something else required beyond evaluating the > expression and making sure I-search does a case-insensitive search? It should still work with Emacs from git master of today. But I guess an additional (set-case-table (standard-case-table)) is needed when evaluating it in an existing buffer. Ulrich