From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#46325: 27.1; C-d in an rmail summary does not work on the first message Date: Fri, 05 Feb 2021 14:30:24 +0100 Message-ID: References: <83ft2apsav.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21909"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46325@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 05 14:32:41 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 1l81E1-0005cK-DA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 14:32:41 +0100 Original-Received: from localhost ([::1]:50376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l81E0-0003Ez-FY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 08:32:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l81CR-0002MW-5U for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 08:31:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l81CQ-0003ba-UQ for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 08:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l81CQ-0002mU-Rz for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 08:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2021 13:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46325 X-GNU-PR-Package: emacs Original-Received: via spool by 46325-submit@debbugs.gnu.org id=B46325.16125318298827 (code B ref 46325); Fri, 05 Feb 2021 13:31:02 +0000 Original-Received: (at 46325) by debbugs.gnu.org; 5 Feb 2021 13:30:29 +0000 Original-Received: from localhost ([127.0.0.1]:43187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l81Bt-0002I2-Ft for submit@debbugs.gnu.org; Fri, 05 Feb 2021 08:30:29 -0500 Original-Received: from smtp-clients1.isti.cnr.it ([146.48.28.36]:57740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l81Br-0002EY-Us for 46325@debbugs.gnu.org; Fri, 05 Feb 2021 08:30:28 -0500 Original-Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients1.isti.cnr.it (Postfix) with ESMTPSA id 0A3E0B0827; Fri, 5 Feb 2021 14:30:24 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at smtp-out.isti.cnr.it Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1l81Bo-007BZ1-FX; Fri, 05 Feb 2021 14:30:24 +0100 In-Reply-To: <83ft2apsav.fsf@gnu.org> (eliz@gnu.org) X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 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:199377 Archived-At: >> C-u M-x rmail RET some-mbox-format-mail-file # load a file in rmail >> < # go to the first message >> h # create a directory >> C-d # delete the current message >> >> Since this is the first message, C-d should delete it, display a message >> saying that there are no previous messages and stay on the deleted >> message. Instead, it does (apparently) nothing and stays on the >> (undeleted) message. > >Thanks. > >Rmail summary commands never display a message about no next/previous >undeleted message, only Rmail commands do. > >But the main problem -- that C-d doesn't delete the current message -- >is indeed a bug, which was introduced while trying to optimize >deletion of many messages. Does the patch below fix the bug with >deletion? I cannot reproduce the bug with the patch installed. Thanks