help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: "Rmail": Key "o" sometimes marks wrong mail as deleted


From: Eli Zaretskii
Subject: Re: "Rmail": Key "o" sometimes marks wrong mail as deleted
Date: Thu, 13 Jun 2024 11:39:17 +0300

> From: Dr Rainer Woitok <rainer.woitok@gmail.com>
> Date: Thu, 13 Jun 2024 10:24:50 +0200
> Cc: Help-Gnu-Emacs@Gnu.Org
> 
> On Wed, 12 Jun 2024 14:56:51 +0300 you said;
> 
> > ...
> > Ah, okay.  This bug is already fixed in Emacs 29, so when you upgrade
> > your Emacs, you will be free from it.
> 
> Currently I can't upgrade to Emacs 29  because in my current environment
> Emacs 29 ignores or misinterprets any "--geometry" specifications on the
> command line,  while Emacs 28.2  is correctly following them.   I'm cur-
> rently trying to find out  which other software components  might be in-
> volved.
> 
> So is there a chance that this patch is backported to Emacs 28.2?

We no longer maintain the emacs-28 branch, but you could try
installing locally the patch below, which I think fixed this:

diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el
index 49531ea..cfde335 100644
--- a/lisp/mail/rmailout.el
+++ b/lisp/mail/rmailout.el
@@ -579,7 +579,7 @@ rmail-output
                      (progn
                        (if rmail-delete-after-output
                            (rmail-delete-message))
-                       (if (> count 0)
+                       (if (>= count 0)
                            (let ((msgnum rmail-current-message))
                              (rmail-next-message 1)
                              (eq rmail-current-message (1+ msgnum)))))



reply via email to

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