From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Simple elisp problem with equal Date: Wed, 27 Apr 2005 10:28:50 +0200 Message-ID: References: <20050426233542.42762.qmail@web52902.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114592050 10439 80.91.229.2 (27 Apr 2005 08:54:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2005 08:54:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 27 10:54:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQiI8-0007eI-OZ for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Apr 2005 10:53:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQiO1-0001Fa-L0 for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Apr 2005 04:59:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQi74-0004T5-2T for help-gnu-emacs@gnu.org; Wed, 27 Apr 2005 04:41:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQhxM-0004BN-58 for help-gnu-emacs@gnu.org; Wed, 27 Apr 2005 04:32:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQhxF-00049H-Vr for help-gnu-emacs@gnu.org; Wed, 27 Apr 2005 04:31:35 -0400 Original-Received: from [217.72.192.209] (helo=smtp05.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DQhyQ-0004mo-N1 for help-gnu-emacs@gnu.org; Wed, 27 Apr 2005 04:32:46 -0400 Original-Received: from [84.245.189.186] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #275) id 1DQhue-0004v6-00; Wed, 27 Apr 2005 10:28:52 +0200 In-Reply-To: <20050426233542.42762.qmail@web52902.mail.yahoo.com> Original-To: exits funnel X-Mailer: Apple Mail (2.622) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26082 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26082 Am 27.04.2005 um 01:35 schrieb exits funnel: > (equal system-type "gnu/linux") > Since system-type is a symbol, I think its correct use is something like that: (string= (symbol-name system-type) "gnu/linux") I don't know how commutative Elisp is (commutative means that (1+2) is the same as (2+1)), I've mostly seen statements like that: (string= "gnu/linux" (symbol-name system-type)) -- Greetings Pete "There's no place like 127.0.0.1" origin unknown