all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kj <socyl@987jk.com>
Subject: different buffers on same file?
Date: Fri, 11 Jun 2004 14:42:26 +0000 (UTC)	[thread overview]
Message-ID: <cacgci$mvp$1@reader2.panix.com> (raw)



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.

             reply	other threads:[~2004-06-11 14:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11 14:42 kj [this message]
2004-06-11 15:06 ` different buffers on same file? Johan Bockgård
2004-06-11 16:03   ` kj
2004-06-21 20:44   ` Daniel Appelqvist

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='cacgci$mvp$1@reader2.panix.com' \
    --to=socyl@987jk.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.