Le ven. 11 sept. 2020 à 17:49, Eli Zaretskii <
eliz@gnu.org> a écrit :
> From: Thibaut Verron <thibaut.verron@gmail.com>
> Date: Fri, 11 Sep 2020 17:36:24 +0200
> Cc: rpluim@gmail.com, spacibba@aol.com, caiohcs0@gmail.com,
> emacs-devel@gnu.org, rekado@elephly.net, ghe@sdf.org, drew.adams@oracle.com
>
> "Other applications" mostly don't support buffers with no associated
> files, so we had to make a decision which of these two to use. Since
> those other applications force you to decide on exit whether to save
> your edits or not, we decided it was more like what Emacs does with
> buffers that do visit files.
>
> Don't they? As far as I can remember, Libreoffice does, MS office does, Notepad does...
>
> They call it "new document" rather than "new file" for this reason, I guess.
And ask you where to save it when you exit. That's what Emacs does
with file-visiting buffers.
Yes but if you don't want to save it, you can just click discard and never input a path. With the current setting you need to choose a path before you can write text.
> Maybe this button could be bound to a function creating a new buffer with a name like *unnamed[-n]*, and
> also mark these buffers for query for save on exit?
AFAIR, that was considered. Maybe you want to read those old
discussions.
Right, I will. :) No need to run in circles.