VM

Comment 2 for bug 1188241

Revision history for this message
Alan Wehmann (alan-wehmann) wrote :

I'm probably an amateur at diagnosing a problem like this, but that doesn't seem to stop me from trying.

There is code in 'vm-decode-mime-message that does 'delete-region in the Presentation Buffer for a message that is fetched from the IMAP server (because it exceeds the size limit that I imposed). It is after that use of 'delete-region that the layout markers are defective and can no longer do their job (i.e. they get inserted into the button extent for the attached PDF file and the button code creates a zero length temporary file for Adobe Reader).

An oversized message where "vm-load-message" is used, has its layout markers refer to the Folder buffer & therefore the 'delete-region in the Presentation Buffer does not affect those markers. Using the "display" button in the Presentation Buffer does give the right file attachment to Adobe Reader.