From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#22147: Obsolete search-forward-lax-whitespace Date: Sun, 15 May 2016 23:56:30 +0300 Organization: LINKOV.NET Message-ID: <87shxjjb0h.fsf@mail.linkov.net> References: <87wpsk7dcs.fsf@mail.linkov.net> <87d1ubz3w9.fsf@mail.linkov.net> <87r3ipoofk.fsf@mail.linkov.net> <87zixcblno.fsf@mail.linkov.net> <874mfjchp1.fsf@mail.linkov.net> <87r3d4z7uf.fsf@mail.linkov.net> <8ec0f5d4-a500-42c1-bab8-eaba00f0915c@default> 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 1463345982 2387 80.91.229.3 (15 May 2016 20:59:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 May 2016 20:59:42 +0000 (UTC) Cc: 22147@debbugs.gnu.org, Artur Malabarba To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 15 22:59:29 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1b238B-0000LN-Ex for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 May 2016 22:59:19 +0200 Original-Received: from localhost ([::1]:41432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2385-0005nZ-N7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 May 2016 16:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2381-0005g5-2M for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 16:59:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b237v-0006Cr-3u for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 16:59:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b237v-0006Ck-1O for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 16:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b237u-0000fj-SN for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 16:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 May 2016 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22147 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22147-submit@debbugs.gnu.org id=B22147.14633459302555 (code B ref 22147); Sun, 15 May 2016 20:59:02 +0000 Original-Received: (at 22147) by debbugs.gnu.org; 15 May 2016 20:58:50 +0000 Original-Received: from localhost ([127.0.0.1]:53024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b237i-0000f9-FB for submit@debbugs.gnu.org; Sun, 15 May 2016 16:58:50 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:33225 helo=homiemail-a11.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b237h-0000f2-B2 for 22147@debbugs.gnu.org; Sun, 15 May 2016 16:58:49 -0400 Original-Received: from homiemail-a11.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTP id 953ED6E072; Sun, 15 May 2016 13:58:48 -0700 (PDT) Original-Received: from localhost.linkov.net (82.131.11.173.cable.starman.ee [82.131.11.173]) (Authenticated sender: jurta@jurta.org) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id 9ED206E06C; Sun, 15 May 2016 13:58:47 -0700 (PDT) In-Reply-To: <8ec0f5d4-a500-42c1-bab8-eaba00f0915c@default> (Drew Adams's message of "Sat, 14 May 2016 15:22:27 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118267 Archived-At: >> I'm starting to recollect all the remaining pieces to finish this >> release blocking issue, but I can't download this library, >> because the link is broken and it seems the whole site is down. >> >> Drew, could you please send the latest version as an attachment? > > 1. EmacsWiki seems to be up now. Also, you should be able to get to > what is on EmacsWiki at the EmacsMirror: https://github.com/emacsmirror= . > And you should also be able to get my libraries from MELPA. I've > attached `character-fold+.el' anyway. Let me know if you also want > to look at `isearch+.el' and you cannot get to it for some reason. EmacsWiki is inaccessible to me due to its invalid server certificate. But thanks for pointing to EmacsMirror - I found your code at https://github.com/emacsmirror/character-fold-plus https://github.com/emacsmirror/isearch-plus which I hope is at the latest version. > 2. More importantly, what I wrote in `character-fold+.el' worked > only at the time I wrote it and for a while thereafter, unfortunately. > Not too long after that, Artur Malabarba rewrote `character-fold.el', > so the code I wrote is no longer appropriate. I see that you just moved the hard-coded alist to defcustom char-fold-ad-hoc. I think that char-fold-ad-hoc is too ad-hoc naming. Using more wide-spread naming convention with a data type suffix -alist (like in display-buffer-alist, etc.) would provide a defcustom name char-fold-alist. Another thing we need to do is to allow customization to remove default mappings. Maybe this is possible by using the same defcustom with a rule like: remove default mappings when a char is mapped to an empty list, e.g. - adding more mappings for =E2=80=98`=E2=80=99: (defcustom char-fold-ad-hoc '((?` "=E2=9D=9B" "=E2=80=98" "=E2=80=9B" "= =F3=A0=80=A2" "=E2=9D=AE" "=E2=80=B9")) - removing default mappings for =E2=80=98`=E2=80=99: (defcustom char-fold-ad-hoc '((?`))