GNU bug report logs - #5178
test for empty bug report fails due to message-mode

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Fri, 11 Dec 2009 01:30:03 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#5178 closed by Glenn Morris <rgm <at> gnu.org> (Re: bug#5178: test
 for empty bug report fails due to message-mode)
Date: Sun, 13 Dec 2009 23:50:05 +0000
[Message part 1 (text/plain, inline)]
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 <rgm <at> gnu.org>.

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 <rgm <at> gnu.org> by
replying to this email.


-- 
5178: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5178
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 5178-done <at> debbugs.gnu.org
Subject: Re: bug#5178: test for empty bug report fails due to message-mode
Date: Sun, 13 Dec 2009 18:44:27 -0500
  * mail/emacsbug.el (report-emacs-bug): In message-mode, sort manually
  before storing original report text.
[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: test for empty bug report fails due to message-mode
Date: Thu, 10 Dec 2009 20:25:41 -0500
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.



This bug report was last modified 15 years and 230 days ago.

Previous Next


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