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: DOC for Mac OS shown for Emacs compiled for X. Date: Thu, 28 Oct 2004 15:16:41 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <9B87FAA8-28E3-11D9-919E-000D93505B76@swipnet.se> References: <417F65AE.80000@swipnet.se> 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 1098969537 26784 80.91.229.6 (28 Oct 2004 13:18:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2004 13:18:57 +0000 (UTC) Cc: emacs devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 28 15:18:43 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 1CNAAs-0006L8-00 for ; Thu, 28 Oct 2004 15:18:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNAIf-0005O0-Sp for ged-emacs-devel@m.gmane.org; Thu, 28 Oct 2004 09:26:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNAIL-0005KV-OC for emacs-devel@gnu.org; Thu, 28 Oct 2004 09:26:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNAIK-0005JV-Ap for emacs-devel@gnu.org; Thu, 28 Oct 2004 09:26:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNAIJ-0005Ih-OF for emacs-devel@gnu.org; Thu, 28 Oct 2004 09:26:23 -0400 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNA9w-00035V-OS for emacs-devel@gnu.org; Thu, 28 Oct 2004 09:17:45 -0400 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep01.bredband.com with ESMTP id <20041028131738.MPHD4883.mxfep01.bredband.com@coolsville.localdomain>; Thu, 28 Oct 2004 15:17:38 +0200 In-Reply-To: Original-To: Andreas Schwab 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:29110 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29110 > "Jan D." writes: > >> What does that mean exactly? Should I be able to take a DOC produced >> on a Mac and use it on GNU/Linux or W32? > > Yes. That's why it is installed below $datadir. Okay, then there is trouble, because that does not work today. If I compile and run an X, non-carbon, version of Emacs on Mac OSX, I get the DOC entry for x-server-vendor that says it returns "Apple" (in fact, "Apple Computers" is returned for carbon). But for an X version the return value is "The XFree86 Project, Inc". The w32 DOC entry says x-server-vendor returns "Microsoft", but that entry is not even in a DOC file produced when building on Mac OSX, so I don't understand how such a DOC file can be used on w32. Should the w32 files also be in SOME_MACHINE_OBJECTS? I guess a table of what object files where used to link the binary could be generated and from that Emacs could find the correct DOC entry (and the correct C file, C-h f x-server-vendor and clicking on "C source code" always gives xfns.c, should be macfns.c for a carbon build). Jan D.