Bug 556579 - VM 8.1.0 concatenates emails
Summary: VM 8.1.0 concatenates emails
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs-vm
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jonathan Underwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-18 18:45 UTC by m.oliver
Modified: 2010-01-27 19:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-18 22:18:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Sample mail folder which has the problem (2.49 KB, application/octet-stream)
2010-01-27 11:27 UTC, m.oliver
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 509366 0 None None None Never

Description m.oliver 2010-01-18 18:45:42 UTC
Description of problem:

VM version 8.1.0 does not work properly with old mail files whenever there is no empty line before the "From" header.  Whenever this happens, the second mail is concatenated to the body of the first.

Version-Release number of selected component (if applicable):
emacs-vm-8.1.0-0.1.beta.fc12.i686

How reproducible:
Always

Steps to Reproduce:
Open old mail folder in which there are no empty lines before the "From" headers
  
Actual results:
Folder appears to have fewer emails than it should, the emails with the above missing empty line appear concatenated with the previous ones.

Expected results:
Folder opens as with emacs-vm-8.0.14-2

Additional info:

Comment 1 Jonathan Underwood 2010-01-18 22:18:28 UTC
OK, thanks reported upstream:

https://bugs.launchpad.net/vm/+bug/509366

Comment 2 Uday Reddy 2010-01-23 12:45:55 UTC
Oliver, your bug report has been copied to the VM bug tracker and response posted at the URL given above.  Basically, you should customize the variable vm-default-From_-folder-type for your desired folder type, BellFrom_ in your case.  If this does not cure the problem, please let us know.  It would be helpful if you can attach a sample mail folder that causes the problem.

Bug reports for VM problems can always be sent using the command
  M-x vm-submit-bug-report

Uday Reddy

Comment 3 m.oliver 2010-01-27 11:26:35 UTC
OK, this fix works.  Interestingly, there IS a change of behavior going from 8.0.14 to 8.1.0: Looking into my .emacs file, I realize that had the same problem about 10 years ago when I added the line

(setq vm-default-folder-type 'From_-with-Content-Length)

This worked until 8.0.14, but stopped working with 8.1.0.  Not sure if this is a bug or a feature - for me, the new workaround is just fine.

Comment 4 m.oliver 2010-01-27 11:27:55 UTC
Created attachment 387034 [details]
Sample mail folder which has the problem

Comment 5 Uday Reddy 2010-01-27 18:29:50 UTC
Most of the changes between 8.0.x and 8.1.x would have happened when Rob Fenk was still in charge, but they weren't noticed because 8.1.x wasn't released for a very long time.  We can't guarantee that all the behaviour you might have seen in 8.0.x will be preserved.  We can only go by the documented behaviour (in the info documentation and the help strings).

Cheers,
Uday

Comment 6 Uday Reddy 2010-01-27 19:47:47 UTC
Yes.  BellFrom_ seems to be the right folder-type for the attached folder.  There are no content-lengths in the From line.

As I mentioned on Launchpad, you will be better off by converting all the old folders to the current standard format of From_ by using the vm-change-folder-type command.

Cheers,
Uday


Note You need to log in before you can comment on or make changes to this bug.