+2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * gnus.el (debbugs-gnu): Renamed from debbugs-emacs.
+
+ * message.el (message-reply): Work around mysterious bug where
+ `message-mode' seems to overwrite the locally bound `subject' variable.
+
2011-07-14 Andrew Cohen <cohen@andy.bu.edu>
* nnimap.el (nnimap-request-thread): Ensure search is performed in
(gnus-1 arg dont-connect slave)
(gnus-final-warning)))
-(autoload 'debbugs-emacs "debbugs-gnu")
+(autoload 'debbugs-gnu "debbugs-gnu")
(defun gnus-list-debbugs ()
"List all open Gnus bug reports."
(interactive)
- (debbugs-emacs '("important" "normal" "minor" "wishlist")
- "gnus"))
+ (debbugs-gnu nil "gnus"))
;; Allow redefinition of Gnus functions.
(unless follow-to
(setq follow-to (message-get-reply-headers wide to-address))))
- (unless (message-mail-user-agent)
- (message-pop-to-buffer
- (message-buffer-name
- (if wide "wide reply" "reply") from
- (if wide to-address nil))
- switch-function))
-
- (setq message-reply-headers
- (vector 0 subject from date message-id references 0 0 ""))
-
- (message-setup
- `((Subject . ,subject)
- ,@follow-to)
- cur)))
+ (let ((headers
+ `((Subject . ,subject)
+ ,@follow-to)))
+ (unless (message-mail-user-agent)
+ (message-pop-to-buffer
+ (message-buffer-name
+ (if wide "wide reply" "reply") from
+ (if wide to-address nil))
+ switch-function))
+ (setq message-reply-headers
+ (vector 0 (cdr (assq 'Subject headers))
+ from date message-id references 0 0 ""))
+ (message-setup headers cur))))
;;;###autoload
(defun message-wide-reply (&optional to-address)