🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #8335

Re: searching that wrap over lines

#8335
From: Hal Peterson
Date: Thu, 19 Jan 1989 02:31
11 lines
1136 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?

It already does.  To insert a newline into the search string, you must
quote it with C-q; so to look for the line in your posting that ends
with ``incremental'' and is followed by a line beginning with
``string'', you might type
	C-s t a l C-q C-j s t r
Notice that newlines in files on UNIX systems are represented by the
C-j character, so that's what you have to put in your search string.
Technical Details
Message-ID: <12857@hall.cray.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!ncis!helios.ee.lbl.gov!nosc!ucsd!rutgers!ukma!xanth!nic.MR.NET!umn-cs!hall!hrp
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!ncis!helios.ee.lbl.gov!nosc!ucsd!rutgers!ukma!xanth!nic.MR.NET!umn-cs!hall!hrp
From: hrp@hall.cray.com (Hal Peterson)
Newsgroups: comp.emacs
Subject: Re: searching that wrap over lines
Keywords: search
Message-ID: <12857@hall.cray.com>
Date: 19 Jan 89 02:31:54 GMT
References: <2922@uvacs.cs.Virginia.EDU>
Sender: hrp@hall.cray.com
Reply-To: hrp@hall.cray.com (Hal Peterson)
Organization: Cray Research, Inc.
Lines: 11
In-reply-to: pausch@uvacs.cs.Virginia.EDU (Randy Pausch)