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

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

Re: Searching across line breaks


From: spinner
Subject: Re: Searching across line breaks
Date: Mon, 18 Jul 2011 04:00:35 -0700 (PDT)

This did not work for me. 
According to the links in my OP, some settings need to be customized to make
search-whitespace-regexp work across CRs (and other separators). But as I
said I find the documentation on this customization confusing. C-h v
search-whitespace-regexp


Andreas Röhler wrote:
> 
> Am 18.07.2011 05:57, schrieb spinner:
>>
>> I've got text with carriage returns (CR) ending lines in my LaTex
>> documents.
>> isearch does not work for word strings with CRs separating the words. For
>> instance, isearch on 'George Washington' will not find:
>> George [CR]
>> Washington
>>
>> I've looked online for a solution and found one source that describes the
>> issue but I'm confused what the customization to the
>> search-whitespace-regexp variable should be.
>> http://stackoverflow.com/questions/6029010/isearch-across-line-breaks
>>
>> This link describes the confusion. I'm a new to emacs and can't figure
>> out
>> the variable settings.
>> http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-05/msg00427.html
>>
>> Again, what is the proper setting in search-whitespace-regexp to search
>> across line breaks with carriage returns?
>>
> 
> M-x isearch-forward-regexp RET
> 
> should enable the right thing here.
> 
> Regards,
> 
> Andreas
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Searching-across-line-breaks-tp32080601p32082295.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




reply via email to

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