From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#22147: Obsolete search-forward-lax-whitespace Date: Mon, 07 Sep 2020 21:34:56 +0300 Organization: LINKOV.NET Message-ID: <87k0x5bfmz.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> <87fusz2riv.fsf@mail.linkov.net> <87d1o1eytc.fsf@gmail.com> <87v9gs2s07.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="657"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 22147@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 07 20:39:49 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFM3Q-000Ac8-Rg for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Sep 2020 20:39:48 +0200 Original-Received: from localhost ([::1]:55050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFM3P-00057M-Th for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Sep 2020 14:39:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFM1i-0003h7-UY for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2020 14:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFM1i-0006Wh-Jh for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2020 14:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFM1i-00029i-Hq for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2020 14:38: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, 07 Sep 2020 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22147 X-GNU-PR-Package: emacs Original-Received: via spool by 22147-submit@debbugs.gnu.org id=B22147.15995038278189 (code B ref 22147); Mon, 07 Sep 2020 18:38:02 +0000 Original-Received: (at 22147) by debbugs.gnu.org; 7 Sep 2020 18:37:07 +0000 Original-Received: from localhost ([127.0.0.1]:50814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFM0p-000280-5K for submit@debbugs.gnu.org; Mon, 07 Sep 2020 14:37:07 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:47245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFM0m-00027D-Fg; Mon, 07 Sep 2020 14:37:05 -0400 X-Originating-IP: 91.129.97.241 Original-Received: from mail.gandi.net (m91-129-97-241.cust.tele2.ee [91.129.97.241]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 8D46F1BF204; Mon, 7 Sep 2020 18:36:56 +0000 (UTC) In-Reply-To: <87v9gs2s07.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 05 Sep 2020 16:54:48 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187470 Archived-At: tags 22147 fixed close 22147 28.0.50 quit > I've just skimmed this bug report, but it seems like a different version > of the proposed patch was applied three years later: > > commit 376f5df3cca0dbf186823e5b329d76b52019473d > Author: Juri Linkov > AuthorDate: Tue Jul 23 23:27:28 2019 +0300 > > Customizable char-fold with char-fold-symmetric, char-fold-include (bug#35689) > > search-forward-lax-whitespace still isn't obsolete, but I'm unsure > whether there's anything more to do in this bug report? Let's see if the requested feature works now: 0. emacs -Q 1. eval (setq search-whitespace-regexp "\\(?:\\s-\\|\n\\)+") (require 'char-fold) (setq-default search-default-mode 'char-fold-to-regexp) (setq char-fold-symmetric t) 2. then ‘C-s 1 C-q C-j 2 C-s’ finds both occurrences: 1 2 1 2 Oh, wait! This works because I have an uninstalled patch from bug#38539. Now pushed to master, and closed both reports.