From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: email client for only reading email from mbox Date: Fri, 28 Nov 2014 12:29:02 +0200 Message-ID: <83egsnmxe9.fsf@gnu.org> References: <83k32fn2ej.fsf@gnu.org> <878uivmz1f.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1417170574 23555 80.91.229.3 (28 Nov 2014 10:29:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2014 10:29:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 28 11:29:26 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XuInm-0007Nf-2t for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Nov 2014 11:29:26 +0100 Original-Received: from localhost ([::1]:43376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuInl-0008RV-EW for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Nov 2014 05:29:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuInV-0008R5-7C for help-gnu-emacs@gnu.org; Fri, 28 Nov 2014 05:29:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuInQ-0006no-3j for help-gnu-emacs@gnu.org; Fri, 28 Nov 2014 05:29:09 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuInP-0006nd-St for help-gnu-emacs@gnu.org; Fri, 28 Nov 2014 05:29:04 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NFQ00000VEOYF00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 28 Nov 2014 12:29:02 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFQ000JYVSEXY10@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 28 Nov 2014 12:29:02 +0200 (IST) In-reply-to: <878uivmz1f.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101261 Archived-At: > From: Nicolas Richard > Cc: help-gnu-emacs@gnu.org, right.ho@gmail.com > Date: Fri, 28 Nov 2014 10:53:32 +0100 > > Eli Zaretskii writes: > >> From: right.ho@gmail.com > >> 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.