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

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

RE: [h-e-w] The list is back up!


From: Eli Daniel
Subject: RE: [h-e-w] The list is back up!
Date: Tue, 9 Sep 2003 15:29:27 -0400

In general, you can enter funny characters without them having their usual
effect (as part of a search/replace string in the minibuffer, for instance)
by prefixing thing with C-q.

Carriage return is C-m
Linefeed is C-j

So to search for "abc<cr><lf>def", do C-s abcC-qC-mC-qC-jdef

-Eli


> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of John C Polking
> Sent: Tuesday, September 09, 2003 2:55 PM
> To: address@hidden
> Subject: Re: [h-e-w] The list is back up!
> 
> I am happy to see this list in operation again.
> 
> At the risk of boring everyone, I raise an old problem.  I want to do a
> global search and replace where the replacement text includes a CR/LF (I
> am using a PC).  I know how to do the search and replace.  It is the
> CR/LF that puzzles me.
> 
> What angers me is that I used to know how to do this, but I have
> forgotten.
> 
> This really should be answered in the FAQ, but I could not find it there.
> 
> John
> 
> --
> John C. Polking
>                                   (713) 348-4841 (Office)
> Department of Mathematics        (713) 348-4829 (Dept of Math)
> Rice University                  (713) 348-6120 (FAX)
> PO Box 1892                      address@hidden
> Houston, TX 77251                http://math.rice.edu/~polking
> --
> 
> 
> 






reply via email to

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