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#21277: 25.0.50; char-fold search is a screw, and I can't see how to disable Date: Tue, 18 Aug 2015 22:58:06 +0100 Message-ID: References: <87pp2k22z8.fsf@gnu.org> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1439935155 25004 80.91.229.3 (18 Aug 2015 21:59:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2015 21:59:15 +0000 (UTC) Cc: 21277@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 18 23:59: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 1ZRouU-0005R2-2c for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 23:59:10 +0200 Original-Received: from localhost ([::1]:59702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRouT-0003O2-Jt for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 17:59:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRouP-0003NZ-F9 for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2015 17:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRouM-0002bb-9E for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2015 17:59:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRouM-0002bU-62 for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2015 17:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZRouM-0007DR-06 for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2015 17:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Aug 2015 21:59:01 +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.143993509027615 (code B ref 21277); Tue, 18 Aug 2015 21:59:01 +0000 Original-Received: (at 21277) by debbugs.gnu.org; 18 Aug 2015 21:58:10 +0000 Original-Received: from localhost ([127.0.0.1]:60066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRotV-0007BK-N5 for submit@debbugs.gnu.org; Tue, 18 Aug 2015 17:58:09 -0400 Original-Received: from mail-lb0-f177.google.com ([209.85.217.177]:34134) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZRotT-0007BA-JO for 21277@debbugs.gnu.org; Tue, 18 Aug 2015 17:58:08 -0400 Original-Received: by lbbtg9 with SMTP id tg9so112805340lbb.1 for <21277@debbugs.gnu.org>; Tue, 18 Aug 2015 14:58:06 -0700 (PDT) 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=FV6Cv3PrahMWDbN/t0V7jG3u6DQIaQefkV8svt86NSM=; b=iZH2Kpxx1lugUZwKtMMJJbQQ85Xaa93lm45rKAUtTbkEs5F4ylifukcQ8MTjybGsW6 7EdIwcY4vOTPJm5okI+vA6Ya1R8iMJm9RrHtxRBOgAClxlajDtlRpiNAJ4MopXUnVl7I eunFA2HXAI4GB4QJvWpebSiQ8T1AiBkdBzb+KhANvwYa+0H6gu7yWNl44p9X7fe8xs0S HwijEZhPD6K4bHreyeOzf+rY/fQAn8rgAIbGh34GlwIGIZC8ULZc8/xOB2MjNtMrzRP/ 1A05aCoxTiZYJdhTgiCyOaRB+xJO6RFcO2SrZYZmveBSspGMrCH3E4hwmNgEZScDWxpp K8zw== X-Received: by 10.112.67.65 with SMTP id l1mr8292019lbt.86.1439935086733; Tue, 18 Aug 2015 14:58:06 -0700 (PDT) Original-Received: by 10.25.134.139 with HTTP; Tue, 18 Aug 2015 14:58:06 -0700 (PDT) In-Reply-To: <87pp2k22z8.fsf@gnu.org> X-Google-Sender-Auth: qVC08YcNzHm6wZDNtLGV55yNcxU 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:105576 Archived-At: 2015-08-18 13:30 GMT+01:00 Tassilo Horn : > I like that behavior because I frequently search for "some text" in > prose, and then it allows me to find also the matches where the two > words are wrapped around. Me too, it's very useful in prose. I agree that it's not super useful in code. But it's also not harmful enough in code that it should be disabled in prose. > But I think the `isearch-lax-whitespace' feature can still be improved: > [...] > I had expected that only space characters in the search string are > replaced by `search-whitespace-regexp' but it seems that any whitespace > character is replaced by it. I think this is not good. I agree. > 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. I'm so sure this would be good, but I'm not sure it would be bad either.