🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #8346

Re: searching that wrap over lines

#8346
From: liberte
Date: Thu, 19 Jan 1989 20:22
21 lines
1292 bytes
> In article <2922@uvacs.cs.Virginia.EDU>, pausch@uvacs (Randy Pausch) writes:
> >Does anyone have a GNUemacs lisp function handy that allows incremental
> >string searches to wrap over lines?  
> 
> Ummm, GNU emacs comes with a perfectly good one, isearch-forward.
> 
> p.s. There are also incremental regexp searches (isearch-*-regexp) in
> case you were wondering.
> jr@bbn.com or bbn!jr

What he wants is a little different.  Any space in the string should also
be able to match a newline, or more generally, any whitespace.
This is just isearch-forward-regexp, except with added convenience.
A variable option could automatically replace space with [ \t\n\r\f]+
or, better, \\s-+.

Dan LaLiberte
uiucdcs!liberte
liberte@cs.uiuc.edu
liberte%a.cs.uiuc.edu@uiucvmd.bitnet
Technical Details
Message-ID: <4300031@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!csd4.milw.wisc.edu!uxc!uxc.cso.uiuc.edu!m.cs.uiuc.edu!liberte
References: <2922@uvacs.cs.Virginia.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!csd4.milw.wisc.edu!uxc!uxc.cso.uiuc.edu!m.cs.uiuc.edu!liberte
From: liberte@m.cs.uiuc.edu
Newsgroups: comp.emacs
Subject: Re: searching that wrap over lines
Message-ID: <4300031@m.cs.uiuc.edu>
Date: 19 Jan 89 20:22:00 GMT
References: <2922@uvacs.cs.Virginia.EDU>
Lines: 21
Nf-ID: #R:uvacs.cs.Virginia.EDU:2922:m.cs.uiuc.edu:4300031:000:774
Nf-From: m.cs.uiuc.edu!liberte    Jan 19 14:22:00 1989