all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim Haynes <usenet@stirfried.vegetable.org.uk>
Subject: Re: how to collapse a horizontal into vertail
Date: Sun, 12 Jan 2003 00:03:41 +0000	[thread overview]
Message-ID: <86of6nb5eq.fsf@potato.vegetable.org.uk> (raw)
In-Reply-To: m1r8bj4ay7.fsf@localhost.localdomain

Zimmen Gnauh <yah00204052@yahoo.com> 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.

~Tim
-- 
  00:02:06  up 23 days,  8:49,  8 users,  load average: 0.45, 0.29, 0.11
piglet@stirfried.vegetable.org.uk |I never knew that the 
http://piglet.is.dreaming.org     |light of ages breaks the way before us

      reply	other threads:[~2003-01-12  0:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-11 17:11 how to collapse a horizontal into vertail Zimmen Gnauh
2003-01-11 19:27 ` Tim Haynes
2003-01-11 21:37   ` Zimmen Gnauh
2003-01-12  0:03     ` Tim Haynes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86of6nb5eq.fsf@potato.vegetable.org.uk \
    --to=usenet@stirfried.vegetable.org.uk \
    --cc=news_reply@stirfried.vegetable.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.