🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87354

19.27 rmail-summary-delete-forward breaks after message 999

#87354
From: Joe Ramey
Date: Mon, 26 Sep 1994 21:57
35 lines
2156 bytes
In GNU Emacs 19.27.1 (sparc-sun-sunos4.1.3, X toolkit) of Wed Sep 14 1994 on jello

The rmail-summary-delete-forward function, normally bound to `d' in
RMAIL summary mode, is supposed to move to the next non-deleted
message after deleting the current one, but it does not if the message
numbers are greater than 1000 because it expects there to be at least
one space at the beginning of the line.  This patch seems to fix the
problem:

Mon Sep 26 16:47:50 1994  Joe Ramey <ramey@csc.ti.com>

        * rmailsum.el (rmail-summary-delete-forward): Regexp for
	recognizing deleted message should not require a space at the
	beginning of the line.


*** lisp/rmailsum.el.ORIG       Sat Sep 10 15:37:07 1994
--- lisp/rmailsum.el    Mon Sep 26 16:43:02 1994
***************
*** 431,437 ****
        (rmail-summary-mark-deleted del-msg)
        (while (and (not (if backward (bobp) (eobp)))
                  (save-excursion (beginning-of-line)
!                                 (looking-at " +[0-9]+D")))
        (forward-line (if backward -1 1))))))
  
  (defun rmail-summary-delete-backward ()
--- 431,437 ----
        (rmail-summary-mark-deleted del-msg)
        (while (and (not (if backward (bobp) (eobp)))
                  (save-excursion (beginning-of-line)
!                                 (looking-at " *[0-9]+D")))
        (forward-line (if backward -1 1))))))
  
  (defun rmail-summary-delete-backward ()
Technical Details
Message-ID: <9409262153.AA07059@jello.csc.ti.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!jello.CSc.ti.COM!ramey

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,6be890d3447138e9,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-09-26 15:05:39 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!jello.CSc.ti.COM!ramey
From: ramey@jello.CSc.ti.COM (Joe Ramey)
Newsgroups: gnu.emacs.bug
Subject: 19.27 rmail-summary-delete-forward breaks after message 999
Date: 26 Sep 1994 17:57:17 -0400
Organization: GNUs Not Usenet
Lines: 35
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9409262153.AA07059@jello.csc.ti.com>
Reply-To: ramey@csc.ti.com