From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alfred M\. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: Recognize mbox files? Date: Fri, 13 Feb 2009 09:25:07 +0100 Message-ID: <1234513507.933630.21722.nullmailer@beryx.hq.kred> Reply-To: ams@gnu.org NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1234513585 24899 80.91.229.12 (13 Feb 2009 08:26:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2009 08:26:25 +0000 (UTC) Cc: eliz@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Richard M Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 13 09:27:40 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LXtOa-000416-Tt for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2009 09:27:37 +0100 Original-Received: from localhost ([127.0.0.1]:48823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXtNG-0005ge-W7 for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2009 03:26:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXtMS-0005L8-8T for emacs-devel@gnu.org; Fri, 13 Feb 2009 03:25:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXtMQ-0005Jn-Rk for emacs-devel@gnu.org; Fri, 13 Feb 2009 03:25:23 -0500 Original-Received: from [199.232.76.173] (port=48829 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXtMQ-0005JX-7W for emacs-devel@gnu.org; Fri, 13 Feb 2009 03:25:22 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:26396) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXtMG-00015D-2Z; Fri, 13 Feb 2009 03:25:12 -0500 Original-Received: from hq.kreditor.se ([213.136.42.58] helo=auxid.hq.kred) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXtME-0004vK-Mg; Fri, 13 Feb 2009 03:25:10 -0500 Original-Received: by auxid.hq.kred (Postfix, from userid 118) id A7BB31379E26; Fri, 13 Feb 2009 09:25:08 +0100 (CET) Original-Received: from beryx.hq.kred (unknown [10.16.0.106]) by auxid.hq.kred (Postfix) with SMTP id 8A386137994F; Fri, 13 Feb 2009 09:25:08 +0100 (CET) Original-Received: (nullmailer pid 21723 invoked by uid 1000); Fri, 13 Feb 2009 08:25:07 -0000 In-reply-to: message from Richard M Stallman on Fri, 13 Feb 2009 01:33:12 -0500 Original-References: X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109033 Archived-At: Infact, a solution to the whole problem is simple. Upon adding headers, add the following header to the first message: X-RMAIL-MODE: -*- rmail -*- I see two problems with this: * The first line is supposed to start with `From ' followed by name, date, etc. The header doesn't need to be on the first line though. * If you put that header into just the first message, and you delete the first message, the header will no longer be present. Very true, this did not occur to me. rmail could check, and add the header when saving the file. Then it would work for all cases. When a buffer was converted to BABYL, the file was never saved automatically. Rmail still does not save automatically. That is very good.