unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: emacs-pretest-bug@gnu.org, Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Exit hooks not run at logout on w32
Date: Thu, 29 Jun 2006 18:16:13 +0200	[thread overview]
Message-ID: <44A3FCCD.4040203@student.lu.se> (raw)
In-Reply-To: <85lkrg3t3a.fsf@lola.goethe.zz>

David Kastrup wrote:
> Lennart Borgman <lennart.borgman.073@student.lu.se> 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.
>   
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.

This patch is only for w32 but I really hope the situation is better on 
other platforms. If not I would encourage change.

  reply	other threads:[~2006-06-29 16:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <44A005B7.2080904@student.lu.se>
     [not found] ` <44A01733.4010600@gnu.org>
     [not found]   ` <44A03B61.8080501@student.lu.se>
     [not found]     ` <ufyhrva9u.fsf@jasonrumney.net>
     [not found]       ` <44A2B99B.1020002@student.lu.se>
     [not found]         ` <44A2F974.7040609@gnu.org>
     [not found]           ` <44A31C19.5050000@student.lu.se>
     [not found]             ` <44A3A2DE.4040507@gnu.org>
2006-06-29 14:52               ` Exit hooks not run at logout on w32 Lennart Borgman
2006-06-29 15:00                 ` David Kastrup
2006-06-29 16:16                   ` Lennart Borgman [this message]
2006-06-29 21:40                     ` Mathias Dahl
2006-06-29 22:42                       ` Lennart Borgman
2006-07-04  6:55                         ` Lennart Borgman
2006-07-04  8:13                           ` Jason Rumney
2006-07-05 15:36                             ` Stuart D. Herring
2006-07-04  8:36                           ` Mathias Dahl
2006-07-04  8:49                             ` Jason Rumney
2006-07-04 16:49                               ` Lennart Borgman
2006-07-04  9:24                             ` Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44A3FCCD.4040203@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).