Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2006 15:46:07 -0800
From:      "Peter A. Giessel" <pgiessel@mac.com>
To:        Noah <admin2@enabled.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: replacing ^M with emacs
Message-ID:  <45429A3F.8020504@mac.com>
In-Reply-To: <4542969E.1060903@enabled.com>
References:  <45425D61.6030209@enabled.com> <4542607E.8020101@mac.com> <45429451.3040706@enabled.com> <45429608.9090704@mac.com> <4542969E.1060903@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006/10/27 15:30, Noah seems to have typed:
> where is the logic here?

Logic?  I thought we were using emacs here?  just kidding... (mostly)

> What is control-q for

As Giorgos posted earlier:
> The important trick here is that you use C-q to 'quote' the C-m
> character in the substitution string :)

so then its just a matter of knowing the character for newline:

> what is control-j for?

The character for new line.  Which, if you are using the Xwindows
version of emacs, it gives you the shortcut in the "Minibuf" menu for
new line when you start a query...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45429A3F.8020504>