Don't propagate marks to backends after sanitising on entry.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 2 Jan 2011 05:36:36 +0000 (06:36 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 2 Jan 2011 05:36:36 +0000 (06:36 +0100)
This never makes sense: If the articles have gone missing, then the
data no longer exists on the backend, and if they haven't, then Gnus
is wrong, and shouldn't overwrite anything anyway.

lisp/ChangeLog
lisp/gnus-sum.el

index e67db2a..3e43661 100644 (file)
@@ -1,5 +1,11 @@
 2011-01-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to
+       backends after sanitising on entry, because this never makes sense:
+       If the articles have gone missing, then the data no longer exists on
+       the backend, and if they haven't, then Gnus is wrong, and shouldn't
+       overwrite anything anyway.
+
        * shr.el (shr-insert-document): Bind shr-width dynamically to
        window-width if it's nil.
 
index 1966e4a..9a21a9c 100644 (file)
@@ -1,7 +1,7 @@
 ;;; gnus-sum.el --- summary mode commands for Gnus
 
 ;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+;; 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;; Keywords: news
@@ -5603,7 +5603,7 @@ If SELECT-ARTICLES, only select those articles from GROUP."
 
     (setq gnus-newsgroup-processable nil)
 
-    (gnus-update-read-articles group gnus-newsgroup-unreads)
+    (gnus-update-read-articles group gnus-newsgroup-unreads t)
 
     ;; Adjust and set lists of article marks.
     (when info