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: Sun, 19 Sep 2004 20:06:06 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <1095204498.515091.23142.nullmailer@Update.UU.SE> <1095355267.414777.7176.nullmailer@Update.UU.SE> <1095465447.475464.30651.nullmailer@Update.UU.SE> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1095638975 29914 80.91.229.6 (20 Sep 2004 00:09:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2004 00:09:35 +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:09:31 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 1C9BkJ-0005lX-00 for ; Mon, 20 Sep 2004 02:09:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9Bq9-0006t3-EO for ged-emacs-devel@m.gmane.org; Sun, 19 Sep 2004 20:15:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C9Bmy-000599-Kq for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:12:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C9Bmv-00055g-30 for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:12:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9Bmu-00055Z-Li for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:12:12 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C9Bh1-0007zH-6S for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:06:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1C9Bh0-0000IR-P4; Sun, 19 Sep 2004 20:06:06 -0400 Original-To: "Alfred M. Szmidt" In-reply-to: <1095465447.475464.30651.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:27300 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27300 Okie, here is the next problem, trying to do either rmail-reply, rmail-edit-current-message will result in the following error: rmail-desc-get-descriptor: Args out of range: [], 0 It's not legit to reply to no message or to edit no message. However, they should get a cleaner error than this. For instance, does this fix it for r? *** rmail.el 22 Feb 2003 19:33:25 -0500 1.368.2.5 --- rmail.el 19 Sep 2004 16:39:30 -0400 *************** *** 3162,3167 **** --- 3163,3170 ---- prefix argument means ignore them. While composing the reply, use \\[mail-yank-original] to yank the original message into it." (interactive "P") + (if (= rmail-total-messages 0) + (error "No messages in this file")) (save-excursion (save-restriction (let ((msgnum rmail-current-message)