From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: DOC for Mac OS shown for Emacs compiled for X. Date: Thu, 28 Oct 2004 02:24:49 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <417F65AE.80000@swipnet.se> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1098944759 26274 80.91.229.6 (28 Oct 2004 06:25:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2004 06:25:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 28 08:25:56 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 1CN3jP-0003lE-00 for ; Thu, 28 Oct 2004 08:25:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CN3rC-0001p6-6z for ged-emacs-devel@m.gmane.org; Thu, 28 Oct 2004 02:33:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CN3r0-0001mx-Vo for emacs-devel@gnu.org; Thu, 28 Oct 2004 02:33:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CN3qz-0001mF-IE for emacs-devel@gnu.org; Thu, 28 Oct 2004 02:33:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CN3qz-0001lr-Cp for emacs-devel@gnu.org; Thu, 28 Oct 2004 02:33:45 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CN3j2-0002Lv-RS for emacs-devel@gnu.org; Thu, 28 Oct 2004 02:25:32 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CN3iL-0006xi-Ap; Thu, 28 Oct 2004 02:24:50 -0400 Original-To: "Jan D." In-reply-to: <417F65AE.80000@swipnet.se> (jan.h.d@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:29095 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29095 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 we make sure macfns.c has only functions and variables that appear also in xfns.c, then we can always omit macfns.o from SOME_MACHINE_OBJECTS. The doc strings that are really used would come from xfns.c, regardless of the platform. We could replace the doc strings in macfns.c with "This is a dummy--see xfns.c", so people won't waste time editing them. #1 is also a possible solution. It is more general, since it could handle other problems too. Maybe we should choose that.