From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: cc-vars.el Date: 24 Nov 2002 19:30:21 +0000 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200211180057.JAA24537@etlken.m17n.org> <5bbs4m8qz9.fsf@lister.roxen.com> <5bwun97ecw.fsf@lister.roxen.com> <20021119165749.GA27657@gnu.org> <5b65utkyqt.fsf@lister.roxen.com> <200211201358.gAKDwsG21304@rum.cs.yale.edu> <5xbs4kz1ox.fsf@kfs2.cua.dk> <200211201501.gAKF1Jo21597@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038166330 28519 80.91.224.249 (24 Nov 2002 19:32:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 24 Nov 2002 19:32:10 +0000 (UTC) Cc: storm@cua.dk (Kim F. Storm), Miles Bader , Martin Stjernholm , Kenichi Handa , rms@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18G2UC-0007Pq-00 for ; Sun, 24 Nov 2002 20:32:08 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18G2ZS-0002ZG-00 for ; Sun, 24 Nov 2002 20:37:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18G2TP-0007u4-00; Sun, 24 Nov 2002 14:31:19 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18G2Sx-0007jO-00 for emacs-devel@gnu.org; Sun, 24 Nov 2002 14:30:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18G2Sv-0007jD-00 for emacs-devel@gnu.org; Sun, 24 Nov 2002 14:30:50 -0500 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18G2St-0007ii-00; Sun, 24 Nov 2002 14:30:47 -0500 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 18G2ST-0007Oe-00; Sun, 24 Nov 2002 19:30:21 +0000 Original-To: "Stefan Monnier" Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9649 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9649 "Stefan Monnier" writes: > We don't want to encourage people to use brain dead tests like those. > There's already (featurep 'xemacs) for such things. > Maybe we should add to byte-opt.el the following snippet: I meant to say the same thing. I've long used an equivalent implementation which may have slightly coloured my impression of warnings, but it's not in what I'm currently running. I'd also note [not to Stefan] that you can always eliminate code at compile time if that's what you want: (disassemble (byte-compile (lambda () (if (eval-when-compile (and (fboundp 'fred) (featurep 'xemacs))) t))) (current-buffer)) => nil byte code: args: nil 0 constant nil 1 return