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: Sat, 30 Oct 2004 07:43:02 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <90659DCD-2A36-11D9-9E5D-000D93505B76@swipnet.se> References: <20041029080140.SPWE44.mxfep02.bredband.com@coolsville.localdomain> 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 1099115091 22919 80.91.229.6 (30 Oct 2004 05:44:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Oct 2004 05:44:51 +0000 (UTC) Cc: Andreas Schwab , emacs devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 30 07:44:40 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 1CNm2Z-0005ox-00 for ; Sat, 30 Oct 2004 07:44:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNmAS-0003KO-I2 for ged-emacs-devel@m.gmane.org; Sat, 30 Oct 2004 01:52:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNmAG-0003HC-G4 for emacs-devel@gnu.org; Sat, 30 Oct 2004 01:52:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNmAF-0003GY-1c for emacs-devel@gnu.org; Sat, 30 Oct 2004 01:52:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNmAE-0003GR-U0 for emacs-devel@gnu.org; Sat, 30 Oct 2004 01:52:34 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNm1i-0002Ng-73 for emacs-devel@gnu.org; Sat, 30 Oct 2004 01:43:46 -0400 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep02.bredband.com with ESMTP id <20041030054345.BUCS44.mxfep02.bredband.com@coolsville.localdomain>; Sat, 30 Oct 2004 07:43:45 +0200 In-Reply-To: Original-To: Stefan 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:29165 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29165 2004-10-29 kl. 23.48 skrev Stefan: >> That is also possible, and seems to be what the previous discussion >> indicated. More work though. > > But better result. I disagree, if I run Emacs on X I don't want to wade through lines of documentation that applies for W32/msdos/OSX. > >> And it does not solve the error that doing C-h f x-server-vendor and >> clicking on the "C source code" link gives xfns.c when it should give >> macfns.c. I think a list of what files where used in the link is the >> only >> way to solve this. For a build on Mac OSX xfns.c or macfns.c could be >> used, depending on if it was an X build or Carbon build. > > I'd just move all those DEFUNs to a shared file. If necessary the > body of > those DEFUNs can just be a call to some function that's either in > macfns.c > or xfns.c, tho ideally some actual code should be shared. I don't think adding two maintainence tasks (keeping doc-strings in sync and making sure all shared functions go into the shared file) we have to keep doing forever is better than solving it once and for all. And if the real function is in another file the benefit of clicking on "C source code" is reduced. Jan D.