From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: question from nnimap.el
Date: Wed, 08 Dec 2010 23:42:30 +0100 [thread overview]
Message-ID: <m3ei9rrind.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87aakgrmoj.fsf@andy.bu.edu>
Andrew Cohen <cohen@andy.bu.edu> writes:
> (delete 0 (mapcar #'string-to-number
> (cdr (assoc "SEARCH" (cdr result)))))
>
> Why the delete 0? Is there some chance that the IMAP server responds
> with a bogus UID?
Some of the respond with non-numerical stuff in addition to the uids.
That's just an easy way to filter out everything that's non-numerical.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
prev parent reply other threads:[~2010-12-08 22:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-08 21:15 Andrew Cohen
2010-12-08 22:42 ` Lars Magne Ingebrigtsen [this message]
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=m3ei9rrind.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
--cc=ding@gnus.org \
/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).