From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Replace with CR Date: Sun, 5 Jul 2015 17:22:25 +0200 Message-ID: <20150705152225.GA22342@tuxteam.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed X-Trace: ger.gmane.org 1436109775 25293 80.91.229.3 (5 Jul 2015 15:22:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2015 15:22:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Andrea Venturoli Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 05 17:22:48 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 1ZBlkl-0003GK-Nf for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jul 2015 17:22:47 +0200 Original-Received: from localhost ([::1]:46916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBlkl-00005w-5g for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jul 2015 11:22:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBlkc-00005p-7B for help-gnu-emacs@gnu.org; Sun, 05 Jul 2015 11:22:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBlkX-0005XD-7m for help-gnu-emacs@gnu.org; Sun, 05 Jul 2015 11:22:38 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:49158 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBlkX-0005Wa-20 for help-gnu-emacs@gnu.org; Sun, 05 Jul 2015 11:22:33 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ZBlkP-0005qA-7k; Sun, 05 Jul 2015 17:22:25 +0200 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 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:105445 Archived-At: -----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;^Q^J (i.e. replace your but-last with CTRL-J) regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlWZS7EACgkQBcgs9XrR2kbQOQCeLLjXtetNsQxtMsfTQxYo9nGt IKsAnR+HjjVRxQW9GR4i5Uy7t/hoQT1Z =DYAy -----END PGP SIGNATURE-----