From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Exit hooks not run at logout on w32 Date: Thu, 29 Jun 2006 17:00:09 +0200 Message-ID: <85lkrg3t3a.fsf@lola.goethe.zz> References: <44A005B7.2080904@student.lu.se> <44A01733.4010600@gnu.org> <44A03B61.8080501@student.lu.se> <44A2B99B.1020002@student.lu.se> <44A2F974.7040609@gnu.org> <44A31C19.5050000@student.lu.se> <44A3A2DE.4040507@gnu.org> <44A3E918.5000304@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151593308 28075 80.91.229.2 (29 Jun 2006 15:01:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2006 15:01:48 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Emacs Devel , Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 29 17:01:42 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fvy1P-00041J-Mt for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2006 17:01:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fvy1N-0004VU-7G for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2006 11:01:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fvy1A-0004Uj-PS for emacs-devel@gnu.org; Thu, 29 Jun 2006 11:01:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fvy1A-0004UL-7i for emacs-devel@gnu.org; Thu, 29 Jun 2006 11:01:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fvy1A-0004UI-3Z; Thu, 29 Jun 2006 11:01:20 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FvyDi-0003G6-Oy; Thu, 29 Jun 2006 11:14:18 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Fvy0u-000488-9C; Thu, 29 Jun 2006 11:01:04 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id BBE121C4D3B9; Thu, 29 Jun 2006 17:00:09 +0200 (CEST) Original-To: Lennart Borgman In-Reply-To: <44A3E918.5000304@student.lu.se> (Lennart Borgman's message of "Thu, 29 Jun 2006 16:52:08 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56293 gmane.emacs.pretest.bugs:12692 Archived-At: Lennart Borgman writes: > Jason Rumney wrote: > >> As I said at the start of the thread, it would be correct for Emacs >> to flush its autosave buffers to disk at this point, but not to >> start asking all the questions that save-buffers-kill-emacs >> does. What if Emacs is on a secondary monitor, and the Graphics >> driver shuts it off when it receives the shutdown message? Emacs >> will be delaying shutdown waiting for a response, while the user >> cannot see it. > The problem with autosave is that data might be lost if the user > happens to use some other tool to edit the files afterwards. Tough. That's what "editing" means. I don't want changes saved without my saying so: that might end up the file in a terminally ill state, like when I cut out a large region for the purpose of pasting it somewhere else, and then Emacs shuts down. Recovering a session is good enough for me. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum