From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim Haynes Newsgroups: gmane.emacs.help Subject: Re: how to collapse a horizontal into vertail Date: Sat, 11 Jan 2003 19:27:51 +0000 Organization: What's Organization? Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <86iswvcwqw.fsf@potato.vegetable.org.uk> References: Reply-To: news_reply@stirfried.vegetable.org.uk NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042313825 32173 80.91.224.249 (11 Jan 2003 19:37:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 11 Jan 2003 19:37:05 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18XRRF-0008Mc-00 for ; Sat, 11 Jan 2003 20:37:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18XRQ6-0007BI-07 for gnu-help-gnu-emacs@m.gmane.org; Sat, 11 Jan 2003 14:35:50 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!diablo.theplanet.net!zen.net.uk!lon1-news.nildram.net!195.149.20.147.MISMATCH!mercury.nildram.co.uk!not-for-mail X-Anti-Echelon: N-ISDN Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military Intelligence, i686-pc-linux) Cancel-Lock: sha1:/gOfMJ2z0kbRRIkcByh/15yop3E= Original-Lines: 22 Original-NNTP-Posting-Host: 195.149.39.120 Original-X-Trace: 1042313707 mercury.nildram.net 164 195.149.39.120 Original-Xref: shelby.stanford.edu gnu.emacs.help:108851 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5380 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5380 Zimmen Gnauh writes: > shell command tr can be used to collapse a sentence "this is a test" > into > this > is > a > test > . How can this be done in emacs? (replace-regexp " " "^J") or M-x replace-regexp, similarly. Use C-q to quote the C-j. Works t'other way round, too :) ~Tim -- All I see, All I know |piglet@stirfried.vegetable.org.uk Is touching the sacred earth |http://spodzone.org.uk/ And warming the hallowed ground |