From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: [rmail-mbox-branch]: inital problems Date: Mon, 20 Sep 2004 02:42:04 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <1095640924.056507.17109.nullmailer@Update.UU.SE> References: <1095204498.515091.23142.nullmailer@Update.UU.SE> <1095355267.414777.7176.nullmailer@Update.UU.SE> <1095465447.475464.30651.nullmailer@Update.UU.SE> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1095640966 729 80.91.229.6 (20 Sep 2004 00:42:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2004 00:42:46 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 20 02:42:33 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 1C9CGH-0006zu-00 for ; Mon, 20 Sep 2004 02:42:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9CM7-0007Wh-Vh for ged-emacs-devel@m.gmane.org; Sun, 19 Sep 2004 20:48:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C9CM0-0007W0-3q for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:48:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C9CLy-0007Vh-G1 for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:48:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9CLy-0007Ve-E8 for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:48:26 -0400 Original-Received: from [130.238.4.153] (helo=pernis.its.uu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C9CFt-00051I-Qt; Sun, 19 Sep 2004 20:42:10 -0400 Original-Received: by pernis.its.uu.se (Postfix, from userid 205) id E91B317A97; Mon, 20 Sep 2004 02:42:07 +0200 (MSZ) Original-Received: from pernis.its.uu.se(127.0.0.1) by pernis.its.uu.se via virus-scan id s653; Mon, 20 Sep 04 02:42:06 +0200 Original-Received: from Psilocybe.Update.UU.SE (Psilocybe.Update.UU.SE [130.238.19.25]) by pernis.its.uu.se (Postfix) with ESMTP id B9C5117830; Mon, 20 Sep 2004 02:42:04 +0200 (MSZ) Original-Received: from localhost (localhost [127.0.0.1]) by Psilocybe.Update.UU.SE (Postfix) with ESMTP id 9CD0C38012; Mon, 20 Sep 2004 02:42:04 +0200 (CEST) Original-Received: from Psilocybe.Update.UU.SE ([127.0.0.1]) by localhost (Psilocybe [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10389-08; Mon, 20 Sep 2004 02:42:04 +0200 (CEST) Original-Received: from Update.UU.SE (Lem.Update.UU.SE [130.238.19.73]) by Psilocybe.Update.UU.SE (Postfix) with SMTP; Mon, 20 Sep 2004 02:42:04 +0200 (CEST) Original-Received: (nullmailer pid 17110 invoked by uid 30270); Mon, 20 Sep 2004 00:42:04 -0000 Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sun, 19 Sep 2004 20:06:06 -0400) 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:27302 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27302 For instance, does this fix it for r? Yes. And the following fixes it for e. I haven't done any extensive testing other then getting some new mail, editing a few of them, and saving. Will beat it a bit, then I will make it my default rmail, and beat it some more. Thank you for the help. --- rmailedit.el 15 Sep 2004 01:32:18 +0200 1.26.2.1 +++ rmailedit.el 20 Sep 2004 02:21:58 +0200 @@ -1,6 +1,6 @@ @@ -85,6 +85,8 @@ This functions runs the normal hook `rma (defun rmail-edit-current-message () "Edit the contents of this message." (interactive) + (if (= rmail-total-messages 0) + (error "No messages in this file")) (make-local-variable 'rmail-old-pruned) (setq rmail-old-pruned (rmail-msg-is-pruned)) (make-local-variable 'rmail-edit-saved-coding-system)