From: Josh Huber <huber@alum.wpi.edu>
Subject: Re: cl in message.el, etc
Date: Sat, 20 Apr 2002 13:34:24 -0400 [thread overview]
Message-ID: <87hem68ean.fsf@alum.wpi.edu> (raw)
In-Reply-To: <87vgamjr1a.fsf@inanna.rimspace.net>
Daniel Pittman <daniel@rimspace.net> writes:
> It would have been more helpful if it was right. ;)
:)
> I screwed up in my thinking about the problem space and, as a
> result, gave you something that works if and only if (= (length
> mft-regexps) (length recipients)).
Ah, okay. It's still good to know -- the cl 'and' loop construct only
works with lists of equal length?
> You want the first entry in recipients that matched any regexp in
> mft-regexps, right?
That's correct.
> (loop for recipient in recipients
> when (loop for regexp in mft-regexps
> when (string-match regexp recipient)
> return t)
> return recipient)
Yep, this is it.
Thanks again,
--
Josh Huber
next prev parent reply other threads:[~2002-04-20 17:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-19 21:41 Josh Huber
2002-04-19 22:13 ` Josh Huber
2002-04-20 3:43 ` Daniel Pittman
2002-04-20 15:14 ` Josh Huber
2002-04-20 16:03 ` Daniel Pittman
2002-04-20 17:34 ` Josh Huber [this message]
2002-04-21 2:28 ` Daniel Pittman
2002-04-22 8:18 ` Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hem68ean.fsf@alum.wpi.edu \
--to=huber@alum.wpi.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).