Use %MESSAGE-INDEX instead of MESSAGE-INDEX in FETCH-MESSAGE-ITEMS.
authorTaylor R. Campbell <net/mumble/campbell>
Sat, 10 Mar 2007 17:35:57 +0000 (17:35 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Sat, 10 Mar 2007 17:35:57 +0000 (17:35 +0000)
commit2929914a7ee1b85eef4953730f53daa18027566e
treefbcaf3f92c8110ba190198628d65134f677c6d26
parent67414cbf09416c4672ee2884b85cf05dc23cb8fa
Use %MESSAGE-INDEX instead of MESSAGE-INDEX in FETCH-MESSAGE-ITEMS.
This will give the correct index in the mailbox's sequence to the IMAP
server, and if the folder is sorted it will also not cause an infinite
loop, because in that case MESSAGE-INDEX may require fetching the
message to determine how to sort it, which may require calling
MESSAGE-INDEX.
v7/src/imail/imail-imap.scm