From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46463: 27.1; rmailout glitch Date: Mon, 15 Feb 2021 17:35:14 +0200 Message-ID: <83pn119wel.fsf@gnu.org> References: <83y2fscmii.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1507"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46463@debbugs.gnu.org To: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 15 16:36:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBfv0-0000DI-B1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Feb 2021 16:36:10 +0100 Original-Received: from localhost ([::1]:46888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBfuz-0001Z5-6L for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Feb 2021 10:36:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBfus-0001WC-P0 for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2021 10:36:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBfus-0007gq-HX for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2021 10:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lBfus-0003Zy-Ea for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2021 10:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Feb 2021 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46463 X-GNU-PR-Package: emacs Original-Received: via spool by 46463-submit@debbugs.gnu.org id=B46463.161340331913708 (code B ref 46463); Mon, 15 Feb 2021 15:36:02 +0000 Original-Received: (at 46463) by debbugs.gnu.org; 15 Feb 2021 15:35:19 +0000 Original-Received: from localhost ([127.0.0.1]:38525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBfuB-0003Z2-Ij for submit@debbugs.gnu.org; Mon, 15 Feb 2021 10:35:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBfu9-0003Yl-RQ for 46463@debbugs.gnu.org; Mon, 15 Feb 2021 10:35:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59307) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBfu4-000792-1L; Mon, 15 Feb 2021 10:35:12 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1396 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lBfu3-0000oN-JM; Mon, 15 Feb 2021 10:35:11 -0500 In-Reply-To: (message from Francesco =?UTF-8?Q?Potort=C3=AC?= on Mon, 15 Feb 2021 12:26:09 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200066 Archived-At: > From: Francesco Potort́ > 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?