Subject: bug#4956: 23.1; ENTER in mapped to ^M in search but to ^J in editor

From: Juri Linkov <[email-masked]>
Date: Tue, 24 Nov 2009 19:12:57 +0200

> open a new buffer
> enter hello
> M-x string-replace RET h RET h c-q RET RET

Did you mean `replace-string'?

> you'll see  "h^Mello"

If you want a newline, you can type `C-q C-j':

M-x replace-string RET h RET h C-q C-j RET

> this inconsistency makes no sense

You can see a related discussion on emacs-devel:
http://thread.gmane.org/gmane.emacs.devel/117052

-- 
Juri Linkov
http://www.jurta.org/emacs/