[gnus git] branch master updated: m0-5-240-g8adf1f0 =2= Don't do Gcc handling if Gnus isn't running ; Make nnimap treat \Deleted articles as \Read articles

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  8adf1f0f6261e0c4252108b446b29840878aed96 (commit)
       via  8c8acc0b17d736e454a890652fdf4831b1408228 (commit)
      from  c5bd9a993f2fe0108ef80e100326e44e8f02beb2 (commit)


- Log -----------------------------------------------------------------
commit 8adf1f0f6261e0c4252108b446b29840878aed96
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Dec 31 18:02:27 2012 +0100

    Don't do Gcc handling if Gnus isn't running
    
    * gnus-msg.el (gnus-inews-insert-gcc): Don't insert Gcc headers if Gnus
    isn't running, because Gnus will probably not know how to handle the
    Gcc header (bug#11941).

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2c3798a..7027ed6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
 2012-12-31  Lars Magne Ingebrigtsen  <[email protected]>
 
+	* gnus-msg.el (gnus-inews-insert-gcc): Don't insert Gcc headers if Gnus
+	isn't running, because Gnus will probably not know how to handle the
+	Gcc header (bug#11941).
+
 	* nnimap.el (nnimap-update-info): Treat \Deleted articles as \Read
 	articles.
 
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index c967bc0..559c5bb 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -1745,7 +1745,8 @@ this is a reply."
 	      (setq var (cdr var)))
 	    result)))
 	 name)
-    (when (or groups gcc-self-val)
+    (when (and (or groups gcc-self-val)
+	       (gnus-alive-p))
       (when (stringp groups)
 	(setq groups (list groups)))
       (save-excursion

commit 8c8acc0b17d736e454a890652fdf4831b1408228
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Dec 31 16:37:23 2012 +0100

    Make nnimap treat \Deleted articles as \Read articles
    
    * nnimap.el (nnimap-update-info): Treat \Deleted articles as \Read
    articles.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ab7b92c..2c3798a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-31  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* nnimap.el (nnimap-update-info): Treat \Deleted articles as \Read
+	articles.
+
 2012-12-29  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* nnfolder.el (nnfolder-recursive-directory-files): New function.
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 968d1ee..1436704 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -1463,7 +1463,9 @@ If LIMIT, first try to limit the search to the N last articles."
 		     (gnus-set-difference
 		      (gnus-set-difference
 		       existing
-		       (cdr (assoc '%Seen flags)))
+		       (gnus-sorted-union
+			(cdr (assoc '%Seen flags))
+			(cdr (assoc '%Deleted flags))))
 		      (cdr (assoc '%Flagged flags)))))
 		   (read (gnus-range-difference
 			  (cons start-article high) unread)))

-----------------------------------------------------------------------
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   |    9 +++++++++
 lisp/gnus-msg.el |    3 ++-
 lisp/nnimap.el   |    4 +++-
 3 files changed, 14 insertions(+), 2 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.