From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Is it planned to remove xemacs compatibility code? Date: Tue, 26 Oct 2004 14:24:23 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098815152 27931 80.91.229.6 (26 Oct 2004 18:25:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2004 18:25:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 26 20:25:38 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 1CMW0o-0007Ri-00 for ; Tue, 26 Oct 2004 20:25:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMW8V-0006La-UP for ged-emacs-devel@m.gmane.org; Tue, 26 Oct 2004 14:33:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMW7V-0005oi-AK for emacs-devel@gnu.org; Tue, 26 Oct 2004 14:32:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMW7U-0005o5-If for emacs-devel@gnu.org; Tue, 26 Oct 2004 14:32:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMW7U-0005ny-E5 for emacs-devel@gnu.org; Tue, 26 Oct 2004 14:32:32 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMVzd-0002OL-FG for emacs-devel@gnu.org; Tue, 26 Oct 2004 14:24:25 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 4072C8282BA; Tue, 26 Oct 2004 14:24:25 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 4482B4AC076; Tue, 26 Oct 2004 14:24:24 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 176438CA23; Tue, 26 Oct 2004 14:24:24 -0400 (EDT) Original-To: CHENG Gao In-Reply-To: (CHENG Gao's message of "Wed, 27 Oct 2004 00:26:26 +0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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:28987 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28987 > Around Emacs code, I find many Xemacs compatibility code as > (cond ((featurep 'xemacs) blah ...) > (if (featurep 'xemacs) blah ...) Those files are typically also distributed separately from Emacs for older Emacsen or for XEmacs, so it is better to keep this code so as to minimize the difference between the version bundled with Emacs and the other version: any difference tends to lead to problems keeping the files in sync. Note that (featurep 'xemacs) is replaced by nil by the byte-compiler. Stefan