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: Mon, 27 Jan 2014 08:09:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Yes, good idea.  I also think search for two whitespace chars in a row
>> should temporary toggle `search-whitespace-regexp' to nil.
>
> That, or the resulting regexp should require at least 2 space.

Or maybe: the resulting regexp should be

  (concat [an-isearch-string-with-only-whitespace-chars]
          search-whitespace-regexp)

?

That way two spaces means " \\s-+"

If so, I will have a look.

PS: I guess this is not a bugfix, but I'll prepare a patch for this
thread anyway.

-- 
 Bastien





reply via email to

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