Re: error in unless
- From: "Thomas F. Bur***" <tbur***@xxxxxxxxx>
- Date: Mon, 31 Mar 2008 03:35:50 -0700 (PDT)
On Mar 31, 12:16 pm, Gijs Hillenius <gijs.hillen...@xxxxxxxxx> wrote:
On 31 Mar 2008, Holger Schauer wrote:
Gnus is an Emacs application, so your query would be more on-topic in
gnu.emacs.help, but anyway:
I figured I'm having issues with my lisp, not gnus..
Apparently "No song playing" is not string-equal to "no song playing".
Hm. But I read that string-equal is supposed not to regard case. Or?
No, it's case sensitive. See the elisp manual:
http://www.gnu.org/software/emacs/manual/html_node/elisp/Text-Comparison.html#Text-Comparison
For case-insensitive comparison in Emacs lisp, you want to use compare-
strings, eg, (compare-strings track 0 nil "no song playing" 0 nil t)
As an aside, Elisp can be really ugly as far as Lisps go.
.
- Follow-Ups:
- Re: error in unless
- From: Gijs Hillenius
- Re: error in unless
- References:
- error in unless
- From: Gijs Hillenius
- Re: error in unless
- From: Holger Schauer
- Re: error in unless
- From: Gijs Hillenius
- error in unless
- Prev by Date: Re: error in unless
- Next by Date: Re: what is up with the spam?
- Previous by thread: Re: error in unless
- Next by thread: Re: error in unless
- Index(es):