Le ven. 11 sept. 2020 à 17:21, Eli Zaretskii a écrit : > > From: Thibaut Verron > > Date: Fri, 11 Sep 2020 17:16:33 +0200 > > Cc: Robert Pluim , spacibba@aol.com, > caiohcs0@gmail.com, > > emacs-devel@gnu.org, rekado@elephly.net, ghe@sdf.org, > drew.adams@oracle.com > > > > Wouldn't File > New in most other applications be more akin to switching > to an empty buffer with no > > associated file? > > "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. 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? >