help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Narrowing


From: Greg Hill
Subject: Re: Narrowing
Date: Thu, 3 Apr 2003 15:30:48 -0800

At 5:05 PM -0500 4/3/03, Stefan Monnier wrote:
Check out clone-indirect-buffer.

Thanks.  Now it's:

(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")
  (clone-indirect-buffer-other-window (current-buffer))
  (if mark-active (narrow-to-region start end)) )

The clone-... functions (I see there's four of them) oughta be in the Reference Manual, but they're not. One of these days I'll have to take a closer look at simple.el and see what else I've missed.

--Greg




reply via email to

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