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

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

Narrowing same buffer to different regions in two windows


From: Roy Smith
Subject: Narrowing same buffer to different regions in two windows
Date: 20 Oct 2004 11:32:08 -0400

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.

The problem is, narrowing works per-buffer, not per-window.  Is there
anyway to do what I want?


reply via email to

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