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

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

Re: Narrowing same buffer to different regions in two windows


From: Stefan Monnier
Subject: Re: Narrowing same buffer to different regions in two windows
Date: Wed, 20 Oct 2004 15:38:07 GMT
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> I've got a file with two large sections of very similar text that I
> want to examine and compare (it's C++, and a previous author did a
> "cut, paste, and modify" job instead of refactoring).  What I'd like
> to do is split the screen into two windows, and do narrow-to-region in
> each window, ending up with each window looking at a distinct section
> of the file.

M-x make-indirect-buffer RET


        Stefan



reply via email to

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