From unknown Sat Sep 13 01:45:12 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5178: test for empty bug report fails due to message-mode Reply-To: Glenn Morris , 5178@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 11 Dec 2009 01:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 5178 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.126049475423173 (code B ref -1); Fri, 11 Dec 2009 01:30:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 11 Dec 2009 01:25:54 +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.6 required=4.0 tests=AWL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBB1Pn15023169 for ; Thu, 10 Dec 2009 17:25:50 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIuGS-0005Gc-12 for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2009 20:25:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIuGN-0005FF-1v for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2009 20:25:47 -0500 Received: from [199.232.76.173] (port=47718 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIuGM-0005FC-PN for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2009 20:25:42 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:40985) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIuGM-0002Zd-7E for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2009 20:25:42 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NIuGL-0005LJ-4P; Thu, 10 Dec 2009 20:25:41 -0500 From: Glenn Morris To: bug-gnu-emacs@gnu.org X-Spook: FSF CIA MD4 offensive information warfare terrorism virus X-Ran: >K#(:AhT4(i`~uX;Ej+_i\#OqO_$r:QC;>!j}=Y7C'vb%6RLg4hRFg\Kf#]Hb89$Ph6!,\ X-Hue: magenta X-Attribution: GM Date: Thu, 10 Dec 2009 20:25:41 -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 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Severity: minor (With the current CVS trunk.) M-x report-emacs-bug checks for an empty bug report before sending. It does this by comparing the original bug buffer text with the buffer contents at the time of sending. The check fails with message-mode, because message-mode sorts the message headers (!) before calling message-send-hook, thus changing the buffer contents. There is no obvious way to disable this sorting, nor does there seem to be any message hook that runs before the sort. From unknown Sat Sep 13 01:45:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Glenn Morris Subject: bug#5178 closed by Glenn Morris (Re: bug#5178: test for empty bug report fails due to message-mode) Message-ID: References: X-Emacs-PR-Message: they-closed 5178 X-Emacs-PR-Package: emacs Reply-To: 5178@debbugs.gnu.org Date: Sun, 13 Dec 2009 23:50:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1260748205-25960-1" This is a multi-part message in MIME format... ------------=_1260748205-25960-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 package: #5178: test for empty bug report fails due to message-mode 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 5178: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5178 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1260748205-25960-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5178-done) by emacsbugs.donarmstrong.com; 13 Dec 2009 23:44:30 +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=-7.1 required=4.0 tests=AWL,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.14.3/8.14.3/Debian-5) with ESMTP id nBDNiTVI025392 for <5178-done@emacsbugs.donarmstrong.com>; Sun, 13 Dec 2009 15:44:30 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NJy71-000693-F4; Sun, 13 Dec 2009 18:44:27 -0500 From: Glenn Morris To: 5178-done@debbugs.gnu.org Subject: Re: bug#5178: test for empty bug report fails due to message-mode References: X-Spook: pre-emptive STARLAN Vickie Weaver AIMSX Peking e-cash X-Ran: uX\9z#+67Hbo`RaTQvATx/TEb\hj29dLyCTYNP.nc6wv?}|:m5UnV(7TBHjEO.lE%|G^-b X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 13 Dec 2009 18:44:27 -0500 In-Reply-To: (Glenn Morris's message of "Thu, 10 Dec 2009 20:25:41 -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 * mail/emacsbug.el (report-emacs-bug): In message-mode, sort manually before storing original report text. ------------=_1260748205-25960-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 11 Dec 2009 01:25:54 +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.6 required=4.0 tests=AWL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBB1Pn15023169 for ; Thu, 10 Dec 2009 17:25:50 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIuGS-0005Gc-12 for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2009 20:25:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIuGN-0005FF-1v for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2009 20:25:47 -0500 Received: from [199.232.76.173] (port=47718 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIuGM-0005FC-PN for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2009 20:25:42 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:40985) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIuGM-0002Zd-7E for bug-gnu-emacs@gnu.org; Thu, 10 Dec 2009 20:25:42 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NIuGL-0005LJ-4P; Thu, 10 Dec 2009 20:25:41 -0500 From: Glenn Morris To: bug-gnu-emacs@gnu.org Subject: test for empty bug report fails due to message-mode X-Spook: FSF CIA MD4 offensive information warfare terrorism virus X-Ran: >K#(:AhT4(i`~uX;Ej+_i\#OqO_$r:QC;>!j}=Y7C'vb%6RLg4hRFg\Kf#]Hb89$Ph6!,\ X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 10 Dec 2009 20:25:41 -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 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Severity: minor (With the current CVS trunk.) M-x report-emacs-bug checks for an empty bug report before sending. It does this by comparing the original bug buffer text with the buffer contents at the time of sending. The check fails with message-mode, because message-mode sorts the message headers (!) before calling message-send-hook, thus changing the buffer contents. There is no obvious way to disable this sorting, nor does there seem to be any message hook that runs before the sort. ------------=_1260748205-25960-1--