From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Strozzi, David J." Newsgroups: gmane.emacs.bugs Subject: bug#23483: 24.5; cygwin emacs w32 doesn not ask to save files when windows shuts down Date: Fri, 13 May 2016 16:22:43 +0000 Message-ID: References: <83a8k0e6l3.fsf@gnu.org> <83y47hc1r9.fsf@gnu.org> <86773dca-93da-e643-74df-a80cafcbf716@cornell.edu> <83shxn9pv7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463156607 3576 80.91.229.3 (13 May 2016 16:23:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 May 2016 16:23:27 +0000 (UTC) Cc: "23483-done@debbugs.gnu.org" <23483-done@debbugs.gnu.org> To: Ken Brown , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 13 18:23:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b1Frv-0006Af-Tw for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2016 18:23:16 +0200 Original-Received: from localhost ([::1]:35182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1Frs-000469-2j for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2016 12:23:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1Frn-00044T-Ix for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 12:23:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1Fri-0003Ld-Fz for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 12:23:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1Fri-0003LZ-Cr for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 12:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b1Fri-00079K-9Q for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 12:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Strozzi, David J." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 May 2016 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23483 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23483-done@debbugs.gnu.org id=D23483.146315657327445 (code D ref 23483); Fri, 13 May 2016 16:23:02 +0000 Original-Received: (at 23483-done) by debbugs.gnu.org; 13 May 2016 16:22:53 +0000 Original-Received: from localhost ([127.0.0.1]:50148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1FrY-00078b-PV for submit@debbugs.gnu.org; Fri, 13 May 2016 12:22:53 -0400 Original-Received: from prdiron-1.llnl.gov ([128.15.143.171]:55327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1FrX-00078I-0y for 23483-done@debbugs.gnu.org; Fri, 13 May 2016 12:22:51 -0400 X-Attachments: Original-Received: from prdexhub-01-snat.llnl.gov (HELO PRDEXHUB-01.the-lab.llnl.gov) ([128.15.143.213]) by prdiron-1.llnl.gov with ESMTP; 13 May 2016 09:22:44 -0700 Original-Received: from PRDEXMBX-01.the-lab.llnl.gov ([169.254.1.49]) by PRDEXHUB-01.the-lab.llnl.gov ([128.15.143.150]) with mapi id 14.03.0279.002; Fri, 13 May 2016 09:22:44 -0700 Thread-Topic: bug#23483: 24.5; cygwin emacs w32 doesn not ask to save files when windows shuts down Thread-Index: AQHRqs8DvUJmerh/90ex5TTIJKtDlp+yXYvDgANuwwD//7yqFYAAqAsAgADgGgA= In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.252.171.18] 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: 208.118.235.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:118206 Archived-At: Hi folks, Thanks for addressing this! The usual behavior of windows programs on rest= art or shutdown is to ask the user to save unsaved files, rather than savin= g them silently. The current patch to save automatically is better than lo= sing data, but prompting the user I think would be the best thing. Or even= having emacs abort the shutdown and give a message like "emacs cancelled s= hutdown due to unsaved files." Dave -----Original Message----- From: Ken Brown [mailto:kbrown@cornell.edu]=20 Sent: Thursday, May 12, 2016 12:58 PM To: Eli Zaretskii Cc: Strozzi, David J.; 23483-done@debbugs.gnu.org Subject: Re: bug#23483: 24.5; cygwin emacs w32 doesn not ask to save files = when windows shuts down On 5/12/2016 12:56 PM, Eli Zaretskii wrote: > Did you try this when some of the buffers have unsaved changes? I'm=20 > thinking about questions Emacs might ask then. Yes, I tried it. Emacs just auto-saved the changed buffers with no questio= ns asked. > If that is not a problem, feel free to commit to master. Done as git commit 6435f41. Thanks for your help, Eli. Closing. Ken