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

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

Re: Replace with CR


From: tomas
Subject: Re: Replace with CR
Date: Sun, 5 Jul 2015 17:22:25 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Jul 05, 2015 at 04:40:50PM +0200, Andrea Venturoli wrote:
> Hello.
> 
> I'm using emacs on several FreeBSD boxes (text or X version).
> For several years I've been able to replace any character with a
> newline, by doing (e.g. with ';'):
> M-x replace-string(enter);(enter)^Q(enter)(enter)

Try M-x replace-string<ENTER>;<ENTER>^Q^J<ENTER>

(i.e. replace your but-last <ENTER> with CTRL-J)

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlWZS7EACgkQBcgs9XrR2kbQOQCeLLjXtetNsQxtMsfTQxYo9nGt
IKsAnR+HjjVRxQW9GR4i5Uy7t/hoQT1Z
=DYAy
-----END PGP SIGNATURE-----



reply via email to

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