From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13531: 24.2.92; Normally closed Emacs leaves autosave files Date: Thu, 15 Aug 2019 00:37:12 -0700 Message-ID: <87v9uyx4k7.fsf@mouse.gnus.org> References: <87r4lcv0ca.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="221809"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 13531@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 15 09:38:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1hyAKp-000vWq-Ja for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 09:38:11 +0200 Original-Received: from localhost ([::1]:39090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyAKo-000706-0N for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2019 03:38:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58720) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyAKh-0006zd-Es for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 03:38:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyAKg-0004fx-9m for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 03:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyAKg-0004fs-6m for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 03:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyAKg-0001Rs-1T for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2019 03:38:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 13531-submit@debbugs.gnu.org id=B13531.15658546425495 (code B ref 13531); Thu, 15 Aug 2019 07:38:01 +0000 Original-Received: (at 13531) by debbugs.gnu.org; 15 Aug 2019 07:37:22 +0000 Original-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 Original-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 Original-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 In-Reply-To: <87r4lcv0ca.fsf@web.de> (Michael Heerdegen's message of "Wed, 23 Jan 2013 08:13:09 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165064 Archived-At: 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