[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making new files
From: |
Eli Zaretskii |
Subject: |
Re: Making new files |
Date: |
Sat, 04 May 2024 11:16:02 +0300 |
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Sat, 4 May 2024 14:41:50 +0700
> Cc: Heime <heimeborgia@protonmail.com>,
> Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
>
> On Sat, 4 May 2024 at 07:16, Po Lu <luangruo@yahoo.com> wrote:
>
> > > I always struggle in emacs because there is no way to make a new file
> > > from the "File" menu. Can "New File" be added please.
> >
> > "Visit New File."
>
> That’s not exactly what Users New To Emacs™ expect from a File → New command.
But that's what we decided to have instead of "File->New". There were
a lot of discussions about it quite a few years ago, and we ended up
implementing that, for reasons that you can find in the discussion
(there's more here than meets the eye, as usually with Emacs).
So we are not going to change that any time soon. The "New" in "Visit
New File" should tell the user this is what they want, and the
help-echo tooltip should help some more.
> The standard behavior of File → New is to create a blank buffer, no
> questions asked. The decision as to the name and location of the file
> is deferred to the first explicit save. Emacs, on the other hand, asks
> for the name up front.
Emacs is not like "other apps" out there, it has its own logic and
paradigms, which are usually well-thought. Users of Emacs should
realize the value of the Emacs behavior (for example, the fact that in
this case Emacs automatically choses the correct modes for the new
file), and appreciate it, rather than look for the inferior behavior
characteristic of "other apps".
- Making new files, Heime, 2024/05/03
- Re: Making new files, Po Lu, 2024/05/03
- Re: Making new files, Yuri Khan, 2024/05/04
- Re: Making new files, జిందం వాఐి, 2024/05/04
- Re: Making new files, Heime, 2024/05/04
- Re: Making new files, Po Lu, 2024/05/04
- Re: Making new files, Heime, 2024/05/04
- Re: Making new files, Heime, 2024/05/04
- Re: Making new files, Heime, 2024/05/04
- Re: Making new files, Stefan Monnier, 2024/05/05