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:26:04 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <1095639964.193002.17091.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 1095640008 31586 80.91.229.6 (20 Sep 2004 00:26:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2004 00:26:48 +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:26:34 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 1C9C0o-0006Px-00 for ; Mon, 20 Sep 2004 02:26:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9C6f-0002nA-DY for ged-emacs-devel@m.gmane.org; Sun, 19 Sep 2004 20:32:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C9C6Y-0002mv-Uf for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:32:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C9C6X-0002m5-24 for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:32:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9C6W-0002m2-IJ for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:32:28 -0400 Original-Received: from [130.238.7.33] (helo=limicola.its.uu.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C9C0Y-0002te-C7; Sun, 19 Sep 2004 20:26:18 -0400 Original-Received: by limicola.its.uu.se (Postfix, from userid 205) id 8B9F211F070; Mon, 20 Sep 2004 02:26:15 +0200 (MSZ) Original-Received: from limicola.its.uu.se(127.0.0.1) by limicola.its.uu.se via virus-scan id s2402; Mon, 20 Sep 04 02:26:04 +0200 Original-Received: from Psilocybe.Update.UU.SE (Psilocybe.Update.UU.SE [130.238.19.25]) by limicola.its.uu.se (Postfix) with ESMTP id D5BA811F816; Mon, 20 Sep 2004 02:26:04 +0200 (MSZ) Original-Received: from localhost (localhost [127.0.0.1]) by Psilocybe.Update.UU.SE (Postfix) with ESMTP id BE01938012; Mon, 20 Sep 2004 02:26: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 10278-04; Mon, 20 Sep 2004 02:26: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:26:04 +0200 (CEST) Original-Received: (nullmailer pid 17092 invoked by uid 30270); Mon, 20 Sep 2004 00:26: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:27301 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27301 For instance, does this fix it for r? Yes. And the following fixes it for e --- 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)