[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to collapse a horizontal into vertail

From: Tim Haynes
Subject: Re: how to collapse a horizontal into vertail
Date: Sun, 12 Jan 2003 00:03:41 +0000
User-agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military Intelligence, i686-pc-linux)

Zimmen Gnauh <address@hidden> writes:

>> (replace-regexp " " "^J")
>> or M-x replace-regexp, similarly. Use C-q to quote the C-j.
>> Works t'other way round, too :)
> this would replace all " " with "^J". However, the text I'd like to
> replace is only part of the buffer. I expect to mark the region first and
> then do something to collapse it.

You could use the narrow-to-region function (C-x n n) to shrink the
affected area to a selected region, then widen (C-x n w) to regain view of
the whole buffer.

  00:02:06  up 23 days,  8:49,  8 users,  load average: 0.45, 0.29, 0.11
address@hidden |I never knew that the     |light of ages breaks the way before us

reply via email to

[Prev in Thread] Current Thread [Next in Thread]