all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Todd Kokoszka <kokostm@auburn.edu>
Cc: GNU emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: definitely a newbie question
Date: Sun, 22 Sep 2002 20:18:45 +0200	[thread overview]
Message-ID: <20020922201844.A223@auburn.edu> (raw)
In-Reply-To: <Pine.LNX.4.44.0209221502340.1554-100000@dell>; from rpjday@mindspring.com on Sun, Sep 22, 2002 at 03:05:27PM -0400

On Sun 22 Sep 2002 at 15:05:27 -0400, Robert P. J. Day wrote:
> 
>   just started with emacs, and it's not clear how, if i have
> more than one window up already, how, in one operation, i can
> open a new file in a *new* additional window.
> 
>   if i have just one window up, then "C-x 4 f <filename>"
> (find-file-other-window) will split the screen horizontally
> and open that second file.
> 
>   however, if i try this on a third file, it will just replace
> the contents of the other window, rather than splitting the
> screen into three windows, which is what i want.
> 

Emacs uses a buffer for each file. If you have one window open and want to
open another file, you can just C-x C-f and it will replace the active
buffer with the buffer of the file you found. If you type C-x b, you can
switch to a different buffer. It defaults to the most recent buffer. 

If you want to look at both files at once, you can type C-x 2 which will
split the window in 2 and this can display one buffer in each. C-x o will
allow you to switch between these two buffers. 

You should use C-h i to get to the info reader in Emacs and choose the
Emacs section. Look at the section Major Structures of Emacs, including
Files, Windows and Buffers. 

Todd

>   is there a way to do this easily?  or should i first split
> one of the existing windows, then switch to an alternate file
> in one of those windows?
> 
> rday
> 
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

  reply	other threads:[~2002-09-22 18:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-22 19:05 definitely a newbie question Robert P. J. Day
2002-09-22 18:18 ` Todd Kokoszka [this message]
2002-09-23  3:37 ` Tom Davey
     [not found] <mailman.1032721520.14238.help-gnu-emacs@gnu.org>
2002-09-23 13:05 ` Kai Großjohann

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=20020922201844.A223@auburn.edu \
    --to=kokostm@auburn.edu \
    --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.
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.