From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: Re: `compare-strings' style question Date: Fri, 20 Nov 2009 09:13:46 +0100 Message-ID: <87r5rtfwat.fsf@fh-trier.de> References: <878we2kakq.fsf@lola.goethe.zz> <87einuij59.fsf@lola.goethe.zz> <20091120070039.GC30194@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258705181 11613 80.91.229.12 (20 Nov 2009 08:19:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 08:19:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 09:19:34 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NBOh0-0004QX-12 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 09:18:10 +0100 Original-Received: from localhost ([127.0.0.1]:39884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBOgu-0006LX-B1 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 03:18:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBOgR-0006G1-Rs for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 03:17:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBOgN-00066P-DT for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 03:17:35 -0500 Original-Received: from [199.232.76.173] (port=47695 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBOgN-00066D-7I for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 03:17:31 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:43012) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBOgM-0007K6-R8 for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 03:17:30 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBOgM-0000rp-8X for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 03:17:30 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NBOfK-0003Ha-5f for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 09:16:26 +0100 Original-Received: from dslb-088-068-219-007.pools.arcor-ip.net ([88.68.219.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2009 09:16:26 +0100 Original-Received: from politza by dslb-088-068-219-007.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2009 09:16:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-088-068-219-007.pools.arcor-ip.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:sAjcW/Ftiuamj+fQEyahCy1heVg= X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:69966 Archived-At: tomas@tuxteam.de writes: > > Yes, that would be a similar problem as C, where zero's alter ego is > false. It still looks a bit funny to say > > if(!strcmp(foo, bar)) ... > > ...but at least, it's just a problem of name choice (more appropriate > would have been something along the lines of strdiff). > I don't know. It just follows the standard for compare functions in C, which is different from lisp predicates, as well as lisp compare functions. -ap