all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: absurd
Date: Mon, 10 Jun 2013 22:55:52 +0200	[thread overview]
Message-ID: <87ip1l4rdz.fsf@Rainer.invalid> (raw)
In-Reply-To: 87k3m14s8r.fsf@mat.ucm.es

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

  reply	other threads:[~2013-06-10 20:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10 11:01 absurd (was: Xemacs 21.5.32 & org-8.03 almost) Uwe Brauer
2013-06-10 17:06 ` absurd Achim Gratz
2013-06-10 18:49   ` absurd Achim Gratz
2013-06-10 20:40     ` absurd Uwe Brauer
2013-06-10 20:50       ` absurd Achim Gratz
2013-06-10 20:59         ` absurd Uwe Brauer
2013-06-10 20:45     ` absurd Uwe Brauer
2013-06-10 20:37   ` absurd Uwe Brauer
2013-06-10 20:55     ` Achim Gratz [this message]
2013-06-10 21:26       ` absurd Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ip1l4rdz.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.