[gnus git] branch master updated: m0-5-119-gf675ba0 =1= (gnus-group-mark-article-read): Propagate the read mark to the backend

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  f675ba0c774c229173a58e06185c45e38e0d0ff5 (commit)
      from  7eb81887beaae1e8a345a0294b0fddbaf2b20a5e (commit)


- Log -----------------------------------------------------------------
commit f675ba0c774c229173a58e06185c45e38e0d0ff5
Author: Lars Ingebrigtsen <[email protected]>
Date:   Wed Sep 5 20:58:58 2012 +0200

    (gnus-group-mark-article-read): Propagate the read mark to the backend

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b5b7063..7291709 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2012-09-05  Lars Ingebrigtsen  <[email protected]>
 
+	* gnus-group.el (gnus-group-mark-article-read): Propagate the read mark
+	to the backend (bug#11804).
+
 	* message.el (message-insert-newsgroups): Don't insert newsgroup
 	duplicates (bug#12275).
 
diff --git a/lisp/gnus-group.el b/lisp/gnus-group.el
index aaeef4d..550447c 100644
--- a/lisp/gnus-group.el
+++ b/lisp/gnus-group.el
@@ -4672,6 +4672,8 @@ you the groups that have both dormant articles and cached articles."
 	      (setq mark gnus-expirable-mark))
 	    (setq mark (gnus-request-update-mark
 			group article mark))
+	    (gnus-request-set-mark
+	     group (list (list (list article) 'add '(read))))
 	    (gnus-mark-article-as-read article mark)
 	    (setq gnus-newsgroup-active (gnus-active group))
 	    (when active

-----------------------------------------------------------------------
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     |    3 +++
 lisp/gnus-group.el |    2 ++
 2 files changed, 5 insertions(+), 0 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.