From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: Recognize mbox files? Date: Mon, 16 Feb 2009 10:40:05 -0500 Message-ID: References: <200902142125.n1ELPCLE021261@zogzog.maillard.mobi> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1234799340 1883 80.91.229.12 (16 Feb 2009 15:49:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2009 15:49:00 +0000 (UTC) Cc: cyd@stupidchicken.com, stephen@xemacs.org, ams@gnu.org, emacs-devel@gnu.org To: Xavier Maillard Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 16 16:50:15 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 1LZ5jZ-00063G-2F for ged-emacs-devel@m.gmane.org; Mon, 16 Feb 2009 16:50:13 +0100 Original-Received: from localhost ([127.0.0.1]:53691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZ5iE-0004O2-Ux for ged-emacs-devel@m.gmane.org; Mon, 16 Feb 2009 10:48:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZ5bq-0001jF-7n for emacs-devel@gnu.org; Mon, 16 Feb 2009 10:42:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZ5bp-0001j1-CH for emacs-devel@gnu.org; Mon, 16 Feb 2009 10:42:13 -0500 Original-Received: from [199.232.76.173] (port=45199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZ5bp-0001ip-3w for emacs-devel@gnu.org; Mon, 16 Feb 2009 10:42:13 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:51914) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZ5bo-0005hi-T3 for emacs-devel@gnu.org; Mon, 16 Feb 2009 10:42:12 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LZ5Zl-0000tn-39; Mon, 16 Feb 2009 10:40:05 -0500 In-reply-to: <200902142125.n1ELPCLE021261@zogzog.maillard.mobi> (message from Xavier Maillard on Sat, 14 Feb 2009 22:25:12 +0100) 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:109106 Archived-At: This mbox detection problem sounds like what we are trying to solve with bug#2222 (Labels). Launching rmail would automatically add a message on top of the mbox file, adding special rmail headers and thus making this mbox file detection really easy (if grepping for rmail headers on the first message). It is already easy to detect an Rmail file. Just look for the X-RMAIL-ATTRIBUTES header in the first message.