[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rmail-mbox-branch]: inital problems

From: Richard Stallman
Subject: Re: [rmail-mbox-branch]: inital problems
Date: Sun, 19 Sep 2004 20:06:06 -0400

           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"))
        (let ((msgnum rmail-current-message)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]