From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kj Newsgroups: gmane.emacs.help Subject: different buffers on same file? Date: Fri, 11 Jun 2004 14:42:26 +0000 (UTC) Organization: none Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1088535684 17827 80.91.224.253 (29 Jun 2004 19:01:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:01:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:01:14 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfNr0-0003um-00 for ; Tue, 29 Jun 2004 21:01:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfNsf-0006yU-Vn for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:02:57 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader2.panix.com 1086964946 23545 166.84.1.3 (11 Jun 2004 14:42:26 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Fri, 11 Jun 2004 14:42:26 +0000 (UTC) X-No-Confirm: yes User-Agent: nn/6.6.5 Original-Xref: shelby.stanford.edu gnu.emacs.help:123749 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19110 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19110 Is there any way to have more than one buffer visiting the same file? I tried renaming a buffer and "find-file"-ing the same file again, but Emacs did not create a new buffer; it just re-used the original buffer despite the name change. My immediate need for this is that I'm trying to read a huge (0.5 MB) source code file, 95% of which consists of the first leg of a single if statement (horrible programming, I know), and it would be very useful if I could simultaneously have several buffers/windows/frames that were narrowed (C-x n n) to various sections of this file. Since narrowing is a per-buffer property, I need to have several buffers opened on the same file if I want to do this. Thanks! kj -- NOTE: In my address everything before the period is backwards.