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: Wed, 11 Feb 2009 15:59:09 -0500 Message-ID: References: <87d4dpd194.fsf@xemacs.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1234386398 21033 80.91.229.12 (11 Feb 2009 21:06:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Feb 2009 21:06:38 +0000 (UTC) Cc: ams@gnu.org, cyd@stupidchicken.com, emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 11 22:07:52 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 1LXMIo-0004I3-3g for ged-emacs-devel@m.gmane.org; Wed, 11 Feb 2009 22:07:26 +0100 Original-Received: from localhost ([127.0.0.1]:54759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXMHU-0002mS-F2 for ged-emacs-devel@m.gmane.org; Wed, 11 Feb 2009 16:06:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXMCj-0001Gl-Mg for emacs-devel@gnu.org; Wed, 11 Feb 2009 16:01:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXMCi-0001GF-SL for emacs-devel@gnu.org; Wed, 11 Feb 2009 16:01:09 -0500 Original-Received: from [199.232.76.173] (port=58275 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXMCi-0001G3-Nd for emacs-devel@gnu.org; Wed, 11 Feb 2009 16:01:08 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45812) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXMCi-0003z4-DG for emacs-devel@gnu.org; Wed, 11 Feb 2009 16:01:08 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LXMAn-0004EL-Qa; Wed, 11 Feb 2009 15:59:09 -0500 In-reply-to: <87d4dpd194.fsf@xemacs.org> (stephen@xemacs.org) 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:108990 Archived-At: A better idea would be for Rmail to detect whether it has already munged the file (a quick grep for "^X-RMAIL-.*" headers should do) and if not make the buffer read-only. That sounds like a good idea. It should be enough to check the first message for that header, since a previous visit with Rmail will necessarily have displayed the first message and put that header into it.