From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Carlisle Thacker Newsgroups: gmane.emacs.help Subject: Re: new line Date: Mon, 10 Jun 2002 15:21:31 -0400 (EDT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1023736905 30036 127.0.0.1 (10 Jun 2002 19:21:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2002 19:21:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17HUjY-0007oL-00 for ; Mon, 10 Jun 2002 21:21:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17HUiu-0005Qe-00; Mon, 10 Jun 2002 15:21:04 -0400 Original-Received: from hugo.aoml.noaa.gov ([192.111.123.247]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17HUhU-0005Fc-00 for ; Mon, 10 Jun 2002 15:19:36 -0400 Original-Received: by hugo.aoml.noaa.gov; id PAA21074; Mon, 10 Jun 2002 15:23:35 -0400 (EDT) Original-Received: from unknown(10.16.100.2) by hugo.aoml.noaa.gov via smap (V5.5) id xma021040; Mon, 10 Jun 02 15:23:16 -0400 Original-Received: from chaos.aoml.noaa.gov ([172.16.100.2]) by ms-nems.aoml.noaa.gov (Netscape Messaging Server 4.15) with SMTP id GXI8KI00.67T; Mon, 10 Jun 2002 15:24:18 -0400 Original-Received: from ahab.aoml.noaa.gov by chaos.aoml.noaa.gov (SMI-8.6/SMI-SVR4) id KAA26741; Mon, 10 Jun 2002 10:22:16 -0400 Original-Received: from localhost (thacker@localhost) by ahab.aoml.noaa.gov (8.8.8+Sun/8.8.8) with ESMTP id PAA13614; Mon, 10 Jun 2002 15:21:31 -0400 (EDT) X-Authentication-Warning: ahab.aoml.noaa.gov: thacker owned process doing -bs X-Sender: thacker@ahab Original-To: Marco Baringer In-Reply-To: Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:431 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:431 Marco, Thanks. It worked for me too. Couldn't find any help on C-q C-j in the manual. Carlisle > C-q is a beautiful key.... > > for example if we want a new line we do C-q C-j (C-q RET gives us (me > really, i can't speak for others) ^M which isn't what we(i) want). so > > M-x replace-regexp RET SPACE + RET C-q C-j > > will replace all sequences of spaces with new lines. > > Carlisle Thacker writes: > > > How do I search and replace replace blank spaces with line breaks? > > I'm using emacs 20.2.1 (sparc-sun-solaris2.6, X toolkit). > > -- > -Marco > Ring the bells that still can ring. > Forget the perfect offering. > There's a crack in everything. > It's how the light gets in. > -Isonard Cohen > > p.s. - if anybody wants too tell me why i have to use C-j and can't > use RET i'd be happy to listen...