From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: *scratch* buffer documentation Date: Wed, 25 Dec 2019 16:55:40 +0200 Message-ID: <83lfr0v4ib.fsf@gnu.org> References: <69AD1F67-BA40-4342-996E-CAC6CC545E2A@traduction-libre.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="128269"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 25 15:56:25 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ik85G-000XAV-KF for ged-emacs-devel@m.gmane.org; Wed, 25 Dec 2019 15:56:22 +0100 Original-Received: from localhost ([::1]:47034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ik85F-0004tI-DJ for ged-emacs-devel@m.gmane.org; Wed, 25 Dec 2019 09:56:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ik84l-0004T5-9C for emacs-devel@gnu.org; Wed, 25 Dec 2019 09:55:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ik84k-0001sF-Jd; Wed, 25 Dec 2019 09:55:50 -0500 Original-Received: from [176.228.60.248] (port=2220 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ik84j-0003Yo-Qs; Wed, 25 Dec 2019 09:55:50 -0500 In-reply-to: <69AD1F67-BA40-4342-996E-CAC6CC545E2A@traduction-libre.org> (message from Jean-Christophe Helary on Wed, 25 Dec 2019 08:58:45 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243627 Archived-At: > From: Jean-Christophe Helary > Date: Wed, 25 Dec 2019 08:58:45 +0900 > > I am not seeing anything in the Emacs manual that says a modified *scratch* buffer does not trigger a "buffer modified. Kill anyway ?" message when quitting. This is a standard Emacs behavior with any buffer that doesn't visit a file, so I'm not sure why you expected to see anything special in this case. > > Isn't that manifestly implicit on the first line of *scratch* ? : > > > > ;; This buffer is for text that is not saved > > No, because it is possible to save the buffer to a file. Also, the value of this text can be changed, so there is no guarantee that the user sees it. Let's clarify the "is not saved" part of the text that is in the buffer, it's much more efficient than any documentation anywhere. If that text is changed, whoever changes it is expected to know what he or she is doing, so let's not argue about that use case. Thanks.