From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mathias Dahl" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Exit hooks not run at logout on w32 Date: Thu, 29 Jun 2006 23:40:39 +0200 Message-ID: <7dbe73ed0606291440r15b9f5pd1c7f35344d79c42@mail.gmail.com> References: <44A005B7.2080904@student.lu.se> <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> <85lkrg3t3a.fsf@lola.goethe.zz> <44A3FCCD.4040203@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151617322 15757 80.91.229.2 (29 Jun 2006 21:42:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2006 21:42:02 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Jason Rumney , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 29 23:42:00 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 1Fw4GO-0000sJ-97 for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2006 23:41:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fw4GN-0006k9-N1 for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2006 17:41:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fw4Ff-0006E0-Nk for emacs-devel@gnu.org; Thu, 29 Jun 2006 17:40:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fw4Fe-0006D5-5O for emacs-devel@gnu.org; Thu, 29 Jun 2006 17:40:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fw4Fd-0006Cp-KY for emacs-devel@gnu.org; Thu, 29 Jun 2006 17:40:41 -0400 Original-Received: from [64.233.182.191] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fw4SG-0008HN-M4 for emacs-devel@gnu.org; Thu, 29 Jun 2006 17:53:44 -0400 Original-Received: by nf-out-0910.google.com with SMTP id d4so122461nfe for ; Thu, 29 Jun 2006 14:40:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jphk4o7Af5+i8aVZ+mUFQ3BivXZX7A0wY2xkrfPQiB7DzMYpslsDQDdW2rZGnSRNV3CRKHlmvtemtoZEE6P/Fruvc15zCelBGq2PzVa1NCQH9Xkkn27maoOcu6q7xbgo3N4Na1DOo/ir0rov3oZoHEtRCdKBGW1BM6YyTSYYdaU= Original-Received: by 10.48.43.20 with SMTP id q20mr53936nfq; Thu, 29 Jun 2006 14:40:39 -0700 (PDT) Original-Received: by 10.48.248.13 with HTTP; Thu, 29 Jun 2006 14:40:39 -0700 (PDT) Original-To: "Lennart Borgman" In-Reply-To: <44A3FCCD.4040203@student.lu.se> Content-Disposition: inline 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:56307 gmane.emacs.pretest.bugs:12695 Archived-At: > I think this must be a misunderstanding. No one is talking about saving > changes without the user saying so. The purpose of the patch is that > Emacs should be able to ask the user at logooff/shutdown to save the > changes. The situation now is that the changes are thrown away if they > are not saved before. If Microsoft's guide lines are what someone stated here, maybe the reason for them is that the shutdown process is considered to have higher priority than a user's unsaved data? If that is the case, halting that process maybe isn't such a good idea. Someone said that the autosave is enough and I agree. Your argument against it, that someone might edit the file from some other program before using the auto save data, does not seem like a very likely scenario. Or is it?