unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ed Sabol <edward.j.sabol@nasa.gov>
Cc: Ed Sabol <esabol@milkyway.gsfc.nasa.gov>, 39612@debbugs.gnu.org
Subject: bug#39612: 26.3; rmail-summary-delete-forward: Wrong type argument: number-or-marker-p, nil
Date: Tue, 27 Oct 2020 18:55:18 +0100	[thread overview]
Message-ID: <87zh471rll.fsf@gnus.org> (raw)
In-Reply-To: <20200215011904.8552080D81@alderaan.gsfc.nasa.gov> (Ed Sabol's message of "Fri, 14 Feb 2020 20:19:04 -0500 (EST)")

Ed Sabol <edward.j.sabol@nasa.gov> writes:

> I kept getting the error "Wrong type argument: number-or-marker-p, nil" if I
> tried to delete a message immediate after retrieving new messages. I finally
> figured out a solution. In `rmail-summary-delete-forward', please change:
>
>       (with-current-buffer rmail-buffer
> 	(rmail-delete-message)
> 	(setq del-msg rmail-current-message))
>
> to
>
>       (with-current-buffer rmail-buffer
> 	(setq del-msg rmail-current-message)
> 	(rmail-delete-message))

OK, that seems like a harmless enough change, even if I'm not an rmail
user, so I've applied it to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2020-10-27 17:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-15  1:19 bug#39612: 26.3; rmail-summary-delete-forward: Wrong type argument: number-or-marker-p, nil Ed Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-27 17:55 ` Lars Ingebrigtsen [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh471rll.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=39612@debbugs.gnu.org \
    --cc=edward.j.sabol@nasa.gov \
    --cc=esabol@milkyway.gsfc.nasa.gov \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).