From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: exits funnel Newsgroups: gmane.emacs.help Subject: Re: Simple elisp problem with equal Date: Wed, 27 Apr 2005 11:47:04 -0700 (PDT) Message-ID: <20050427184704.23638.qmail@web52908.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114627705 8174 80.91.229.2 (27 Apr 2005 18:48:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2005 18:48:25 +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 20:48:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQrYp-0005os-Uj for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Apr 2005 20:47:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQreo-00011o-5V for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Apr 2005 14:53:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQre4-0000tp-Ix for help-gnu-emacs@gnu.org; Wed, 27 Apr 2005 14:52:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQrdx-0000tJ-7e for help-gnu-emacs@gnu.org; Wed, 27 Apr 2005 14:52:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQrdv-0000e9-5p for help-gnu-emacs@gnu.org; Wed, 27 Apr 2005 14:52:15 -0400 Original-Received: from [206.190.39.185] (helo=web52908.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1DQrcg-0004AW-64 for help-gnu-emacs@gnu.org; Wed, 27 Apr 2005 14:50:58 -0400 Original-Received: (qmail 23640 invoked by uid 60001); 27 Apr 2005 18:47:04 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=2QGcCbJnh61jrZyhxQ0CI0+svTCj+jZqu6L4lCQxBMnhh8CzWQL4cZ5SlGAgaKs36zdcXZFHxfaBTjO3rJC89jcmpCOtn2xlMpwoNcjODh1xsswlALjrQ6019h+aXaFniGVVYMb6dKVLj+C1NTcggjJVzpFFkxAUNfStiQNnhgQ= ; Original-Received: from [204.249.220.103] by web52908.mail.yahoo.com via HTTP; Wed, 27 Apr 2005 11:47:04 PDT Original-To: Peter Dyballa In-Reply-To: 6667 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:26094 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26094 Many thanks to David, Peter, Ismael and Thien-Thi. One additional question: I'm still a little confused about the difference between 'foo and foo. I've read most or all of the stuff in the lisp manual about symbols. If anyone could provide a pointer to the relevent info section I'd really apprciate it. -exits --- Peter Dyballa wrote: > > 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 > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com