From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#22147: Obsolete search-forward-lax-whitespace Date: Sun, 13 Dec 2015 00:29:23 +0000 Message-ID: References: <87wpsk7dcs.fsf@mail.linkov.net> <87d1ubz3w9.fsf@mail.linkov.net> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3b13ef47d500526bca527 X-Trace: ger.gmane.org 1449966621 9516 80.91.229.3 (13 Dec 2015 00:30:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Dec 2015 00:30:21 +0000 (UTC) Cc: 22147@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 13 01:30:10 2015 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 1a7uYD-000180-IQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Dec 2015 01:30:09 +0100 Original-Received: from localhost ([::1]:53494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7uYC-0007Uv-Kj for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Dec 2015 19:30:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7uY9-0007Te-Ss for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2015 19:30:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7uY6-0007aZ-NX for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2015 19:30:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7uY6-0007aL-Jd for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2015 19:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a7uY6-0007sy-9k for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2015 19:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2015 00:30: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.144996657030244 (code B ref 22147); Sun, 13 Dec 2015 00:30:02 +0000 Original-Received: (at 22147) by debbugs.gnu.org; 13 Dec 2015 00:29:30 +0000 Original-Received: from localhost ([127.0.0.1]:49800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a7uXa-0007rk-JH for submit@debbugs.gnu.org; Sat, 12 Dec 2015 19:29:30 -0500 Original-Received: from mail-lb0-f182.google.com ([209.85.217.182]:33219) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a7uXZ-0007rX-8a for 22147@debbugs.gnu.org; Sat, 12 Dec 2015 19:29:29 -0500 Original-Received: by lbbkw15 with SMTP id kw15so88780856lbb.0 for <22147@debbugs.gnu.org>; Sat, 12 Dec 2015 16:29:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=d6qbFyEFZ/puMV7XmESFCOU3/W2bLwrXKVfAVVWy83w=; b=OYC9SHNYUCuDomdblriowD+MiqhvSfLNNHmC+VvYhBt8rtijZmLoKO9TFgQeL247wF 1tL8oXyoiC2zde4hBYuKE26ax6UHXXJV8Xb4BkSMowaST6mShkS6/TmSFbDf/PNpRRl1 lDyQngHpAb37hV5W8TcLWTb4LY3UY2Q2cp+01PSp+Yh7UH+sXpk2zq5D0QGcusHSal6t jnT7sOY+RSHN5C1j0Q6WQwKYrZN4SKLhdC4yIQsVMIrUI03jWJfyjWtCgQGiBG/pJD+0 l7fezQ/+mi+hOq3KUiEgyeZb2Bn7v3UH5rURvYhNdOpcvJCZ09NVl6HA3UHF1CMc4Q0r D7Qg== X-Received: by 10.112.13.66 with SMTP id f2mr8927131lbc.79.1449966563521; Sat, 12 Dec 2015 16:29:23 -0800 (PST) Original-Received: by 10.112.202.99 with HTTP; Sat, 12 Dec 2015 16:29:23 -0800 (PST) Original-Received: by 10.112.202.99 with HTTP; Sat, 12 Dec 2015 16:29:23 -0800 (PST) In-Reply-To: <87d1ubz3w9.fsf@mail.linkov.net> X-Google-Sender-Auth: biWDjAtXMEDnZUpJnP2EGY5w5HE 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109914 Archived-At: --001a11c3b13ef47d500526bca527 Content-Type: text/plain; charset=UTF-8 On 12 Dec 2015 11:31 pm, "Juri Linkov" wrote: > > Thanks, setting search-default-regexp-mode to #'search-whitespace-regexp > gives the same effect. > > One drawback is that then it removes char-fold search. True. I think it might also be possible to get what you want by just setting the search-whitespace-regexp variable to "[ \t\r\n]+". That would have the advantage of not removing char folding (and would reduce everything to one line). > Do you have a plan to combine lax-whitespace search > with char-fold search? Char-folding is perfectly compatible with the regular lax-whitespace. --001a11c3b13ef47d500526bca527 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 12 Dec 2015 11:31 pm, "Juri Linkov" <juri@linkov.net> wrote:
>
> Thanks, setting search-default-regexp-mode to #'search-whitespace-= regexp
> gives the same effect.
>
> One drawback is that then it removes char-fold search.

True. I think it might also be possible to get what you want= by just setting the search-whitespace-regexp variable to "[ \t\r\n]+&= quot;. That would have the advantage of not removing char folding (and woul= d reduce everything to one line).

> Do you have a plan to combine lax-whitespace search
> with char-fold search?

Char-folding is perfectly compatible with the regular lax-wh= itespace.

--001a11c3b13ef47d500526bca527--