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 13:57:06 -0400 (EDT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <20020610171822.5740.qmail@ischo.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1023731889 6668 127.0.0.1 (10 Jun 2002 17:58:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2002 17:58:09 +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 17HTQf-0001jQ-00 for ; Mon, 10 Jun 2002 19:58:09 +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 17HTPd-0004Ns-00; Mon, 10 Jun 2002 13:57:05 -0400 Original-Received: from hugo.aoml.noaa.gov ([192.111.123.247]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17HTNZ-0004HL-00 for ; Mon, 10 Jun 2002 13:54:57 -0400 Original-Received: by hugo.aoml.noaa.gov; id NAA19237; Mon, 10 Jun 2002 13:58:55 -0400 (EDT) Original-Received: from unknown(10.16.100.2) by hugo.aoml.noaa.gov via smap (V5.5) id xma019230; Mon, 10 Jun 02 13:58:50 -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 GXI4NT00.C8B; Mon, 10 Jun 2002 13:59:53 -0400 Original-Received: from ahab.aoml.noaa.gov by chaos.aoml.noaa.gov (SMI-8.6/SMI-SVR4) id IAA23223; Mon, 10 Jun 2002 08:57:52 -0400 Original-Received: from localhost (thacker@localhost) by ahab.aoml.noaa.gov (8.8.8+Sun/8.8.8) with ESMTP id NAA13374; Mon, 10 Jun 2002 13:57:06 -0400 (EDT) X-Authentication-Warning: ahab.aoml.noaa.gov: thacker owned process doing -bs X-Sender: thacker@ahab Original-To: bji-emacs@ischo.com In-Reply-To: <20020610171822.5740.qmail@ischo.com> 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:429 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:429 Bryan, Thanks. Copying the line break with the mouse from the text into the mini buffer worked. Carlisle > > 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). > > There may be better ways, but what I usually do to query-replace stuff that > I can't type, is M-x query-replace, then copy the to-be-replaced text out of > my buffer, paste it into the mini buffer, hit return, then copy the > to-replace-with text out of my buffer, paste it into the mini buffer, and > hit return to start the query-replace. Essentially what I am talking about > is copying the text directly out of the buffer and into the mini buffer for > stuff that I can't type easily (it works well for newlines, DOS end of line > characters, etc). > > Like I said, there is probably a much more sophisticated way to type special > characters into the mini buffer during a query replace, but I don't know > what it is. > > Hope this helps, and best wishes, > Bryan