From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: Determining programatically whether the interpreter is Guile or Clisp or Emcs Date: Wed, 31 Jul 2013 14:48:35 +0800 Organization: HFG Message-ID: <1375253315.8252.61.camel@Renee-desktop.suse> References: <23837d79-03e3-4792-a4b7-e3a6c96ed390@email.android.com> <1375086985.8252.2.camel@Renee-desktop.suse> <66a9b4c8-96e9-421e-b74d-2eb48d26e603@email.android.com> <1375237660.8252.42.camel@Renee-desktop.suse> <1375248931.8252.59.camel@Renee-desktop.suse> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1375253653 10587 80.91.229.3 (31 Jul 2013 06:54:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Jul 2013 06:54:13 +0000 (UTC) Cc: guile-user@gnu.org To: =?UTF-8?Q?=E7=99=BD=E3=81=84=E7=86=8A?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jul 31 08:54:15 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 1V4QIX-0003uB-Ob for guile-user@m.gmane.org; Wed, 31 Jul 2013 08:54:13 +0200 Original-Received: from localhost ([::1]:45167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4QIX-0004kY-8i for guile-user@m.gmane.org; Wed, 31 Jul 2013 02:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4QII-0004jj-1I for guile-user@gnu.org; Wed, 31 Jul 2013 02:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4QDB-0004Zp-E1 for guile-user@gnu.org; Wed, 31 Jul 2013 02:48:51 -0400 Original-Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:45985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4QDB-0004ZS-6S for guile-user@gnu.org; Wed, 31 Jul 2013 02:48:41 -0400 Original-Received: by mail-pd0-f175.google.com with SMTP id 5so392206pdd.6 for ; Tue, 30 Jul 2013 23:48:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :organization:content-type:x-mailer:mime-version :content-transfer-encoding; bh=V27+mHBZf00DF5lQTVgTOx7t3lCugN+HZSCip5qeiPE=; b=q4xk6G/PYjP6i0XpRIsgOzBnGWjd3/Q8IKsZSjTIDeX9JMdeyG6vpPEzFd4gpSfHDS Jh6qeML40kQay5857Tee5P2CnHiAYwV4bb8cw5ww6Yog99tCa/yBY4dghA8esFz+68do YBWJ3YWowX6KTxP1TtNMBdaTi+wYk5U66f0qROqYYMl1bpk8+VCu9VlHA5EhHV73JBNb rusSN/LQmw+w3oGvckLAu/5E5BDbK+ceX49qPZiT9dPhUFnJKFjLxFs+xgBpzedDrfM6 7sBHOS5vv9ycU/eJW3JkUFvHd0PhS37I0d3Fha6qzpjPgeW0Kr1lqIa3KsfvN+TtvinN xXqw== X-Received: by 10.66.218.74 with SMTP id pe10mr71168779pac.177.1375253320374; Tue, 30 Jul 2013 23:48:40 -0700 (PDT) Original-Received: from [147.2.147.115] ([203.192.156.9]) by mx.google.com with ESMTPSA id tr10sm204715pbc.22.2013.07.30.23.48.37 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 30 Jul 2013 23:48:39 -0700 (PDT) In-Reply-To: X-Mailer: Evolution 3.4.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22f 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:10590 Archived-At: On Wed, 2013-07-31 at 10:28 +0400, 白い熊 wrote: > Nala Ginrut wrote: > >you may try: > >(with-output-to-string (lambda () (apropos "guile"))) > >you're so lucky that "with-output-to-string" appears in clisp, but I'm > >not familiar with elisp > > Very close I think, it exists in elisp too, however > (with-output-to-string (lambda () (apropos "clisp"))) > is true in guile and there is no way to test equality with "" using = > > So how do I determine the string is empty with lisp equivalent code? Can't use equal? because it doesn't exist in lisp... Guile has "string=", clisp has it too, I don't familiar with elisp (if you use elisp in Guile, you could call Guile's own procs too) > -- > 白い熊 >