all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [rmail-mbox-branch]: inital problems
Date: Sun, 19 Sep 2004 20:06:06 -0400	[thread overview]
Message-ID: <E1C9Bh0-0000IR-P4@fencepost.gnu.org> (raw)
In-Reply-To: <1095465447.475464.30651.nullmailer@Update.UU.SE> (ams@kemisten.nu)

	   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)

  parent reply	other threads:[~2004-09-20  0:06 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
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 [this message]
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=E1C9Bh0-0000IR-P4@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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.