From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Bug in x-server-version (w32) Date: Fri, 29 Oct 2004 11:19:12 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <98943394-298B-11D9-8B5E-000D93505B76@swipnet.se> References: <4181ED95.2000908@swipnet.se> <68c73b1a0410290134189ea04@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099041643 13213 80.91.229.6 (29 Oct 2004 09:20:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2004 09:20:43 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 29 11:20:33 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CNSvw-0007n2-00 for ; Fri, 29 Oct 2004 11:20:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNT3m-0005LL-Er for ged-emacs-devel@m.gmane.org; Fri, 29 Oct 2004 05:28:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNT3X-0005LE-IE for emacs-devel@gnu.org; Fri, 29 Oct 2004 05:28:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNT3W-0005L2-E8 for emacs-devel@gnu.org; Fri, 29 Oct 2004 05:28:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNT3W-0005Kz-4P for emacs-devel@gnu.org; Fri, 29 Oct 2004 05:28:22 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNSv7-0004uB-R8; Fri, 29 Oct 2004 05:19:42 -0400 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep02.bredband.com with ESMTP id <20041029091940.TEXB44.mxfep02.bredband.com@coolsville.localdomain>; Fri, 29 Oct 2004 11:19:40 +0200 In-Reply-To: <68c73b1a0410290134189ea04@mail.gmail.com> Original-To: Dhruva Krishnamurthy X-Mailer: Apple Mail (2.619) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29137 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29137 > On Fri, 29 Oct 2004 09:13:25 +0200, Jan D. wrote: >> Richard Stallman wrote: >>> x-server-version is supposed to return the version numbers >>> of the X protocol, plus a version number for the X server. >>> I copied that info from the doc string in xfns.c to that >>> in w32fns.c. But I see the code doesn't do the right job. >>> It seems to return the version numbers of Windows rather than >>> that of the X protocol. >>> >>> Could someone fix that code? >> >> FWIW, the Mac OSX code for a carbon (non-X) build also returns the >> version of >> the OS. As there is no X server involved both for W32 and OSX, I >> don't know >> what a fix would be. >> > > Under a CYGWIN environment, there could be an X server running > (XFree86 port) on Windoze box. But wouldn't Emacs use xfns.c in the build, not w32fns.c, then? Jan D.