From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org, Mathias Dahl <brakjoller@gmail.com>
Subject: Re: Exit hooks not run at logout on w32
Date: Tue, 04 Jul 2006 18:49:27 +0200 [thread overview]
Message-ID: <44AA9C17.3000903@student.lu.se> (raw)
In-Reply-To: <44AA2BB2.4090709@gnu.org>
Jason Rumney wrote:
> That was my same conclusion, based on reading the documentation of the
> actual system messages. But it is interesting that the advice above
> contradicts the advice in the documentation for WM_QUERYENDSESSION,
> which says you should NOT perform cleanup while processing that
> message, but save it for WM_ENDSESSION. I think the contradictions in
> Microsoft's documentation about shutdown are what is causing the
> confusion here. Lennart posted another contradiction, where in the
> documentation for InitiateSystemShutdown, there is advice that
> applications can delay shutdown if they have unsaved data if a
> particular flag is passed. But that advice is for users of
> InitiateSystemShutdown, not for recipients of the shutdown messages,
> so my opinion is that it is informing of worst case expectations for
> code that wants to shut the system down (assuming that not all
> applications will take the advice elsewhere - apparently some of
> Microsoft's own products do not).
Thanks for posting the links. I think we all can understand the
confusion now.
I tested some programs to see how they behaved at logoff:
- OpenOffice Writer: Asked to save.
- GIMP: Just throwed away the changes.
- MS Word: Asked.
- Notepad: Asked.
- Another commercial drawing package: Asked. Even got so upset that
I could not choose not to save during logoff.
- Thunderbird: Just throws away the changes.
- Inno Setup: Asked.
The GIMP w32 interface has several weaknesses unfortunately (it is a
good program otherwise). It diverges from the w32 standard on several
points. I guess that is because of lack of resources on the w32 side. So
I am not so surprised that it throws away the changes.
Thunderbird also diverges from the standard w32 interface. Even though
it has many good solutions it is sometimes just unnecessary clumsy in my
opinion. It is a rather new application and I hope it will mature. I
really like it despite that it is sometimes clumsy.
Now looking at the MS documentation again I guess that it reflects the
problem from two different standpoints: the operating system experts and
the user program user interface experts. From an operating system point
of view it makes sense to save data to temporary files or even just
throw away the changes sometimes. From a users view it seldoms makes sense.
I suggest that we do as most of the other programs do: Ask to save.
Perhaps there could be an option to save data and state temporary too. I
think however that it will be mostly confusing to the users.
next prev parent reply other threads:[~2006-07-04 16:49 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
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 [this message]
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=44AA9C17.3000903@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=brakjoller@gmail.com \
--cc=emacs-devel@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).