[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r102057: Make all 3 copies of x-s

From: Glenn Morris
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
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]