← Back to team overview

vm team mailing list archive

Re: [Question #171058]: msdos CR stored in sent-mail

 

Question #171058 on VM changed:
https://answers.launchpad.net/vm/+question/171058

    Status: Open => Answered

Uday Reddy proposed the following answer:
You haven't mentioned which operating system you are running.

Recall that mail sending is done by Emacs mail-mode, not VM.  Handling FCC's
is also part of mail-mode.  The file appending needed for FCC is handled by
Emacs core.  So, you will need to look at those.

I believe Emacs guesses the line ending style by looking at the contents of
the file.  So, you will need to first clean the file of ^M's to get Emacs to
guess right.  Look for programs called "dos2unix" and "unix2dos" which do
such cleaning.

For my own use, I couldn't find anyway to get Emacs and mail-mode to use
Unix line endings for FCC on Win32.  So, I maintain two sent-mail folders,
one for use Unix and one for Win32.

-- 
You received this question notification because you are a member of VM
development team, which is an answer contact for VM.