unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* rmail can't delete message 10000 and later
@ 2007-07-31  9:23 Ulrich Windl
  2007-07-31 20:22 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Windl @ 2007-07-31  9:23 UTC (permalink / raw)
  To: bug-gnu-emacs

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.3.1 (x86_64-suse-linux, X toolkit, Xaw3d scroll bars)
 of 2004-06-30 on g245
configured using `configure '--with-gcc' '--with-pop' '--with-system-malloc' '-\
-prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--sharedst\
atedir=/var/lib' '--libexecdir=/usr/lib' '--with-x' '--with-xpm' '--with-jpeg' \
'--with-tiff' '--with-gif' '--with-png' '--with-x-toolkit=lucid' '--x-includes=\
/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib64' 'x86_64-suse-linux' 'CC=gc\
c' 'CFLAGS=-O2 -fmessage-length=0 -Wall -pipe         -DSYSTEM_PURESIZE_EXTRA=2\
5000   -DSITELOAD_PURESIZE_EXTRA=10000         -D_GNU_SOURCE ' 'LDFLAGS=-s' 'bu\
ild_alias=x86_64-suse-linux' 'host_alias=x86_64-suse-linux' 'target_alias=x86_6\
4-suse-linux''
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Postmaster is a poor guy with 11000 messages. Unfortunately RMail can delete up to 
message 9999, but it cannot delete message 10000 and larger. Hitting 'd' just has 
no effect (in summary).

RMAIL-summary looks like this:
9996D 23-Jul  <MAILER-DAEMON@kgate1.nga [143] Postmaster notify: see transcript$
9997D 23-Jul  <MAILER-DAEMON@kgate1.nga [289] Warning: could not send message f$
9998D 23-Jul  <MAILER-DAEMON@kgate1.nga [290] Warning: could not send message f$
9999D 23-Jul  <MAILER-DAEMON@kgate1.nga [404] Warning: could not send message f$
1000   24-Jul  <MAILER-DAEMON@kgate1.nga [143] Postmaster notify: see transcrip$
1000-  24-Jul  <MAILER-DAEMON@kgate1.nga [143] Postmaster notify: see transcrip$
1000-  24-Jul  <MAILER-DAEMON@kgate1.nga [143] Postmaster notify: see transcrip$
1000-  24-Jul  <MAILER-DAEMON@kgate1.nga [143] Postmaster notify: see transcrip$
1000-  24-Jul  <MAILER-DAEMON@kgate1.nga [143] Postmaster notify: see transcrip$
1000-  24-Jul  <MAILER-DAEMON@kgate1.nga [143] Postmaster notify: see transcrip$

Recent input:
d d d d d d d d d d d ESC O B ESC O B ESC O B ESC O
B ESC O A ESC O A ESC O A ESC O A d d d d d d d d d
d d d d ESC [ 2 1 ~ C-g ESC x m e n TAB TAB m TAB RET
ESC x ESC p RET ESC x u n b TAB C-g d d d d d d d d
d d d d d ESC x r e p o TAB r t TAB RET

Recent messages:
Loading rmailsum...done
Computing summary lines...done
Type C-x 4 b RET to restore the other window.  C-M-v to scroll the help.
Loading sendmail...done
keyboard-quit: Quit
list: Quit
Making completion list...
call-interactively: Quit
Making completion list...
Loading emacsbug...done

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rmail can't delete message 10000 and later
  2007-07-31  9:23 rmail can't delete message 10000 and later Ulrich Windl
@ 2007-07-31 20:22 ` Richard Stallman
  2007-08-01  6:21   ` Ulrich Windl
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2007-07-31 20:22 UTC (permalink / raw)
  To: Ulrich Windl; +Cc: bug-gnu-emacs

Does this patch fix it?

*** rmailsum.el	25 Jul 2007 11:49:20 -0400	1.144.2.2
--- rmailsum.el	31 Jul 2007 14:23:05 -0400	
***************
*** 288,296 ****
  		    (if (zerop (% rmail-new-summary-line-count 10))
  			(message "Computing summary lines...%d"
  				 rmail-new-summary-line-count))
! 		    (rmail-make-summary-line-1 msg)))))
      ;; Fix up the part of the summary that says "deleted" or "unseen".
!     (aset line 5
  	  (if (rmail-message-deleted-p msg) ?\D
  	    (if (= ?0 (char-after (+ 3 (rmail-msgbeg msg))))
  		?\- ?\ )))
--- 288,298 ----
  		    (if (zerop (% rmail-new-summary-line-count 10))
  			(message "Computing summary lines...%d"
  				 rmail-new-summary-line-count))
! 		    (rmail-make-summary-line-1 msg))))
! 	delpos)
      ;; Fix up the part of the summary that says "deleted" or "unseen".
!     (string-match "[0-9]+" line)
!     (aset line (match-end 0)
  	  (if (rmail-message-deleted-p msg) ?\D
  	    (if (= ?0 (char-after (+ 3 (rmail-msgbeg msg))))
  		?\- ?\ )))

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rmail can't delete message 10000 and later
  2007-07-31 20:22 ` Richard Stallman
@ 2007-08-01  6:21   ` Ulrich Windl
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Windl @ 2007-08-01  6:21 UTC (permalink / raw)
  To: rms; +Cc: bug-gnu-emacs

Richard,

actually the work-around was to quit rmail after having marked 9999 messages for 
deletion, and then restart it to mark the rest of the messages. To answer your 
question, I'll have to wait until there are another 10000 messages.

Regards,
Ulrich

On 31 Jul 2007 at 16:22, Richard Stallman wrote:

> Does this patch fix it?
> 
> *** rmailsum.el	25 Jul 2007 11:49:20 -0400	1.144.2.2
> --- rmailsum.el	31 Jul 2007 14:23:05 -0400	
> ***************
> *** 288,296 ****
>   		    (if (zerop (% rmail-new-summary-line-count 10))
>   			(message "Computing summary lines...%d"
>   				 rmail-new-summary-line-count))
> ! 		    (rmail-make-summary-line-1 msg)))))
>       ;; Fix up the part of the summary that says "deleted" or "unseen".
> !     (aset line 5
>   	  (if (rmail-message-deleted-p msg) ?\D
>   	    (if (= ?0 (char-after (+ 3 (rmail-msgbeg msg))))
>   		?\- ?\ )))
> --- 288,298 ----
>   		    (if (zerop (% rmail-new-summary-line-count 10))
>   			(message "Computing summary lines...%d"
>   				 rmail-new-summary-line-count))
> ! 		    (rmail-make-summary-line-1 msg))))
> ! 	delpos)
>       ;; Fix up the part of the summary that says "deleted" or "unseen".
> !     (string-match "[0-9]+" line)
> !     (aset line (match-end 0)
>   	  (if (rmail-message-deleted-p msg) ?\D
>   	    (if (= ?0 (char-after (+ 3 (rmail-msgbeg msg))))
>   		?\- ?\ )))

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-01  6:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31  9:23 rmail can't delete message 10000 and later Ulrich Windl
2007-07-31 20:22 ` Richard Stallman
2007-08-01  6:21   ` Ulrich Windl

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