From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.devel Subject: Re: Changes for emacs 28 Date: Fri, 11 Sep 2020 17:36:24 +0200 Message-ID: References: <20200910231420.kvqg6ohvxetpup5c.ref@Ergus> <20200910231420.kvqg6ohvxetpup5c@Ergus> <875z8lhz3p.fsf@gmail.com> <83tuw4hkad.fsf@gnu.org> <83tuw4flzy.fsf@gnu.org> <83h7s4fier.fsf@gnu.org> Reply-To: thibaut.verron@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004d4d3105af0b7346" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1436"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, rpluim@gmail.com, caiohcs0@gmail.com, emacs-devel@gnu.org, rekado@elephly.net, ghe@sdf.org, drew.adams@oracle.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 11 17:37:13 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGl6v-0000Ji-4X for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Sep 2020 17:37:13 +0200 Original-Received: from localhost ([::1]:33780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGl6u-0000c1-67 for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Sep 2020 11:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGl6P-0000Ab-8u for emacs-devel@gnu.org; Fri, 11 Sep 2020 11:36:41 -0400 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:43616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGl6N-0000Go-MD; Fri, 11 Sep 2020 11:36:40 -0400 Original-Received: by mail-wr1-x436.google.com with SMTP id k15so11904686wrn.10; Fri, 11 Sep 2020 08:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=2N+5MiXA0drjuH8QYC1BvkFQEnYME99ng0jgmN0Y8l8=; b=PIPSJ8jZJ74os04USfqwapdISl8BlGpSUxYS5daMfm+H2dwOnSeGXU88ACA5szDygD bI6NTz0yR8HvpSWy/efwbWGLmEYj9Ue6p2FLijXx89ENLwttGVRsSDjE/3NODfj0XIAM fIHednGabFUL1UWjNmoafnewBad3mCqAPYNjP2RvpjS6jZ9HtzQDkpf0+TkTg2ddGANP nb/ZU0Olg/TQYXhHmtUsQkag4f4pXckTwfcDGsVeY7ShVg+hjk+nO6jKNx++GLaupg08 TBGxCl08jbNjRBk+ORduFRuQED3bMm+IX6Vnalk0sG2V/gnmug46RgZV7bRKyN26Od22 PcWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=2N+5MiXA0drjuH8QYC1BvkFQEnYME99ng0jgmN0Y8l8=; b=j8SobeaxVrF1Ku8F4rN9Jd0sn6vQyvsSoEpueFS4LhewaMggTaHZexNZ5oLS7OpgUM oZclbHG/H/cnSxGC174UbOy6MlO3mBRPOZXntn825xdUNmT9V5PVUUUnk9AA589Y7qFt hHbA0r+YWwdPHLf9zTFNUyIEbTR6iYEsX3KVukVENBhZGSfjb/q5WvU/TcegJg0NP9RT a0lR0rU91Y5cDErag3RsF9dZZyOXdfp38BMNN1wpjPTEtwK1qstng/1kfoHbHSWnLRr8 Pi5+gXUcVONuf89Fo7+JWOW1yO/4siwrj+pw9PqHBt1jDQaiL1ks7z4MpZqW1tDAdehG /SYQ== X-Gm-Message-State: AOAM531FmPkPpZDCZhXltvahicKIkgnTxIp14S62u1aLcNlCBtYQ0wq6 jx0okEZTauGKlXRSaDhxzs76+hcpSV7DGN6s5Tit1blAusAKAg== X-Google-Smtp-Source: ABdhPJxjNbpB97DRz2y+z8YGErdxSuK4T0KkvK9hbicf7xvlbGx9etCXniWaU/fXkpaItw+HkbGHGxs3hVUu+Szid2g= X-Received: by 2002:adf:f106:: with SMTP id r6mr2682287wro.106.1599838597497; Fri, 11 Sep 2020 08:36:37 -0700 (PDT) In-Reply-To: <83h7s4fier.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=thibaut.verron@gmail.com; helo=mail-wr1-x436.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:255206 Archived-At: --0000000000004d4d3105af0b7346 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le ven. 11 sept. 2020 =C3=A0 17:21, Eli Zaretskii a =C3=A9cr= it : > > 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 switchin= g > 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? > --0000000000004d4d3105af0b7346 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Le ven. 11 sept. 2020 =C3=A0 17:21, Eli= Zaretskii <eliz@gnu.org> a =C3=A9crit=C2=A0:
> From: Thibaut Verron <thibaut.verro= n@gmail.com>
> Date: Fri, 11 Sep 2020 17:16:33 +0200
> Cc: Robert Pluim <rpluim@gmail.com>, spaci= bba@aol.com, caiohcs0@gmail.com,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0emacs-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 ass= ociated
files, so we had to make a decision which of these two to use.=C2=A0 Since<= br> 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...=C2=A0

They call it "new document" rather than &quo= t;new file" for this reason, I guess.=C2=A0
Maybe this button could be bound to a function cre= ating a new buffer with a name like *unnamed[-n]*, and also mark these buff= ers for query for save on exit?=C2=A0
--0000000000004d4d3105af0b7346--