From: "Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: Narrowing
Date: 03 Apr 2003 17:05:17 -0500 [thread overview]
Message-ID: <5lhe9f5jaa.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: mailman.4084.1049406356.21513.help-gnu-emacs@gnu.org
>>>>> "Greg" == Greg Hill <ghill@synergymicro.com> writes:
> (defun narrow-to-region-other-window (start end)
> "Make an indirect buffer for current buffer in \"other\" window.
> Select it, and narrow it to the current region."
> (interactive "r")
> (switch-to-buffer-other-window
> (make-indirect-buffer
> (current-buffer)
> (concat (buffer-name) "<ind>")
> t ) )
> (if mark-active (narrow-to-region start end)) )
Check out clone-indirect-buffer.
Stefan
next prev parent reply other threads:[~2003-04-03 22:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-03 6:28 Narrowing Dr. F.C.Caner
2003-04-03 12:08 ` Narrowing Johan Bockgård
2003-04-03 21:34 ` Narrowing Greg Hill
[not found] ` <mailman.4084.1049406356.21513.help-gnu-emacs@gnu.org>
2003-04-03 22:05 ` Stefan Monnier [this message]
2003-04-03 23:30 ` Narrowing Greg Hill
[not found] ` <mailman.4092.1049412991.21513.help-gnu-emacs@gnu.org>
2003-04-04 15:28 ` Narrowing Stefan Monnier
2003-04-04 15:42 ` Narrowing Johan Bockgård
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=5lhe9f5jaa.fsf@rum.cs.yale.edu \
--to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
/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.