← Back to team overview

vm team mailing list archive

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

 

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.


Follow ups

References