Lennart Borgman <[EMAIL PROTECTED]> writes:

> Lennart Borgman wrote:

> I have already sent a patch for this, but I have got no response on
> that. There is possibly disagreement on what to do, but something
> should be done and I do believe that the correct fix should make Emacs
> follow the guidelines on w32. Jason said he had read them. I asked for
> a link to them, but I have not seen it yet. Instead I provided the
> above snippet.

I found a document that hopefully will end this discussion:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shutdown/base/shutting_down.asp

IMHO, a relevant part from that page:

    Shutdown Notifications

    Applications with a window and message queue receive shutdown
    notifications through the WM_QUERYENDSESSION message. These
    applications should perform any required cleanup while processing
    this message and return TRUE to indicate that they can be
    terminated. 

    Applications should not block system shutdown unless it is
    absolutely necessary to prevent corrupting the system or media
    that is being burned. 

This section is especially interesting:

    Applications that have unsaved data ***could save the data to a
    temporary location and restore it the next time the application
    starts***...

So, I conclude that displaying a dialog box ("Do you want to save bla
bla?") would violate the "rules" above, wouldn't they?

/Mathias



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to