GNU bug report logs -
#22494
still can't search for two spaces
Previous Next
Full log
Message #77 received at 22494 <at> debbugs.gnu.org (full text, mbox):
> > 4. I raised a question about whether lax w-s matching should
> > be automatically turned OFF if you _paste_ (not type) text
> > that contains multiple, contiguous w-s chars.
>
> I think it should be, as with typing them.
Maybe. But it's easy to copy some text (e.g. non-code) from
some external source (not Emacs), and search for it (by yanking).
You might not even know whether it contains more than one
whitespace char in a row. And if it does, I'm guessing that
some users might be surprised to see lax whitespace matching
turned off after the yank.
Not a big deal, as long as they are clearly notified, in a
way that they understand _why_ the search mode has changed
(e.g. the search string now contains more than one w-s char
in a row).
But I still have the question of what the right approach is.
There are different possibilities, when someone yanks some
text to add to the search string, regarding the intention
wrt searching for whitespace.
My guess is that whatever behavior we choose some users will
be confused. This just underlines the importance of letting
the user know (a) that a change in behavior has taken place
and (b) why it has.
This bug report was last modified 9 years and 166 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.