help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: email client for only reading email from mbox


From: Eli Zaretskii
Subject: Re: email client for only reading email from mbox
Date: Fri, 28 Nov 2014 12:29:02 +0200

> From: Nicolas Richard <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Fri, 28 Nov 2014 10:53:32 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> >> From: address@hidden
> >> It opened the 600MB file as a text file, not as a list of emails, along 
> >> with ^M for each line. Did you mean this?
> >
> > No, of course not.  Make the file be in Unix EOL format first, I think
> > that's your problem.  You can do this in Emacs, like this:
> >
> >   M-x find-file-literally RET file-name RET
> >   C-x RET f unix RET
> >   C-x C-s
> >
> > Then kill the buffer and repeat the "C-u M-x rmail" command above.
> >
> > If that doesn't work, either, perhaps your mbox is not in the mbox
> > format understood by Rmail (you should have error messages in that
> > case).
> 
> Since there is a requirement that the file should not be modified

Can it be copied, then?

Anyway, I suspect that the original mbox file did indeed use Unix
EOLs, and the fact that this one doesn't is simply an artifact of the
program used to generate it on Windows.  Mbox files always use Unix
EOLs.

> maybe C-x RET c undecided-dos RET followed by C-u M-x rmail would do
> it

No, it won't.  Rmail requires the mbox file in Unix EOL format.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]