From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r102057: Make all 3 copies of x-select-enable-clipboard have the same doc. Date: Mon, 25 Oct 2010 00:56:56 -0400 Message-ID: References: <19651.37838.815906.240014@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1287982632 6855 80.91.229.12 (25 Oct 2010 04:57:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2010 04:57:12 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 25 06:57:10 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PAF7N-0002L1-Jw for ged-emacs-devel@m.gmane.org; Mon, 25 Oct 2010 06:57:09 +0200 Original-Received: from localhost ([127.0.0.1]:44177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAF7M-0006JQ-L7 for ged-emacs-devel@m.gmane.org; Mon, 25 Oct 2010 00:57:08 -0400 Original-Received: from [140.186.70.92] (port=35327 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAF7D-0006Ig-MA for emacs-devel@gnu.org; Mon, 25 Oct 2010 00:57:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAF7C-0002Zu-K6 for emacs-devel@gnu.org; Mon, 25 Oct 2010 00:56:59 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:35982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAF7C-0002Zq-F5 for emacs-devel@gnu.org; Mon, 25 Oct 2010 00:56:58 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PAF7A-0005IZ-Bd; Mon, 25 Oct 2010 00:56:56 -0400 X-Spook: espionage afsatcom SRI Vince Foster Perl-RSA Maple kilo X-Ran: 4`e53+X1;-\T#R"X"e2;j9d9en!0#F#99kynM(Q3fYEjMK1ScrGCh(kQ=;t+8q;pe]F$KJ X-Hue: cyan X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Sun\, 24 Oct 2010 20\:54\:27 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132077 Archived-At: Stefan Monnier wrote: > Fine by me, yes. I just want to get rid of the duplication. I find it weird that when faced with the issue "we need to define a function, eg x-display-list, on multiple platforms; it should have the same arguments, doc-string, and behaviour on each platform" that Emacs consistently chose to have three completely separate definitions in three separate files; rather than just having one with #ifdefs for each platform where needed. Does anyone know what the reason for this design choice was? Was it just that each port was developed independently by copying the X files and modifying them, and nobody ever merged them? Or is/was there some advantage to this duplication?