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

Eli,

On Thu, 13 Jun 2024 11:39:17 +0300 you wrote:

> ...
>                                                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)))))

This will  definitely not fix  the misbehaviour I reported,  because the
new line "(if (>= count 0)" is already in my 28.2 source file.

Sincerely,
  Rainer



  reply	other threads:[~2024-06-13 15:48 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
2024-06-13 15:48           ` Dr Rainer Woitok [this message]
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=666b14d2.170a0220.69455.417f@mx.google.com \
    --to=rainer.woitok@gmail.com \
    --cc=Help-Gnu-Emacs@Gnu.Org \
    --cc=eliz@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.