unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: jsyuk 86 <jsyuk86@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: how to open file window in Emacs
Date: Thu, 8 Dec 2016 07:39:05 -0800 (PST)	[thread overview]
Message-ID: <ed89903a-b627-4ca8-baa3-6c25251bcb30@default> (raw)
In-Reply-To: <CAGwf5mNz3S7ZsHV0QuPK6MnyWTJN+F-KgQx0g-TiffKFer-n2g@mail.gmail.com>

> When I clicked the "Open File" in File menu, new window was not opened.
> Only I have to type the file name in the bottom command line.
> How to solve the issue?

That's the design.  In Emacs, `Open File' means create a buffer
with the name of an _existing_ file (not with no name).

Buffers in Emacs are named, and `Open File' creates a buffer
that visits an existing file, whose name you must provide.

Even `New File' requires that you first provide a file name.
It creates a buffer that is intended, by default, for saving
to a file.  (However, you _need not_ ever save it to a file.)

http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg00629.html
http://lists.gnu.org/archive/html/emacs-devel/2005-10/msg00555.html



      parent reply	other threads:[~2016-12-08 15:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08 15:00 how to open file window in Emacs jsyuk 86
2016-12-08 15:30 ` tomas
2016-12-08 15:39 ` Drew Adams [this message]

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=ed89903a-b627-4ca8-baa3-6c25251bcb30@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jsyuk86@gmail.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.
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).