From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Venturoli Newsgroups: gmane.emacs.help Subject: Replace with CR Date: Sun, 05 Jul 2015 16:40:50 +0200 Organization: Aioe.org NNTP Server Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1436107520 23923 80.91.229.3 (5 Jul 2015 14:45:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2015 14:45:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 05 16:45:20 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZBlAU-0006ix-4H for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jul 2015 16:45:18 +0200 Original-Received: from localhost ([::1]:46855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBlAT-0003jN-Al for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jul 2015 10:45:17 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: ZnrLGS6EgYMUUuDOboJFrg.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:213157 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105444 Archived-At: 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.