From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.sources,gmane.emacs.devel Subject: Re: Patch for Windows implementation of play-sound Date: Wed, 16 Oct 2002 18:34:08 +0200 Sender: gnu-emacs-sources-admin@gnu.org Message-ID: <20021016181608.CD18.LEKTU@terra.es> References: <000001c274c9$23d90970$6401a8c0@GODDESS> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1034984142 15916 80.91.224.249 (18 Oct 2002 23:35:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2002 23:35:42 +0000 (UTC) Cc: , Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182geZ-00048S-00 for ; Sat, 19 Oct 2002 01:35:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182gfD-0008Ip-00; Fri, 18 Oct 2002 19:36:19 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 182geC-00080f-00 for gnu-emacs-sources@gnu.org; Fri, 18 Oct 2002 19:35:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 182geA-00080M-00 for gnu-emacs-sources@gnu.org; Fri, 18 Oct 2002 19:35:15 -0400 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 182cJ2-0007ai-01; Fri, 18 Oct 2002 14:57:08 -0400 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by gnudist.gnu.org with esmtp (Exim 4.10) id 181r9k-0001SD-00; Wed, 16 Oct 2002 12:36:25 -0400 Original-Received: from [62.22.27.143] (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id g9GGY2C23224; Wed, 16 Oct 2002 18:34:08 +0200 Original-To: In-Reply-To: <000001c274c9$23d90970$6401a8c0@GODDESS> X-Mailer: Becky! ver. 2.05.06 Errors-To: gnu-emacs-sources-admin@gnu.org X-BeenThere: gnu-emacs-sources@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: GNU Emacs source code postings and patches List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.sources:194 gmane.emacs.devel:8570 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8570 On Wed, 16 Oct 2002 00:04:34 -0400, "Ben Key" wrote: > I have also tested this > patch with Microsoft Visual C++ 6.0 and MinGW 2.0 / MSys 1.08. Do you have a recent SDK from msdn.microsoft.com? The -DWINVER=0x0501 gives me about a gazillion of those: > NOTE: WINVER has been defined as 0x0500 or greater which enables > Windows NT 5.0 and Windows 98 features. When these headers were released, > Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions. > > For this release when WINVER is defined as 0x0500 or greater, you can only > build beta or test applications. To build a retail application, > set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk > to see if retail Windows NT 5.0 or Windows 98 headers are available. > > See the SDK release notes for more information. Also, is this bit from src/emacs.c intended, or did you cvs diff and accidentally got this reversed? > @@ -2302,13 +2302,11 @@ > doc: /* Non-nil means Emacs is running without interactive terminal. */); > > DEFVAR_LISP ("kill-emacs-hook", &Vkill_emacs_hook, > - doc: /* Hook to be run when kill-emacs is called. > -Since `kill-emacs' may be invoked when the terminal is disconnected (or > + doc: /* Hook to be run whenever kill-emacs is called. > +Since kill-emacs may be invoked when the terminal is disconnected (or > in other similar situations), functions placed on this hook should not > expect to be able to interact with the user. To ask for confirmation, > -see `kill-emacs-query-functions' instead. > - > -The hook is not run in batch mode, i.e., if `noninteractive' is non-nil. */); > +see `kill-emacs-query-functions' instead. */); > Vkill_emacs_hook = Qnil; > > empty_string = build_string (""); /L/e/k/t/u