bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16546: C-s vs. whitespace highlighting


From: Bastien
Subject: bug#16546: C-s vs. whitespace highlighting
Date: Sat, 25 Jan 2014 14:46:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

jidanni@jidanni.org writes:

> Do C-s SPACE SPACE SPACE,
> notice that even isolated spaces are highlighted.

This is by design.

You can use `C-s M-s ' (control s meta s space) to temporarily
search with `search-whitespace-regexp' set to nil or customize
this option directly.

> The only spaces that should be highlighted are those three in a row,
> just like it works for e.g., C-s ddd.

I think the default is good because the need to match "a  word" with
"C-s a word" is more likely than the need not to match "a word" with
"C-s a  word".

-- 
 Bastien





reply via email to

[Prev in Thread] Current Thread [Next in Thread]