unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Francesco Potortì" <pot@gnu.org>
Cc: 46463@debbugs.gnu.org
Subject: bug#46463: 27.1; rmailout glitch
Date: Mon, 15 Feb 2021 17:35:14 +0200	[thread overview]
Message-ID: <83pn119wel.fsf@gnu.org> (raw)
In-Reply-To: <E1lBc13-00043t-OH@tucano.isti.cnr.it> (message from Francesco Potortì on Mon, 15 Feb 2021 12:26:09 +0100)

> From: Francesco Potortì <pot@gnu.org>
> Date: Mon, 15 Feb 2021 12:26:09 +0100
> Cc: 46463@debbugs.gnu.org
> 
> emacs -Q -nw
> M-x load-library RET /tmp/bug.el RET
> C-u M-x rmail RET /tmp/RMAILbug RET	<-- looking at message #3
> C-d 	      	  			<-- looking at message #2
> o /tmp/a RET				<-- looking at message #3
> 
> After the last command I should get a message saying that no more
> undeleted messages are there, and be looking at message #2, however I
> get no message and I am looking a message #3.

So the problem is that you don't get the message about no following
undeleted message?  Or is something else the problem?

Regarding the lack of message, I'm not sure this is a bug: since you
set rmail-output-reset-deleted-flag non-nil, Rmail no longer tries to
get to the next undeleted message, it instead gets to the next
message, whether deleted or not.  The doc string of rmail-output says:

  Optional prefix argument COUNT (default 1) says to output that
  many consecutive messages, starting with the current one (ignoring
  deleted messages, unless `rmail-output-reset-deleted-flag' is
  non-nil).         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ^^^^^^^

Why it is a problem for you that Rmail goes to the very next message
in this situation?





  reply	other threads:[~2021-02-15 15:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-12 15:10 bug#46463: 27.1; rmailout glitch Francesco Potortì
2021-02-13 10:03 ` Eli Zaretskii
2021-02-13 10:21   ` Francesco Potortì
2021-02-15 11:26   ` Francesco Potortì
2021-02-15 15:35     ` Eli Zaretskii [this message]
2021-02-15 16:19       ` Francesco Potortì
2021-02-15 17:10         ` Eli Zaretskii

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=83pn119wel.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=46463@debbugs.gnu.org \
    --cc=pot@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 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).