* When saving to a folder in the unix format, Alpine parses the destination
commitc60f9d3bc9b6217f6b4de7cf516af45c972b6827
authorEduardo Chappa <chappa@washington.edu>
Fri, 26 Nov 2021 08:15:31 +0000 (26 01:15 -0700)
committerEduardo Chappa <chappa@washington.edu>
Fri, 26 Nov 2021 08:15:31 +0000 (26 01:15 -0700)
tree467a470318ea8b6507fc06404757fba1e9a28749
parentfb5d091667dd5db488d0bba2c4fa2e2e0f264572
   * When saving to a folder in the unix format, Alpine parses the destination
     folder to assign uids to all messages in the folder. When the
     destination folder is large this could significantly slow down
     alpine. The purpose of parsing the folder is to make sure that when
     saving the messages to it, the uids assigned to the messages upon
     saving are available so that the COPYUID and APPENDUID calls in the
     imap server return the uids of the saved messages. This data is
     returned through a callback function which Alpine does not define
     (but the imap server does), so we will force the parsing of the
     destination folder when the callback is needed, since the assignment
     of uids does not need to be done until opening the folder, and that
     can be delayed. Fix based on a patch submitted to the alpine-info
     list by Chris Caputo.
imap/src/osdep/unix/unix.c
pith/pine.hlp