unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Split frame?
Date: Tue, 13 Mar 2007 20:33:31 +0100	[thread overview]
Message-ID: <87k5xley5w.fsf@baldur.tsdh.de> (raw)
In-Reply-To: 1173812471.694871.105960@q40g2000cwq.googlegroups.com

"Vols" <volunteers@gmail.com> writes:

Hi,

> I have 3 file in one frame, say file1.c, file2.c and file3.c I use
> 'C-x 3' to split the frame vertically.

You confuse frames and windows. Please have a look at

,----[ (info "(emacs)Buffers") ]
| The text you are editing in Emacs resides in an object called a
| "buffer".
`----

,----[ (info "(emacs)Windows") ]
| Emacs can split a frame into two or many windows.
`----

,----[ (info "(emacs)Frames") ]
| When using a graphical display, you can create multiple windows at the
| system in a single Emacs session.  Each system-level window that
| belongs to Emacs displays a "frame" which can contain one or several
| Emacs windows.
`----

> The problem is these two frames are identical.

Those two _windows_ display the same _buffers_.

> When I open a 'file4.c' in left frame, it appears in right frame too.

Sure, cause both windows are associated with the same buffer.

> How to make these two frames independent?

You have to switch to another buffer in one of the windows. You do that
with `C-x b' (`switch-buffer'). There are many different modes and
functions for fast and convenient buffer switching/maneuvering like
`ibuffer' and `ido', just to name a few. Have a look at the docs and
www.emacswiki.org.

Bye,
Tassilo
-- 
The glass is neither half-full nor half-empty: it's twice as big as it
needs to be.

  reply	other threads:[~2007-03-13 19:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-13 19:01 Split frame? Vols
2007-03-13 19:33 ` Tassilo Horn [this message]
2007-03-13 20:10 ` Malte Spiess
2007-03-13 20:33 ` Peter Dyballa
     [not found] ` <mailman.894.1173818057.7795.help-gnu-emacs@gnu.org>
2007-03-13 21:37   ` Vols
2007-03-13 21:56     ` Peter Dyballa
2007-03-14 13:18       ` Stephen Berman
2007-03-14 14:03         ` Peter Dyballa
2007-03-14 14:36           ` Stephen Berman
2007-03-14 15:09             ` Peter Dyballa
2007-03-14 15:57               ` Stephen Berman
2007-03-14 16:37                 ` Peter Dyballa
2007-03-13 22:04     ` Colin S. Miller

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87k5xley5w.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).