[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Narrowing
From: |
Stefan Monnier |
Subject: |
Re: Narrowing |
Date: |
03 Apr 2003 17:05:17 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "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