From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?55m944GE54aK?= Newsgroups: gmane.lisp.guile.user Subject: Determining programatically whether the interpreter is Guile or Clisp or Emcs Date: Mon, 29 Jul 2013 10:21:11 +0200 Message-ID: <23837d79-03e3-4792-a4b7-e3a6c96ed390@email.android.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375086121 5064 80.91.229.3 (29 Jul 2013 08:22:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2013 08:22:01 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jul 29 10:22:03 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V3iiQ-000897-WC for guile-user@m.gmane.org; Mon, 29 Jul 2013 10:22:03 +0200 Original-Received: from localhost ([::1]:36460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3iiQ-000143-I1 for guile-user@m.gmane.org; Mon, 29 Jul 2013 04:22:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3ii4-0000kS-K4 for guile-user@gnu.org; Mon, 29 Jul 2013 04:21:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3ihw-0003qt-1A for guile-user@gnu.org; Mon, 29 Jul 2013 04:21:40 -0400 Original-Received: from deleuze.hcoop.net ([69.90.123.67]:56561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3ihv-0003pg-Sc for guile-user@gnu.org; Mon, 29 Jul 2013 04:21:31 -0400 Original-Received: from 37-48-32-165.tmcz.cz ([37.48.32.165] helo=[10.176.149.143]) by deleuze.hcoop.net with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.63) (envelope-from ) id 1V3ihp-0004lJ-Lw for guile-user@gnu.org; Mon, 29 Jul 2013 04:21:26 -0400 User-Agent: K-9 Mail for Android X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 69.90.123.67 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10580 Archived-At: Hello: I'm developping a program which I'd like to be able to use without= modification with Guile as the interpreter as well as Emacs lisp and clisp= =2E So far, I was only programming for Emacs/Clisp, for this I used a ra= ther crude check of: (defun kx-emacsp () (not (functionp #'function= -lambda-expression))) This was enough, as function-lambda-expression is n= ot defined in elisp=2E I would like to program for Guile as the lowest de= nominator=2E What is the proper check I should define that would tell me = whether I'm currently interpreting the code in Guile, or Emacs, or Crisp= =2E Thank you very much for helping me=2E -- =E7=99=BD=E3=81=84=E7=86= =8A