all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Tassilo Horn <tsdh@gnu.org>
Cc: 21277@debbugs.gnu.org
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	[thread overview]
Message-ID: <CAAdUY-KgMuhphRBaoRT9e=e-EKNnsV1rMFYSv_wEbKFrKQWt-w@mail.gmail.com> (raw)
In-Reply-To: <87pp2k22z8.fsf@gnu.org>

2015-08-18 13:30 GMT+01:00 Tassilo Horn <tsdh@gnu.org>:
> 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.





  parent reply	other threads:[~2015-08-18 21:58 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-17  5:04 bug#21277: 25.0.50; char-fold search is a screw, and I can't see how to disable Richard Stallman
2015-08-17  7:23 ` Andreas Schwab
2015-08-18  3:41   ` Richard Stallman
2015-08-18 12:30     ` Tassilo Horn
2015-08-18 14:24       ` Drew Adams
2015-08-18 21:58       ` Artur Malabarba [this message]
2015-08-18 21:58         ` Artur Malabarba
2015-08-19 18:14         ` Richard Stallman
2015-08-19 22:17       ` Juri Linkov
2015-08-18  3:41   ` Richard Stallman
2015-08-19 22:08     ` Juri Linkov
2015-08-20 16:56       ` Richard Stallman
2015-08-18  3:42   ` When was a change installed? Richard Stallman
2015-08-18 14:10     ` Alan Mackenzie
2015-08-19  6:38       ` Steinar Bang
2015-08-19 18:16         ` Richard Stallman
2015-08-18 14:18     ` Andreas Schwab
2015-08-19  1:19       ` Richard Stallman
2015-08-19  4:28         ` David Kastrup
2015-08-19 18:18           ` Richard Stallman
2015-08-20  2:37             ` Stefan Monnier
2015-08-19  1:19       ` Richard Stallman
2015-08-19  7:52         ` Andreas Schwab
2015-08-19 18:18           ` Richard Stallman
2015-08-19  9:22         ` Bastien
2015-08-19  9:25           ` Andreas Schwab
2015-08-19  9:57             ` Stephen Berman
2015-08-19 10:16               ` Damien Wyart
2015-08-18 14:28     ` Tassilo Horn
2015-08-19  1:24       ` Richard Stallman
2015-08-17 19:02 ` bug#21277: 25.0.50; char-fold search is a screw, and I can't see how to disable Mark Oteiza
2015-08-18 22:29 ` Artur Malabarba
2015-08-19 22:02 ` Juri Linkov
2015-08-20  9:36   ` Artur Malabarba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAdUY-KgMuhphRBaoRT9e=e-EKNnsV1rMFYSv_wEbKFrKQWt-w@mail.gmail.com' \
    --to=bruce.connor.am@gmail.com \
    --cc=21277@debbugs.gnu.org \
    --cc=tsdh@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.