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: Mon, 30 May 2016 23:57:12 +0300 Organization: LINKOV.NET Message-ID: <87fusz2riv.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> <87shxjjb0h.fsf@mail.linkov.net> <8e655300-1a72-4df6-87cf-91fd006cb3d7@default> <8737pgwgiu.fsf@mail.linkov.net> <87mvnngnyq.fsf@mail.linkov.net> <87bn436qx5.fsf@gmail.com> 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 1464643348 4955 80.91.229.3 (30 May 2016 21:22:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 May 2016 21:22:28 +0000 (UTC) Cc: 22147@debbugs.gnu.org To: Artur Malabarba Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 30 23:22:17 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 1b7Uda-0003Jf-Ta for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 May 2016 23:22:15 +0200 Original-Received: from localhost ([::1]:33227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7UdZ-000539-Uv for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 May 2016 17:22:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7UdT-000533-3q for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 17:22:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7UdO-0000nm-QL for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 17:22:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7UdO-0000ni-Io for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 17:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b7UdO-0008D7-BD for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 17:22: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: Mon, 30 May 2016 21:22: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.146464330531511 (code B ref 22147); Mon, 30 May 2016 21:22:02 +0000 Original-Received: (at 22147) by debbugs.gnu.org; 30 May 2016 21:21:45 +0000 Original-Received: from localhost ([127.0.0.1]:47809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7Ud6-0008CB-Ue for submit@debbugs.gnu.org; Mon, 30 May 2016 17:21:45 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:37584 helo=homiemail-a17.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7Ud5-0008C4-R8 for 22147@debbugs.gnu.org; Mon, 30 May 2016 17:21:44 -0400 Original-Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id 3B74D2B206E; Mon, 30 May 2016 14:21:42 -0700 (PDT) Original-Received: from localhost.linkov.net (85.253.58.75.cable.starman.ee [85.253.58.75]) (Authenticated sender: jurta@jurta.org) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id 431942B206D; Mon, 30 May 2016 14:21:41 -0700 (PDT) In-Reply-To: <87bn436qx5.fsf@gmail.com> (Artur Malabarba's message of "Wed, 18 May 2016 17:40:22 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (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:118873 Archived-At: >> Now I tried to reintroduce these lists with different names: >> =E2=80=98char-fold-include-alist=E2=80=99 with a list to add to defaul= t mappings and >> =E2=80=98char-fold-exclude-alist=E2=80=99 with a list to remove from d= efault mappings >> taking into account all opinions expressed on emacs-devel for the >> default values: > > Sounds good! Some minor comments: > >> +(defun make-char-fold-table () > > Call this `char-fold--make-table' > >> + (unless (and (assq char char-fold-exclude-alist) >> + (member (apply #'string decomp) (assq char = char-fold-exclude-alist))) > > This call to `member' will run dozens of times for each entry in > `char-fold-exclude-alist'. Maybe we should optimize those two repeated > forms: `(apply #'string decomp)' and `(assq char char-fold-exclude-alis= t)'. This definitely needs to be optimized, but now it's clear there is no hur= ry since this is not going to be released in 25. Moreover, I get occasional= crashes in char-tables with the latest patch, so it was a good thing not to push it to the release branch at the last minute.