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#21277: 25.0.50; char-fold search is a screw, and I can't see how to disable Date: Thu, 20 Aug 2015 01:17:09 +0300 Organization: LINKOV.NET Message-ID: <87bne2ylcq.fsf@mail.linkov.net> References: <87pp2k22z8.fsf@gnu.org> 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 1440119150 28988 80.91.229.3 (21 Aug 2015 01:05:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2015 01:05:50 +0000 (UTC) Cc: Andreas Schwab , Richard Stallman , 21277@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 03:05:40 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 1ZSam2-0003WD-DE for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 03:05:38 +0200 Original-Received: from localhost ([::1]:38658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSam1-0003cC-Qr for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2015 21:05:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSBr0-0000ba-EZ for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 18:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSBqx-0007Vu-Vh for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 18:29:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSBqx-0007Vd-TV for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 18:29:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZSBqx-0005ap-KS for bug-gnu-emacs@gnu.org; Wed, 19 Aug 2015 18:29:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Aug 2015 22:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21277 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21277-submit@debbugs.gnu.org id=B21277.144002329521405 (code B ref 21277); Wed, 19 Aug 2015 22:29:03 +0000 Original-Received: (at 21277) by debbugs.gnu.org; 19 Aug 2015 22:28:15 +0000 Original-Received: from localhost ([127.0.0.1]:32961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSBqB-0005ZB-7N for submit@debbugs.gnu.org; Wed, 19 Aug 2015 18:28:15 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:44155 helo=homiemail-a18.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSBq9-0005Yv-Eh for 21277@debbugs.gnu.org; Wed, 19 Aug 2015 18:28:13 -0400 Original-Received: from homiemail-a18.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTP id 0279F25006B; Wed, 19 Aug 2015 15:28:13 -0700 (PDT) Original-Received: from localhost.linkov.net (m212-53-116-166.cust.tele2.ee [212.53.116.166]) (Authenticated sender: jurta@jurta.org) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPA id 8E66F250069; Wed, 19 Aug 2015 15:28:11 -0700 (PDT) In-Reply-To: <87pp2k22z8.fsf@gnu.org> (Tassilo Horn's message of "Tue, 18 Aug 2015 14:30:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:105623 Archived-At: > But I think the `isearch-lax-whitespace' feature can still be improved: > > 1. The `isearch-lax-whitespace' docstring speaks of "ordinary > incremental search" which I've read as "non-regex isearch". But it > seems that regex isearch is also affected. I'd just strip the > "ordinary". Regexp isearch is affected by =E2=80=98isearch-regexp-lax-whitespace=E2=80= =99. > And IMHO, it would be a good idea to disable lax-whitespace for the > current search as soon as the search string contains a non-space > whitespace character. I think if the user explicitly types C-j, C-i, > etc. she's probably not interested in treating spaces as any-whitespace > but wants to distinguish newlines from tabs and spaces. Good idea - it could work the same way as case-fold search detects the pr= esence of uppercase chars in the search string to automatically toggle itself.