From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [rmail-mbox-branch]: inital problems Date: Fri, 17 Sep 2004 19:22:57 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <1095204498.515091.23142.nullmailer@Update.UU.SE> <87fz5irvyv.fsf@oak.pohoyda.family> <1095354800.926412.7139.nullmailer@Update.UU.SE> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1095463608 25961 80.91.229.6 (17 Sep 2004 23:26:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2004 23:26:48 +0000 (UTC) Cc: alexander.pohoyda@gmx.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 01:26:43 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C8S7l-0003lb-00 for ; Sat, 18 Sep 2004 01:26:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8SDW-00044c-7e for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2004 19:32:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8SA2-0002Ti-Dy for emacs-devel@gnu.org; Fri, 17 Sep 2004 19:29:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8S9z-0002St-VW for emacs-devel@gnu.org; Fri, 17 Sep 2004 19:29:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8S9z-0002Ru-8S for emacs-devel@gnu.org; Fri, 17 Sep 2004 19:28:59 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C8S4A-00084o-Mo for emacs-devel@gnu.org; Fri, 17 Sep 2004 19:22:58 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1C8S49-0001Jo-Ph; Fri, 17 Sep 2004 19:22:57 -0400 Original-To: "Alfred M. Szmidt" In-reply-to: <1095354800.926412.7139.nullmailer@Update.UU.SE> (ams@kemisten.nu) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27209 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27209 It would be nice if the new rmail would report an error if it is trying to open a old mailbox. Right now it just assumes that it knows what it is doing, and will barf with a babyl formated mailbox. How about this? *** rmail.el 22 Feb 2003 19:33:25 -0500 1.368.2.5 --- rmail.el 17 Sep 2004 10:57:33 -0400 *************** *** 691,698 **** (setq run-mail-hook t))) (setq run-mail-hook t) (rmail-mode-2) ! ;; Convert all or part to Babyl file if possible. ! ;;; (rmail-convert-file) (goto-char (point-max))) ;; As we have read a file by raw-text, the buffer is set to ;; unibyte. We must make it multibyte if necessary. --- 691,700 ---- (setq run-mail-hook t))) (setq run-mail-hook t) (rmail-mode-2) ! (goto-char (point-min)) ! ;; If file starts like a Babyl file, reject it. ! (if (looking-at "BABYL OPTIONS:") ! (error "This is a BABYL file; use M-x unrmail to convert it"))) (goto-char (point-max))) ;; As we have read a file by raw-text, the buffer is set to ;; unibyte. We must make it multibyte if necessary. *************** *** 2533,2539 **** ;; Deal with the message headers and URLs.. (rmail-header-hide-headers) (rmail-highlight-headers) ! (rmail-activate-urls) ;; ? (if transient-mark-mode (deactivate-mark)) --- 2535,2541 ---- ;; Deal with the message headers and URLs.. (rmail-header-hide-headers) (rmail-highlight-headers) ! ;;; (rmail-activate-urls) ;; ? (if transient-mark-mode (deactivate-mark))