[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `compare-strings' style question
From: |
tomas |
Subject: |
Re: `compare-strings' style question |
Date: |
Fri, 20 Nov 2009 07:53:01 +0100 |
User-agent: |
Mutt/1.5.15+20070412 (2007-04-11) |
-----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ás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFLBjzNBcgs9XrR2kYRAinOAJ9Lut59ObFDJaFP+xOaxp7Qrm/OYwCfZ85B
k4DGEewN2dkW9cbtq2qHt3Y=
=+jN6
-----END PGP SIGNATURE-----
- Re: `compare-strings' style question, (continued)
Re: `compare-strings' style question, David Kastrup, 2009/11/19
Message not available
Re: `compare-strings' style question,
tomas <=