From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: absurd Date: Mon, 10 Jun 2013 22:55:52 +0200 Message-ID: <87ip1l4rdz.fsf@Rainer.invalid> References: <87obbe8c1k.fsf@gilgamesch.quim.ucm.es> <87zjux51zo.fsf@Rainer.invalid> <87k3m14s8r.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um98L-00082P-7D for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 16:56:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Um98G-0001zn-Gh for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 16:56:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:46811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um98G-0001zI-AE for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 16:56:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Um98E-0008Fy-E2 for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 22:56:02 +0200 Received: from pd9eb322a.dip0.t-ipconnect.de ([217.235.50.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 22:56:02 +0200 Received: from Stromeko by pd9eb322a.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 22:56:02 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Uwe Brauer writes: > I don't understand: > > (defun my-test-if () > (interactive) > (if (featurep 'xemacs) > (message "Xemacs") > (message "GNUS"))) > > > when executed in Xemacs returns Xemacs, when executed in GNU emacs returns > GNUS. Yes, but the byte-compiler has to compile both branches, since the if is actually resolved at run-time. You'd need to use a compatibility macro to make that decision at compile-time and only use the XEmacs branch. That was once in Org, but later reverted by Bastien. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves