From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Recognize mbox files?
Date: Mon, 09 Feb 2009 22:26:37 +0100 [thread overview]
Message-ID: <87y6wfcnea.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <878wofpj9h.fsf@cyd.mit.edu> (Chong Yidong's message of "Mon, 09 Feb 2009 13:17:30 -0500")
On Mon, Feb 09 2009, Chong Yidong wrote:
> Richard M Stallman <rms@gnu.org> writes:
>
>> Is it reliable enough to recognize mbox files
>> that we could visit them automatically in Rmail mode?
Please don't.
> I don't think so. Mbox files are lines that begin with "From ",
> separated by arbitrary data. There's not enough information to
> autodetect them.
More important, rmail-mode seems to modify the file. Dunno if this is
a bug or a feature of rmail-mode.
$ cat [...]/Incoming* > mbox-test.orig
$ cp -p mbox-test.orig mbox-test.rmail
$ emacs -Q mbox-test.rmail -f rmail-mode # C-x C-s C-x C-c
$ diff -U1 mbox-test.orig mbox-test.rmail > mbox-test.diff
,----[ mbox-test.diff ]
| --- mbox-test.orig 2009-02-09 22:13:31.000000000 +0100
| +++ mbox-test.rmail 2009-02-09 22:14:16.000000000 +0100
| @@ -1001,12 +1001,12 @@
| [...]
| -> Viele Grüße
| +> Viele Grüße
| >
| [...]
| @@ -4434,2 +4434,3 @@
| X-Loop: reiner.steib@...
| +X-RMAIL-ATTRIBUTES: --------
`----
(As I wont use Rmail, I don't care much, but ...) it seems that Rmail
recoded iso-8859-1 encoded messages to utf-8 without adjusting the
Content-Type header so the resulting mbox file is no longer correct.
(Modifying the Content-Type would also be a no-no IMHO.)
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2009-02-09 21:26 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 5:31 Recognize mbox files? Richard M Stallman
2009-02-09 18:17 ` Chong Yidong
2009-02-09 19:09 ` Harald Hanche-Olsen
2009-02-09 21:26 ` Reiner Steib [this message]
2009-02-09 22:06 ` Eli Zaretskii
2009-02-09 22:35 ` Reiner Steib
2009-02-10 8:34 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2009-02-09 18:38 Alfred M. Szmidt
2009-02-10 1:34 ` Stefan Monnier
2009-02-10 9:36 ` Eli Zaretskii
2009-02-10 20:02 ` Richard M Stallman
2009-02-11 0:34 ` Chetan Pandya
2009-02-11 20:58 ` Richard M Stallman
2009-02-11 4:51 ` Stephen J. Turnbull
2009-02-11 20:18 ` Eli Zaretskii
2009-02-12 1:59 ` Stefan Monnier
2009-02-12 4:09 ` Eli Zaretskii
2009-02-12 5:15 ` Stefan Monnier
2009-02-12 2:40 ` Stephen J. Turnbull
2009-02-11 20:59 ` Richard M Stallman
2009-02-10 7:36 Alfred M. Szmidt
2009-02-12 7:45 Alfred M. Szmidt
2009-02-12 8:16 Alfred M. Szmidt
2009-02-13 6:33 ` Richard M Stallman
2009-02-13 8:25 Alfred M. Szmidt
2009-02-14 21:25 Xavier Maillard
2009-02-14 21:25 Xavier Maillard
2009-02-14 22:51 ` Stefan Monnier
2009-02-16 15:40 ` Richard M Stallman
2009-02-14 21:52 Alfred M. Szmidt
2009-02-16 16:12 Alfred M. Szmidt
2009-02-17 12:13 ` Richard M Stallman
2009-02-17 13:10 Alfred M. Szmidt
2009-02-17 14:17 ` Stephen J. Turnbull
2009-02-18 12:10 ` Richard M Stallman
2009-02-17 15:27 Alfred M. Szmidt
2009-02-17 16:36 ` Stefan Monnier
2009-02-18 3:27 ` Stephen J. Turnbull
2009-02-18 3:39 ` Miles Bader
2009-02-18 4:18 ` Stephen J. Turnbull
2009-02-18 12:10 ` Richard M Stallman
2009-02-18 12:09 ` Richard M Stallman
2009-02-17 23:55 Xavier Maillard
2009-02-17 23:55 Xavier Maillard
2009-02-18 16:57 Alfred M. Szmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y6wfcnea.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).