[gnus git] branch master updated: n0-17-183-gf73621d =2= * gnus.el (debbugs-gnu): Renamed from `debbugs-emacs'. ; Mysterious `subject' bug work-around

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  f73621d73e082c8d6117926fef73300539e5f904 (commit)
       via  1ee3e79e380817873eb89bfe05cefc49fe53ee43 (commit)
      from  c5569aa6321c3d02e84b789dd19ee8120b88cff3 (commit)


- Log -----------------------------------------------------------------
commit f73621d73e082c8d6117926fef73300539e5f904
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Fri Jul 15 19:09:20 2011 +0200

    * gnus.el (debbugs-gnu): Renamed from `debbugs-emacs'.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5f95a6d..5463292 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2011-07-15  Lars Magne Ingebrigtsen  <[email protected]>
 
+	* 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.
 
diff --git a/lisp/gnus.el b/lisp/gnus.el
index 8d1cf17..66eecbf 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -4380,12 +4380,11 @@ prompt the user for the name of an NNTP server to use."
     (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.
 

commit 1ee3e79e380817873eb89bfe05cefc49fe53ee43
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Fri Jul 15 18:21:18 2011 +0200

    Mysterious `subject' bug work-around
    
    * message.el (message-reply): Work around mysterious bug where
    `message-mode' seems to overwrite the locally bound `subject' variable.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8e01c2f..5f95a6d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-15  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* message.el (message-reply): Work around mysterious bug where
+	`message-mode' seems to overwrite the locally bound `subject' variable.
+
 2011-07-14  Andrew Cohen  <[email protected]>
 
 	* nnimap.el (nnimap-request-thread): Ensure search is performed in
diff --git a/lisp/message.el b/lisp/message.el
index 5884c8e..0386b20 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -6922,20 +6922,19 @@ Useful functions to put in this list include:
       (unless follow-to
 	(setq follow-to (message-get-reply-headers wide to-address))))
 
+    (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 subject from date message-id references 0 0 ""))
-
-    (message-setup
-     `((Subject . ,subject)
-       ,@follow-to)
-     cur)))
+	    (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)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog  |    7 +++++++
 lisp/gnus.el    |    5 ++---
 lisp/message.el |   27 +++++++++++++--------------
 3 files changed, 22 insertions(+), 17 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.