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

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

Replace with CR


From: Andrea Venturoli
Subject: Replace with CR
Date: Sun, 05 Jul 2015 16:40:50 +0200
User-agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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)

The line
a;b;c
would become
a
b
c

Now the same procedure does not work anymore as the (enter) immediately after ^Q does not move to a newline, but enters ^M.

I.e. what I get is "a^Mb^Mc".


How can I restore the previous behavior, or, failing that, replace something with a newline?

I don't know when and why this stopped working.

 bye & Thanks
        av.


reply via email to

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