From unknown Thu Aug 21 12:11:54 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2135: 23.0.60; Rmail's `g' command marks old messages ``unseen'' Reply-To: Eli Zaretskii , 2135@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 31 Jan 2009 17:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2135 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123342110327246 (code B ref -1); Sat, 31 Jan 2009 17:05:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 31 Jan 2009 16:58:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0VGwJ1Z027240 for ; Sat, 31 Jan 2009 08:58:20 -0800 Received: from mx10.gnu.org ([199.232.76.166]:47714) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LTJ91-0002iJ-Nt for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 11:56:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LTJAg-0002pH-4o for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 11:58:18 -0500 Received: from mtaout2.012.net.il ([84.95.2.4]:43958) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTJAf-0002ol-Lq for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 11:58:17 -0500 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KEC00A00HGI1K00@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 18:58:36 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.109.18]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEC007UZHTNCFJ3@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 18:58:36 +0200 (IST) Date: Sat, 31 Jan 2009 18:58:18 +0200 From: Eli Zaretskii X-012-Sender: halo1@inter.net.il To: emacs-pretest-bug@gnu.org Message-id: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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 emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Copy newly arrived mail to a file, let's call it mail.new. In an Rimail buffer, type "C-u g mail.new RET" to get the new mail. Type `n' and/or `p' to walk through all the new messages, so that no one of them is marked ``unseen'' anymore (as witnessed by their color in the rmail-summary buffer and by the absence of the "-" character to the right of the message numbers). Now type "C-u g mail.new" again, to read the new mail again => some of the previously read messages become ``unseen'' again: their color changes and they acquire the "-" character to the right of their number. 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-31 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-x C-s C-x C-s M-1 g M-1 j n n n n d d d d d d d x y C-x C-s M-x C-g M-1 g d d d d d d M-1 g n n n d d d M-1 g C-u 1 0 j d d d d d d d d d x y M-1 g 1 M-1 g M-1 g e w n n d n d d M-1 g M-x r e p o r t Recent messages: 6 new messages read No following nondeleted message scroll-bar-toolkit-scroll: Beginning of buffer [2 times] Getting mail from d:/usr/eli/data/mail.n1... Counting new messages...done (1) Saving file d:/usr/eli/data/INBOX.new... Wrote d:/usr/eli/data/INBOX.new Computing summary lines...done 1 new message read scroll-bar-toolkit-scroll: Beginning of buffer [2 times] scroll-bar-toolkit-scroll: Beginning of buffer From unknown Thu Aug 21 12:11:54 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2135: 23.0.60; Rmail's `g' command marks old messages ``unseen'' Reply-To: rms@gnu.org, 2135@debbugs.gnu.org Resent-From: Richard M Stallman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 01 Feb 2009 06:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2135 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2135-submit@emacsbugs.donarmstrong.com id=B2135.123346993332165 (code B ref 2135); Sun, 01 Feb 2009 06:40:04 +0000 Received: (at 2135) by emacsbugs.donarmstrong.com; 1 Feb 2009 06:32:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n116W5EJ032159 for <2135@emacsbugs.donarmstrong.com>; Sat, 31 Jan 2009 22:32:07 -0800 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LTVqX-0001Uv-AE; Sun, 01 Feb 2009 01:30:21 -0500 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: Eli Zaretskii , 2135@debbugs.gnu.org In-reply-to: (message from Eli Zaretskii on Sat, 31 Jan 2009 18:58:18 +0200) References: Message-Id: Date: Sun, 01 Feb 2009 01:30:21 -0500 I think this means that the right place to set the "unseen" attribute is when _creating_ the header field that records the attributes. From rgm@gnu.org Sun Feb 1 23:11:53 2009 Received: (at control) by emacsbugs.donarmstrong.com; 2 Feb 2009 07:11:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=MURPHY_DRUGS_REL8, VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n127Bpnq013959 for ; Sun, 1 Feb 2009 23:11:52 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LTswV-0000VE-Ll; Mon, 02 Feb 2009 02:10:03 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18822.40011.133086.730105@fencepost.gnu.org> Date: Mon, 2 Feb 2009 02:10:03 -0500 From: Glenn Morris To: control Subject: control message X-Debbugs-No-Ack: yes reassign 2139 spam reassign 2142 spam reassign 2143 spam reassign 2141 emacs,cc-mode reassign 2135 emacs,rmail reassign 2137 emacs,rmail reassign 2150 emacs,rmail severity 2145 wishlist tags 2134 - patch merge 801 2134 From unknown Thu Aug 21 12:11:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Eli Zaretskii Subject: bug#2135 closed by Glenn Morris (Re: bug#2135: 23.0.60; Rmail's `g' command marks old messages ``unseen'') Message-ID: References: X-Emacs-PR-Message: they-closed 2135 X-Emacs-PR-Package: emacs,rmail Reply-To: 2135@debbugs.gnu.org Date: Fri, 13 Feb 2009 04:05:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1234497907-24621-1" This is a multi-part message in MIME format... ------------=_1234497907-24621-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs,rmail package: #2135: 23.0.60; Rmail's `g' command marks old messages ``unseen'' It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 2135: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2135 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1234497907-24621-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2135-done) by emacsbugs.donarmstrong.com; 13 Feb 2009 03:55:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1D3sx7T021275 for <2135-done@emacsbugs.donarmstrong.com>; Thu, 12 Feb 2009 19:55:00 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LXp6o-0005wC-UD; Thu, 12 Feb 2009 22:52:58 -0500 From: Glenn Morris To: 2135-done@debbugs.gnu.org Subject: Re: bug#2135: 23.0.60; Rmail's `g' command marks old messages ``unseen'' References: X-Spook: CIDA Craig Livingstone AGT. AMME munitions Gazprom X-Ran: 8em@JitGo3!I*(!LS~Iy'ART%}&z(nRAMH_i'as{|{C2yR[V}TCuT7dg],m,6xm0y X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 12 Feb 2009 22:52:58 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 2009-02-13 Glenn Morris * mail/rmailsum.el (rmail-summary-mark-seen): New function. As well as removing the '-' mark, update the summary-vector. (Bug#2135) (rmail-summary-rmail-update, rmail-summary-goto-msg): Use rmail-summary-mark-seen. ------------=_1234497907-24621-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 31 Jan 2009 16:58:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0VGwJ1Z027240 for ; Sat, 31 Jan 2009 08:58:20 -0800 Received: from mx10.gnu.org ([199.232.76.166]:47714) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LTJ91-0002iJ-Nt for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 11:56:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LTJAg-0002pH-4o for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 11:58:18 -0500 Received: from mtaout2.012.net.il ([84.95.2.4]:43958) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTJAf-0002ol-Lq for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 11:58:17 -0500 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KEC00A00HGI1K00@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 18:58:36 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.109.18]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KEC007UZHTNCFJ3@i_mtaout2.012.net.il> for emacs-pretest-bug@gnu.org; Sat, 31 Jan 2009 18:58:36 +0200 (IST) Date: Sat, 31 Jan 2009 18:58:18 +0200 From: Eli Zaretskii Subject: 23.0.60; Rmail's `g' command marks old messages ``unseen'' X-012-Sender: halo1@inter.net.il To: emacs-pretest-bug@gnu.org Message-id: X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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 emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Copy newly arrived mail to a file, let's call it mail.new. In an Rimail buffer, type "C-u g mail.new RET" to get the new mail. Type `n' and/or `p' to walk through all the new messages, so that no one of them is marked ``unseen'' anymore (as witnessed by their color in the rmail-summary buffer and by the absence of the "-" character to the right of the message numbers). Now type "C-u g mail.new" again, to read the new mail again => some of the previously read messages become ``unseen'' again: their color changes and they acquire the "-" character to the right of their number. 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-31 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-x C-s C-x C-s M-1 g M-1 j n n n n d d d d d d d x y C-x C-s M-x C-g M-1 g d d d d d d M-1 g n n n d d d M-1 g C-u 1 0 j d d d d d d d d d x y M-1 g 1 M-1 g M-1 g e w n n d n d d M-1 g M-x r e p o r t Recent messages: 6 new messages read No following nondeleted message scroll-bar-toolkit-scroll: Beginning of buffer [2 times] Getting mail from d:/usr/eli/data/mail.n1... Counting new messages...done (1) Saving file d:/usr/eli/data/INBOX.new... Wrote d:/usr/eli/data/INBOX.new Computing summary lines...done 1 new message read scroll-bar-toolkit-scroll: Beginning of buffer [2 times] scroll-bar-toolkit-scroll: Beginning of buffer ------------=_1234497907-24621-1--