all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: alexander.pohoyda@gmx.net, emacs-devel@gnu.org
Subject: Re: [rmail-mbox-branch]: inital problems
Date: Sat, 18 Sep 2004 18:56:11 -0400	[thread overview]
Message-ID: <E1C8o7n-0000uG-TV@fencepost.gnu.org> (raw)
In-Reply-To: <1095466194.208044.30690.nullmailer@Update.UU.SE> (ams@kemisten.nu)

Your change seems reasonable--would someone please install it?



--- rmail.el	23 Feb 2003 00:33:25 -0000	1.368.2.5
+++ rmail.el	18 Sep 2004 00:08:34 -0000
@@ -684,16 +685,16 @@ If `rmail-display-summary' is non-nil, m
 	 (find-file-noselect file-name))))
     (if (eq major-mode 'rmail-edit-mode)
 	(error "Exit Rmail Edit mode before getting new mail"))
+    ;; 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"))
     (if (and existed (> (buffer-size) 0))
 	;; Buffer not new and not empty; ensure in proper mode, but that's all.
 	(or (eq major-mode 'rmail-mode)
 	    (progn (rmail-mode-2)
 		   (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)))
+      (rmail-mode-2))
     ;; As we have read a file by raw-text, the buffer is set to
     ;; unibyte.  We must make it multibyte if necessary.
     (if (and rmail-enable-multibyte

  reply	other threads:[~2004-09-18 22:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-14 23:28 [rmail-mbox-branch]: inital problems Alfred M. Szmidt
2004-09-16 16:59 ` Alexander Pohoyda
2004-09-16 17:13   ` Alfred M. Szmidt
2004-09-17 23:22     ` Richard Stallman
2004-09-18  0:09       ` Alfred M. Szmidt
2004-09-18 22:56         ` Richard Stallman [this message]
2004-10-06 21:50       ` Alexander Pohoyda
2004-09-18 19:07   ` Richard Stallman
2004-09-18 21:10     ` Stefan
2004-09-16 17:21 ` Alfred M. Szmidt
2004-09-17 23:23   ` Richard Stallman
2004-09-17 23:57     ` Alfred M. Szmidt
2004-09-18 22:56       ` Richard Stallman
2004-09-20  0:06       ` Richard Stallman
2004-09-20  0:26         ` Alfred M. Szmidt
2004-09-20  0:42         ` Alfred M. Szmidt
2004-09-17  9:36 ` Richard Stallman
2004-09-18  0:18 ` Alfred M. Szmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1C8o7n-0000uG-TV@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=alexander.pohoyda@gmx.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.