From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?=D3scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs does not listen on w32 Date: Tue, 15 Apr 2008 02:03:05 +0200 Message-ID: References: <4800D965.9080202@gmail.com> <480208C8.3030401@gnu.org> <480212F7.7090409@gmail.com> <4802249D.2060909@gmail.com> <480271D2.7040304@gmail.com> <4802FD64.1080602@gmail.com> <48038487.3060201@gmail.com> <4803EE11.6050202@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208217822 15600 80.91.229.12 (15 Apr 2008 00:03:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2008 00:03:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 15 02:04:17 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JlYef-0001rk-AT for ged-emacs-devel@m.gmane.org; Tue, 15 Apr 2008 02:04:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlYe1-0002jH-7r for ged-emacs-devel@m.gmane.org; Mon, 14 Apr 2008 20:03:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JlYdx-0002i6-6v for emacs-devel@gnu.org; Mon, 14 Apr 2008 20:03:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JlYdw-0002gx-EV for emacs-devel@gnu.org; Mon, 14 Apr 2008 20:03:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlYdw-0002gm-Bf for emacs-devel@gnu.org; Mon, 14 Apr 2008 20:03:24 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JlYdv-0007hh-QM for emacs-devel@gnu.org; Mon, 14 Apr 2008 20:03:24 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JlYdn-0002uH-SD for emacs-devel@gnu.org; Tue, 15 Apr 2008 00:03:15 +0000 Original-Received: from 112.red-81-38-8.dynamicip.rima-tde.net ([81.38.8.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Apr 2008 00:03:15 +0000 Original-Received: from ofv by 112.red-81-38-8.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Apr 2008 00:03:15 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 112.red-81-38-8.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) Cancel-Lock: sha1:hJ1tqJUTOiLTTgPWDCeHtFM+EWE= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:95226 Archived-At: "Lennart Borgman (gmail)" writes: >> WM_CLOSE just indicates that a window or application *should* >> terminate. From the Windows POV, not obeying that message does not >> indicate a bug. It just means that the app decided that closing the >> window or application was not appropiate. >> >> [snip] > > Does not that depend on the situation? If Windows is shutting down > then I think the app should terminate When Windows shuts down, it sends the WM_ENDSESSION message with wParam set to TRUE. The application must do its terminatin stuff before returning from this message. > (or perhaps ask, but that is a bad choice according to what Jason > pointed out). That's what WM_QUERYENDSESSION. All this info comes from old SDK docs. Maybe it changed for Vista. -- Oscar