From unknown Sun Aug 10 02:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13531: 24.2.92; Normally closed Emacs leaves autosave files Resent-From: Michael Heerdegen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Jan 2013 07:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13531 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13531@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: michael_heerdegen@web.de Received: via spool by submit@debbugs.gnu.org id=B.135892520726924 (code B ref -1); Wed, 23 Jan 2013 07:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jan 2013 07:13:27 +0000 Received: from localhost ([127.0.0.1]:45506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TxuWS-000704-TU for submit@debbugs.gnu.org; Wed, 23 Jan 2013 02:13:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60432) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TxuWQ-0006zv-Kw for submit@debbugs.gnu.org; Wed, 23 Jan 2013 02:13:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxuVE-00076o-42 for submit@debbugs.gnu.org; Wed, 23 Jan 2013 02:12:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:49108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxuVE-00076j-1I for submit@debbugs.gnu.org; Wed, 23 Jan 2013 02:12:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxuVB-0005v1-E6 for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 02:12:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxuVA-00075C-76 for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 02:12:05 -0500 Received: from mout.web.de ([212.227.15.3]:54508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxuV9-00074v-Tq for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 02:12:04 -0500 Received: from drachen.dragon ([89.204.138.196]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MFcTl-1TjNl526D7-00ElF8 for ; Wed, 23 Jan 2013 08:12:00 +0100 From: Michael Heerdegen Date: Wed, 23 Jan 2013 08:13:09 +0100 Message-ID: <87r4lcv0ca.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V02:K0:UwIWU1tyNLHYJXxV1HGGU+zVmIfzo0qHEIEUollXqn5 iGDAD7ekymBmWc5Q284Wzm0jwhMGqdwqJBi191ypq7VyMsgK7z Qsef78vYyMqCxd20AscBvjL6bsd0jJRXijwgQelnS6pzIJ04I7 Q7kc9HmprtTjcAkmrFbwP0+6Ea3Fz9K4N6yiudBf9iR5jS2d8U K4zIa112lu9rx2xAaK6AUuSEOI7eUAG98DTns5Yaxc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Hi, I mean this behavior: 0. Start emacs -Q 1. Find any file that is writable for you 2. Make some change 3. You've changed your mind. You type C-x C-c. Type n to negate the "Save file ..." question Type "yes" to answer the "Modified buffers exist; exit anyway?" question As a result, Emacs exits, but it leaves an autosave file. IMHO this shouldn't be the case, because the user decidedly wanted to discard his changes. Autosave files should only survive a session if Emacs crashed. With the current behavior, we only confuse users because they will think that the autosave files come from a crash, and will want to check if they have to recover anything. Thanks, Michael. In GNU Emacs 24.2.92.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2013-01-21 on drachen Bzr revision: schwab@linux-m68k.org-20130120225947-57ekte112o7cw53w Windowing system distributor `The X.Org Foundation', version 11.0.10707000 System Description: Debian GNU/Linux 7.0 (wheezy) Configured using: `configure '--prefix=/usr/local/built/'' From unknown Sun Aug 10 02:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13531: 24.2.92; Normally closed Emacs leaves autosave files Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Aug 2019 07:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13531 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Heerdegen Cc: 13531@debbugs.gnu.org Received: via spool by 13531-submit@debbugs.gnu.org id=B13531.15658546425495 (code B ref 13531); Thu, 15 Aug 2019 07:38:01 +0000 Received: (at 13531) by debbugs.gnu.org; 15 Aug 2019 07:37:22 +0000 Received: from localhost ([127.0.0.1]:50541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyAK2-0001QZ-Ky for submit@debbugs.gnu.org; Thu, 15 Aug 2019 03:37:22 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyAK1-0001QO-DM for 13531@debbugs.gnu.org; Thu, 15 Aug 2019 03:37:22 -0400 Received: from 24-104-73-23-ip-static.hfc.comcastbusiness.net ([24.104.73.23] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hyAJv-0000fW-Ih; Thu, 15 Aug 2019 09:37:18 +0200 From: Lars Ingebrigtsen References: <87r4lcv0ca.fsf@web.de> Date: Thu, 15 Aug 2019 00:37:12 -0700 In-Reply-To: <87r4lcv0ca.fsf@web.de> (Michael Heerdegen's message of "Wed, 23 Jan 2013 08:13:09 +0100") Message-ID: <87v9uyx4k7.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Michael Heerdegen writes: > I mean this behavior: > > 0. Start emacs -Q > 1. Find any file that is writable for you > 2. Make some change > 3. You've changed your mind. You type C-x C-c. > Type n to negate the "Save file ..." [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Michael Heerdegen writes: > I mean this behavior: > > 0. Start emacs -Q > 1. Find any file that is writable for you > 2. Make some change > 3. You've changed your mind. You type C-x C-c. > Type n to negate the "Save file ..." question > Type "yes" to answer the "Modified buffers exist; exit anyway?" > question > > As a result, Emacs exits, but it leaves an autosave file. IMHO this > shouldn't be the case, because the user decidedly wanted to discard his > changes. Autosave files should only survive a session if Emacs crashed. > > With the current behavior, we only confuse users because they will think > that the autosave files come from a crash, and will want to check if > they have to recover anything. It is perhaps somewhat confusing to auto-save files in this way (especially after the user has answered "no" to the "save file..." question), but I think on the whole that this behaviour is safer than just discarding the contents. Because we all answer stuff wrong once in a while, and not saving something you wanted to save after all is a bigger catastrophe than auto-saving a bit too much. So I don't think not auto-saving will be too popular, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 15 03:37:28 2019 Received: (at control) by debbugs.gnu.org; 15 Aug 2019 07:37:28 +0000 Received: from localhost ([127.0.0.1]:50544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyAK7-0001Qt-TM for submit@debbugs.gnu.org; Thu, 15 Aug 2019 03:37:28 -0400 Received: from quimby.gnus.org ([80.91.231.51]:37416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyAK6-0001Ql-NS for control@debbugs.gnu.org; Thu, 15 Aug 2019 03:37:26 -0400 Received: from 24-104-73-23-ip-static.hfc.comcastbusiness.net ([24.104.73.23] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hyAK3-0000fl-RP for control@debbugs.gnu.org; Thu, 15 Aug 2019 09:37:26 +0200 Date: Thu, 15 Aug 2019 00:37:21 -0700 Message-Id: <87tvaix4jy.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13531 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 13531 wontfix close 13531 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 13531 wontfix close 13531 quit