From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dhruva Krishnamurthy Newsgroups: gmane.emacs.devel Subject: Re: Bug in x-server-version (w32) Date: Fri, 29 Oct 2004 14:04:30 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <68c73b1a0410290134189ea04@mail.gmail.com> References: <4181ED95.2000908@swipnet.se> Reply-To: Dhruva Krishnamurthy NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099038965 6011 80.91.229.6 (29 Oct 2004 08:36:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2004 08:36:05 +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 10:35:55 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 1CNSEl-0004jM-00 for ; Fri, 29 Oct 2004 10:35:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNSMb-0006ea-Cs for ged-emacs-devel@m.gmane.org; Fri, 29 Oct 2004 04:44:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNSLq-0006Ph-LU for emacs-devel@gnu.org; Fri, 29 Oct 2004 04:43:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNSLp-0006PI-U2 for emacs-devel@gnu.org; Fri, 29 Oct 2004 04:43:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNSLp-0006PF-Pm for emacs-devel@gnu.org; Fri, 29 Oct 2004 04:43:13 -0400 Original-Received: from [64.233.184.205] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNSDU-0006CM-UK for emacs-devel@gnu.org; Fri, 29 Oct 2004 04:34:37 -0400 Original-Received: by wproxy.gmail.com with SMTP id 67so673499wri for ; Fri, 29 Oct 2004 01:34:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=sMX7qJ2L3PAW8W8KyFzsNvj5pvRb66f6UqIo3x+1MbIwvXbKUUZRpWU/2avMBEnxcIRBhaaBVnO6d85euqSK6/nyuyOBSEdKBY0JmfyUH1GWywFzC61nc+EzYkc+4r3xZbtWH2a113fB4IxJh2MDPPKboXzDVJjlF0X04CmEvNY= Original-Received: by 10.38.152.73 with SMTP id z73mr1753120rnd; Fri, 29 Oct 2004 01:34:30 -0700 (PDT) Original-Received: by 10.38.102.20 with HTTP; Fri, 29 Oct 2004 01:34:30 -0700 (PDT) Original-To: "Jan D." In-Reply-To: <4181ED95.2000908@swipnet.se> 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:29136 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29136 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. -dhruva -- Proud FSF member: #1935 http://schemer.fateback.com/