GNU bug report logs - #70326
30.0.50; Backup Files documentation does not match observed behaviour

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Markus Triska <triska@HIDDEN>; Keywords: notabug; dated Wed, 10 Apr 2024 18:11:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 70326 <at> debbugs.gnu.org:


Received: (at 70326) by debbugs.gnu.org; 10 Apr 2024 18:54:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 14:54:23 2024
Received: from localhost ([127.0.0.1]:54381 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rud5R-0003Am-AK
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:54:23 -0400
Received: from [78.47.144.35] (port=60314 helo=metalevel.at)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <triska@HIDDEN>) id 1rud5A-00035I-3z
 for 70326 <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:54:15 -0400
Received: by metalevel.at (Postfix, from userid 1000)
 id EFE279C76F; Wed, 10 Apr 2024 20:53:53 +0200 (CEST)
From: Markus Triska <triska@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#70326: 30.0.50;
 Backup Files documentation does not match observed behaviour
References: <m2frvtf53e.fsf@HIDDEN> <86h6g9ul5s.fsf@HIDDEN>
Date: Wed, 10 Apr 2024 20:53:53 +0200
In-Reply-To: <86h6g9ul5s.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 10 Apr
 2024 21:28:47 +0300")
Message-ID: <87ttk9ujzy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > "C-x C-w" is not
 "saving
 the file from a buffer". "C-h c" says that > "C-x C-w runs the command
 write-file".
 So I don't see anything wrong > with what the manual says. 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 SPF_NONE               SPF: sender does not publish an SPF Record
 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
X-Debbugs-Envelope-To: 70326
Cc: 70326 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

> "C-x C-w" is not "saving the file from a buffer".  "C-h c" says that
> "C-x C-w runs the command write-file".  So I don't see anything wrong
> with what the manual says.

To reproduce the issue, you can also type a letter and then use C-x C-s
(i.e., save-buffer), and observe the same effect: A backup file is not
created, even though a file is saved for the first time from a buffer.

All the best,
Markus




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70326; Package emacs. Full text available.
Added tag(s) notabug. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 70326 <at> debbugs.gnu.org:


Received: (at 70326) by debbugs.gnu.org; 10 Apr 2024 18:29:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 14:29:10 2024
Received: from localhost ([127.0.0.1]:54374 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruch3-0005ak-OH
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:29:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58488)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1ruch0-0005Z3-C3; Wed, 10 Apr 2024 14:29:08 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rucgl-0000Hy-Er; Wed, 10 Apr 2024 14:28:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=hFttxS97sGqMICVu9ZQTulSlKVyOPY+fLw0KiE0hXao=; b=pEI9s+FDJcNn
 capWJdKhkmJtC//j6JmlarKTg7qVkm7mG1qhNSwSds74zMfMKwUdfjRxxFYteHqwvrzap4F6+cnwR
 +Ad6wedkLD2ALSH7mjb00NRTA3AqJ1YKV740ClM8Ny6JWo03aF8NFskpM0qgMORA2VpCyMukqPjwI
 nPw9BLu3UiwliH+CDd7kR5Dj6D1+E3xa/GsDZaj3TIPF7JMNmhxF4Qpjq7aszjkqE74ERxoeqzzH9
 7wTPOhniOImVQg/cdwW4sf5hfDtcUi3oVFgJ9hbD8goBvPlGePZtgWjX8uVvzJFInO1yDHT8LjDdO
 8c0WLIO0URo5pK8maE/J3A==;
Date: Wed, 10 Apr 2024 21:28:47 +0300
Message-Id: <86h6g9ul5s.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Markus Triska <triska@HIDDEN>
In-Reply-To: <m2frvtf53e.fsf@HIDDEN> (message from Markus Triska on Wed, 
 10 Apr 2024 20:24:53 +0200)
Subject: Re: bug#70326: 30.0.50;
 Backup Files documentation does not match observed behaviour
References: <m2frvtf53e.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70326
Cc: 70326 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 70326 notabug
thanks

> From: Markus Triska <triska@HIDDEN>
> Date: Wed, 10 Apr 2024 20:24:53 +0200
> 
> In 19.3.2 Backup Files, we read:
> 
>    "Emacs makes a backup for a file only the first time the file is saved
>     from a buffer."
> 
> However, when I launch Emacs with:
> 
>     $ emacs -Q
> 
> and then do:
> 
>     C-x C-w backup.txt RET

"C-x C-w" is not "saving the file from a buffer".  "C-h c" says that
"C-x C-w runs the command write-file".  So I don't see anything wrong
with what the manual says.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70326; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Apr 2024 18:10:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 14:10:29 2024
Received: from localhost ([127.0.0.1]:54346 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rucOy-0002qA-Go
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:10:29 -0400
Received: from lists.gnu.org ([2001:470:142::17]:50724)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <triska@HIDDEN>) id 1rucOu-0002oM-BA
 for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:10:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <triska@HIDDEN>)
 id 1rucOf-0001Lo-VN
 for bug-gnu-emacs@HIDDEN; Wed, 10 Apr 2024 14:10:09 -0400
Received: from [78.47.144.35] (helo=metalevel.at)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <triska@HIDDEN>) id 1rucOd-0005wg-Ou
 for bug-gnu-emacs@HIDDEN; Wed, 10 Apr 2024 14:10:09 -0400
Received: from mts-Mac-mini.localdomain (localhost [127.0.0.1])
 by metalevel.at (Postfix) with ESMTP id 5A9D39C751
 for <bug-gnu-emacs@HIDDEN>; Wed, 10 Apr 2024 20:02:50 +0200 (CEST)
Received: by mts-Mac-mini.localdomain (Postfix, from userid 501)
 id 6A7762E71B08; Wed, 10 Apr 2024 20:24:53 +0200 (CEST)
From: Markus Triska <triska@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; Backup Files documentation does not match observed behaviour
Date: Wed, 10 Apr 2024 20:24:53 +0200
Message-ID: <m2frvtf53e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.47.144.35 (failed)
Received-SPF: none client-ip=78.47.144.35; envelope-from=triska@HIDDEN;
 helo=metalevel.at
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

In 19.3.2 Backup Files, we read:

   "Emacs makes a backup for a file only the first time the file is saved
    from a buffer."

However, when I launch Emacs with:

    $ emacs -Q

and then do:

    C-x C-w backup.txt RET

then the file is saved from the buffer as expected, and Emacs tells me:

    "Wrote .../backup.txt"

However, even though this is the first time the file is saved from a
buffer, no backup for a file is created, and buffer-backed-up is nil.

If possible, could you please consider rephrasing the documentation so
that it accurately describes the cases where a backup file is created,
or alternatively adapt the behaviour so that it matches the current
documentation?

Thank you and all the best,
Markus

In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin18.2.0, X toolkit,
 cairo version 1.17.6, Xaw scroll bars) of 2023-09-11 built on
 mac
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description:  Mac OS X 10.14.2




Acknowledgement sent to Markus Triska <triska@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#70326; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 10 Apr 2024 18:45:10 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.