From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Recognize mbox files? Date: Tue, 17 Feb 2009 11:36:57 -0500 Message-ID: References: <1234884467.428644.9675.nullmailer@beryx.hq.kred> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234888653 24187 80.91.229.12 (17 Feb 2009 16:37:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2009 16:37:33 +0000 (UTC) Cc: xma@gnu.org, "Stephen J. Turnbull" , emacs-devel@gnu.org, cyd@stupidchicken.com, rms@gnu.org To: ams@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 17 17:38:47 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 1LZSxz-0000bW-BV for ged-emacs-devel@m.gmane.org; Tue, 17 Feb 2009 17:38:39 +0100 Original-Received: from localhost ([127.0.0.1]:52518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZSwf-00088b-7y for ged-emacs-devel@m.gmane.org; Tue, 17 Feb 2009 11:37:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZSwa-00088C-4G for emacs-devel@gnu.org; Tue, 17 Feb 2009 11:37:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZSwX-000880-NR for emacs-devel@gnu.org; Tue, 17 Feb 2009 11:37:10 -0500 Original-Received: from [199.232.76.173] (port=58187 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZSwX-00087x-Id for emacs-devel@gnu.org; Tue, 17 Feb 2009 11:37:09 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:56410) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZSwT-0001XI-Vp; Tue, 17 Feb 2009 11:37:06 -0500 Original-Received: from alfajor.home (vpn-132-204-232-203.acd.umontreal.ca [132.204.232.203]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n1HGbgKV005224; Tue, 17 Feb 2009 11:37:45 -0500 Original-Received: by alfajor.home (Postfix, from userid 20848) id 53DA5A225A; Tue, 17 Feb 2009 11:36:58 -0500 (EST) In-Reply-To: <1234884467.428644.9675.nullmailer@beryx.hq.kred> (Alfred M. Szmidt's message of "Tue, 17 Feb 2009 16:27:47 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3212=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:109132 Archived-At: > What is wrong with using real local variables? Either by adding it to > the first message, or always adding "-*- rmail -*-" to X-RMAIL-...? > That way a user could disable rmail explictly for a file, or enable it > by adding -*- rmail -*- to it. This would then work exactly as it did > for RMAIL/BABYL. Without adding specifc rmail hacks to other parts of > emacs. That's my idea as well: try to use the -*-rmail-*- tag. It might even be possible to place it on the first ("From ") line. It probably means to lose/garble that first line's info, so we may want to first copy that info into an "Envelope-From:" header. Another issue is to make sure those files get opened into a unibyte buffer (i.e. use a `binary' coding-system). So maybe the tag should really be -*-mode:rmail;coding:binary-*-. Stefan