all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Help-Gnu-Emacs@Gnu.Org
Subject: Re: "Rmail": Key "o" sometimes marks wrong mail as deleted
Date: Thu, 13 Jun 2024 11:39:17 +0300	[thread overview]
Message-ID: <86ikydz16y.fsf@gnu.org> (raw)
In-Reply-To: <666aacd5.170a0220.5b5e8.1ff8@mx.google.com> (message from Dr Rainer Woitok on Thu, 13 Jun 2024 10:24:50 +0200)

> 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	other threads:[~2024-06-13  8:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11 15:28 "Rmail": Key "o" sometimes marks wrong mail as deleted Dr Rainer Woitok
2024-06-11 15:43 ` Eli Zaretskii
2024-06-12 11:27   ` Dr Rainer Woitok
2024-06-12 11:56     ` Eli Zaretskii
2024-06-13  8:24       ` Dr Rainer Woitok
2024-06-13  8:39         ` Eli Zaretskii [this message]
2024-06-13 15:48           ` Dr Rainer Woitok
2024-06-13 16:04             ` Eli Zaretskii
2024-06-14 16:36               ` Dr Rainer Woitok

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=86ikydz16y.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Help-Gnu-Emacs@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.