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: DOC for Mac OS shown for Emacs compiled for X. Date: Wed, 27 Oct 2004 11:09:02 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <417F65AE.80000@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098868210 18231 80.91.229.6 (27 Oct 2004 09:10:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2004 09:10:10 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 27 11:10:00 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 1CMjoe-0001U6-00 for ; Wed, 27 Oct 2004 11:10:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMjwN-0005LJ-Vn for ged-emacs-devel@m.gmane.org; Wed, 27 Oct 2004 05:18:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMjw7-0005LB-C0 for emacs-devel@gnu.org; Wed, 27 Oct 2004 05:17:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMjw3-0005Ks-Id for emacs-devel@gnu.org; Wed, 27 Oct 2004 05:17:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMjw3-0005Kp-BC for emacs-devel@gnu.org; Wed, 27 Oct 2004 05:17:39 -0400 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMjoI-0007UR-8Z for emacs-devel@gnu.org; Wed, 27 Oct 2004 05:09:38 -0400 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep01.bredband.com with ESMTP id <20041027090937.SJQ4883.mxfep01.bredband.com@coolsville.localdomain> for ; Wed, 27 Oct 2004 11:09:37 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040916 X-Accept-Language: en-us, en Original-To: emacs devel 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:29029 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29029 Hello. With an Emacs built for X I do C-h f x-server-vendor and get the MacOS help: ... Returns the vendor ID string of the Mac OS system (Apple). ... I should get the X version: ... Returns the vendor ID string of the X server of display DISPLAY. ... x-server-vendor is defined in xfns.c, macfns.c and w32fns.c. Both xfns.o and macfns.o are in SOME_MACHINE_OBJECTS in Makefile.in. SOME_MACHINE_OBJECTS is given to make-docfile as arguments. Thus, two versions for x-server-vendor ends up in DOC. I don't really know what is wrong here, there are several possibilities: 1. make-docfile should not read the .c file if the .o one does not exist. 2. Emacs is supposed to find the correct entry in DOC. 3. macfns.o should not be in SOME_MACHINE_OBJECTS when building for X. 4. Symbols that occur in several files (x, mac, w32) should have the same doc string. If someone can tell me which one is the preferred way to resolve this, I can do it. Thanks, Jan D.