Subject: bug#2022: 23.0.60; Rmail buffer marked modified after saving it

From: Eli Zaretskii <[email-masked]>
Date: Sat, 24 Jan 2009 16:24:37 +0200

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list.

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

To reproduce:

  emacs -Q
  C-u M-x rmail FOO RET
  C-u g FOO.2 RET

The last command automatically saves the Rmail inbox (as it should),
but the buffer is nevertheless marked modified after the save.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
d:/gnu/emacs/etc/DEBUG for instructions.

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2009-01-24 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

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: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1255
  default-enable-multibyte-characters: t

Major mode: RMAIL

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-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:
C-u M-x r m a i l <return> ~ / d a <tab> m a i l . 
i n <return> p p p n n n n C-u g <up> 2 <return> C-x 
b * M e s s <tab> <return> C-x b <return> M-x r e p 
o r t <tab> <return>

Recent messages:
Loading vc-cvs...done
Counting messages...done
No following nondeleted message
Getting mail from d:/usr/eli/data/mail.in2...
Counting new messages...
Counting messages...20
Counting new messages...done (37)
Saving file d:/usr/eli/data/mail.in...
Wrote d:/usr/eli/data/mail.in
37 new messages read