GNU bug report logs - #2707
23.0.91; RMAIL summary not in step with main file

Previous Next

Package: emacs;

Reported by: jpff <jpff <at> codemist.co.uk>

Date: Wed, 18 Mar 2009 07:40:05 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2707 in the body.
You can then email your comments to 2707 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2707; Package emacs. (Wed, 18 Mar 2009 07:40:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to jpff <jpff <at> codemist.co.uk>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 18 Mar 2009 07:40:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jpff <jpff <at> codemist.co.uk>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.91; RMAIL summary not in step with main file
Date: Wed, 18 Mar 2009 07:33:26 +0000
Reading a mail file I deleted most of them and then saved.  The
-summary window still showed the headings with messages marked as
deleted when they had been expunged.  This is a change from recent versions


In GNU Emacs 23.0.91.22 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2009-03-18 on cardew
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
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: en_GB.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  auto-image-file-mode: t
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
b <return> <left> <left> + 1 C-x C-s C-x b <return> 
s C-x k <return> C-x C-f J u n <tab> <return> M-x r 
m <tab> a <tab> - m <tab> o <tab> <return> h C-x C-f 
S P <tab> A <tab> <return> <down> 1 2 9 + C-x b <return> 
<escape> < <down> <down> <down> <down> d d d d d d 
d d d d d d d d d d d d d d d d d d d d d d d d d d 
d d d SPC d SPC d d d d d d d SPC d d d d d d d d d 
d d d d d d d d d d d d d d d d d d d d d d d d d d 
d d d d d d d d d d d d d d d d d d d d d d d d d d 
d d d d d d d d d d d d d d d d d d d d SPC SPC d < 
<down-mouse-1> <mouse-movement> <mouse-movement> <mouse-1> 
M-s @ c o d e m i s t <return> M-s <return> C-o / m 
n t / s b o u t <backspace> <backspace> <backspace> 
<backspace> n o u t / h o m <tab> j p f f / S P A <tab> 
M a <tab> <return> t <down-mouse-1> <mouse-movement> 
<mouse-movement> <drag-mouse-1> M-s <return> t M-s 
<return> s y C-x b <return> <next> <backspace> - 4 
+ 6 5 <return> 2 1 SPC M a r SPC 2 0 0 9 : <tab> <backspace> 
SPC <return> C-x b <return> s C-x k <return> M-m C-x 
k <return> M-x r e p o r <tab> <return>

Recent messages:
Rmail search for @codemist...
Search failed: @codemist
Erase deleted messages from Rmail file? (y or n) 
Expunging deleted messages...done
Saving file /home/jpff/Junky...
Wrote /home/jpff/Junky
call-interactively: End of buffer
Expunging deleted messages...done
(No changes need to be saved)
Auto save file for draft message exists; consider M-x mail-recover

==John ffitch




bug reassigned from package `emacs' to `emacs,rmail'. Request was from Juanma Barranquero <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Wed, 18 Mar 2009 09:00:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>:
bug#2707; Package emacs,rmail. (Wed, 18 Mar 2009 17:45:03 GMT) Full text and rfc822 format available.

Message #10 received at 2707 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Richard Stallman <rms <at> gnu.org>
Cc: 2707 <at> debbugs.gnu.org, jpff <jpff <at> codemist.co.uk>
Subject: Re: bug#2707: 23.0.91; RMAIL summary not in step with main file
Date: Wed, 18 Mar 2009 13:35:17 -0400
jpff wrote:

> Reading a mail file I deleted most of them and then saved.  The
> -summary window still showed the headings with messages marked as
> deleted when they had been expunged.

(You need to use `s' rather than `x' to see this problem.)

This is a consequence of the following change. Now rmail-expunge does
not update the summary if called with dont-show non-nil.


2009-03-16  Richard M Stallman  <rms at gnu.org>

* mail/rmail.el (rmail-expunge): Show the message only once, and only
  if needed. If the current message was current before, just re-swap.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>:
bug#2707; Package emacs,rmail. (Wed, 18 Mar 2009 22:25:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to rms <at> gnu.org:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>. (Wed, 18 Mar 2009 22:25:08 GMT) Full text and rfc822 format available.

Message #15 received at 2707 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Richard M Stallman <rms <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 2707 <at> debbugs.gnu.org, jpff <at> codemist.co.uk
Subject: Re: bug#2707: 23.0.91; RMAIL summary not in step with main file
Date: Wed, 18 Mar 2009 18:18:52 -0400
    This is a consequence of the following change. Now rmail-expunge does
    not update the summary if called with dont-show non-nil.

When DONT-SHOW is non-nil, should rmail-expunge do this, or should the
caller do it?

The reason I am not sure is that the code seems to expect that summary
manipulation to also do the job of showing the message, and DONT-SHOW
says not to do that.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>:
bug#2707; Package emacs,rmail. (Thu, 19 Mar 2009 06:40:05 GMT) Full text and rfc822 format available.

Message #18 received at 2707 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: rms <at> gnu.org
Cc: 2707 <at> debbugs.gnu.org, jpff <at> codemist.co.uk
Subject: Re: bug#2707: 23.0.91; RMAIL summary not in step with main file
Date: Thu, 19 Mar 2009 02:31:12 -0400
Richard M Stallman wrote:

> When DONT-SHOW is non-nil, should rmail-expunge do this, or should the
> caller do it?

Doesn't matter much. rmail-expunge is only used in two places in all
of Emacs (rmail-expunge-and-save and rmail-quit). Both currently
expect it to update any summary, but it's easy to change.

> The reason I am not sure is that the code seems to expect that summary
> manipulation to also do the job of showing the message, and DONT-SHOW
> says not to do that.

The DONT-SHOW argument is new (and undocumented...), so you can make
it do whatever you like.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>:
bug#2707; Package emacs,rmail. (Mon, 23 Mar 2009 17:10:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to rms <at> gnu.org:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Rmail Maintainers <bug-gnu-emacs <at> gnu.org>. (Mon, 23 Mar 2009 17:10:05 GMT) Full text and rfc822 format available.

Message #23 received at 2707 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Richard M Stallman <rms <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>, 2707 <at> debbugs.gnu.org
Cc: 2707 <at> debbugs.gnu.org, jpff <at> codemist.co.uk
Subject: Re: bug#2707: 23.0.91; RMAIL summary not in step with main file
Date: Mon, 23 Mar 2009 13:03:37 -0400
I fixed that.  Could you close the bug report?




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Mon, 23 Mar 2009 17:25:04 GMT) Full text and rfc822 format available.

Notification sent to jpff <jpff <at> codemist.co.uk>:
bug acknowledged by developer. (Mon, 23 Mar 2009 17:25:04 GMT) Full text and rfc822 format available.

Message #28 received at 2707-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: rms <at> gnu.org
Cc: 2707-done <at> debbugs.gnu.org
Subject: Re: bug#2707: 23.0.91; RMAIL summary not in step with main file
Date: Mon, 23 Mar 2009 13:15:52 -0400
Richard M Stallman wrote:

> I fixed that.  Could you close the bug report?

Thanks. You close something by sending a mail to "###-done", where ###
is the bug number. Eg in this case, I sent this mail to:

2707-done at debbugs.gnu.org




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Tue, 21 Apr 2009 14:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.