[Top][All Lists]

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

Re: Searching across line breaks

From: Andreas Röhler
Subject: Re: Searching across line breaks
Date: Mon, 18 Jul 2011 19:40:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

Am 18.07.2011 13:00, schrieb spinner:

This did not work for me.


should find any name separated by blanks, tabs, newpages, cr, newlines

the newline-expression in the regexp must be typed \C-o inside the minibuffer, ie inserted literarly

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

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
isearch does not work for word strings with CRs separating the words. For
instance, isearch on 'George Washington' will not find:
George [CR]

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.

This link describes the confusion. I'm a new to emacs and can't figure
the variable settings.

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.



reply via email to

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