From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: `compare-strings' style question Date: Fri, 20 Nov 2009 07:53:01 +0100 Message-ID: <20091120065301.GB30194@tomas> References: <878we2kakq.fsf@lola.goethe.zz> <87einuij59.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258700490 31938 80.91.229.12 (20 Nov 2009 07:01:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 07:01:30 +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 08:01:23 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 1NBNUJ-0001kD-Nl for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 08:00:59 +0100 Original-Received: from localhost ([127.0.0.1]:44251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBNUJ-00043H-7e for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 02:00:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBNTj-00042n-9v for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 02:00:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBNTe-0003zb-4L for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 02:00:22 -0500 Original-Received: from [199.232.76.173] (port=33308 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBNTd-0003zY-TW for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 02:00:17 -0500 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:48696 helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBNTd-0003uw-6a for help-gnu-emacs@gnu.org; Fri, 20 Nov 2009 02:00:17 -0500 Original-Received: by www.elogos.de (Postfix, from userid 1000) id 5F94B9004D; Fri, 20 Nov 2009 07:53:01 +0100 (CET) Content-Disposition: inline In-Reply-To: <87einuij59.fsf@lola.goethe.zz> User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:69961 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Nov 19, 2009 at 05:17:22PM +0100, David Kastrup wrote: > tomas@tuxteam.de writes: [...] > > Thanks. Still looks a bit funna, though :-) ^^^ (small keyboard syndrome :) > In my opinion, t was the wrong choice for a match. nil would have been > much better because you can't use the result of compare-strings as a > condition. Yes. Nil, or zero, better mimicking C's strcmp. > But I suppose there is not much one can do now because of compatibility= . Right. Funny though: one of the things I did before whining on this list was to grep through all the Emacs-provided .el files (23.1.50.1), to get some idea about its usage and I got no hits. But one never knows about other users "out there". Thanks - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFLBjzNBcgs9XrR2kYRAinOAJ9Lut59ObFDJaFP+xOaxp7Qrm/OYwCfZ85B k4DGEewN2dkW9cbtq2qHt3Y=3D =3D+jN6 -----END PGP SIGNATURE-----