[gnus git] branch master updated: n0-13-98-gf48235e =1= Adjust documentation and remove automatic read in hopes for Cloudy Gnus.

Ted Zlatanov <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  f48235eacef5c56ad94704a17e438f9f6039ab71 (commit)
      from  5ad6dee98443915e7ac73049ab75420fd447cb00 (commit)


- Log -----------------------------------------------------------------
commit f48235eacef5c56ad94704a17e438f9f6039ab71
Author: Ted Zlatanov <[email protected]>
Date:   Fri Mar 11 13:39:30 2011 -0600

    Adjust documentation and remove automatic read in hopes for Cloudy Gnus.
    
    * gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook): Don't
    install `gnus-sync-read' to any hooks by default.  It's buggy.  The
    user will have to run `gnus-sync-read' manually and wait for Cloudy
    Gnus.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ec583a0..a89bd49 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2011-03-11  Teodor Zlatanov  <[email protected]>
+
+	* gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook): Don't
+	install `gnus-sync-read' to any hooks by default.  It's buggy.  The
+	user will have to run `gnus-sync-read' manually and wait for Cloudy
+	Gnus.
+
 2011-03-11  Julien Danjou  <[email protected]>
 
 	* mm-uu.el (mm-uu-type-alist): Add support for diff starting with "===
diff --git a/lisp/gnus-sync.el b/lisp/gnus-sync.el
index 892b10a..fbdacdd 100644
--- a/lisp/gnus-sync.el
+++ b/lisp/gnus-sync.el
@@ -25,7 +25,8 @@
 ;; This is the gnus-sync.el package.
 
 ;; It's due for a rewrite using gnus-after-set-mark-hook and
-;; gnus-before-update-mark-hook.  Until then please consider it
+;; gnus-before-update-mark-hook, and my plan is to do this once No
+;; Gnus development is done.  Until then please consider it
 ;; experimental.
 
 ;; Put this in your startup file (~/.gnus.el for instance)
@@ -42,7 +43,8 @@
 
 ;; TODO:
 
-;; - after gnus-sync-read, the message counts are wrong
+;; - after gnus-sync-read, the message counts are wrong.  So it's not
+;;   run automatically, you have to call it with M-x gnus-sync-read
 
 ;; - use gnus-after-set-mark-hook and gnus-before-update-mark-hook to
 ;;   catch the mark updates
@@ -220,13 +222,13 @@ synchronized, I believe).  Also see `gnus-variable-list'."
   "Install the sync hooks."
   (interactive)
   ;; (add-hook 'gnus-get-new-news-hook 'gnus-sync-read)
-  (add-hook 'gnus-save-newsrc-hook 'gnus-sync-save)
-  (add-hook 'gnus-read-newsrc-el-hook 'gnus-sync-read))
+  ;; (add-hook 'gnus-read-newsrc-el-hook 'gnus-sync-read)
+  (add-hook 'gnus-save-newsrc-hook 'gnus-sync-save))
 
 (defun gnus-sync-unload-hook ()
   "Uninstall the sync hooks."
   (interactive)
-  ;; (remove-hook 'gnus-get-new-news-hook 'gnus-sync-read)
+  (remove-hook 'gnus-get-new-news-hook 'gnus-sync-read)
   (remove-hook 'gnus-save-newsrc-hook 'gnus-sync-save)
   (remove-hook 'gnus-read-newsrc-el-hook 'gnus-sync-read))
 

-----------------------------------------------------------------------
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-sync.el |   12 +++++++-----
 2 files changed, 14 insertions(+), 5 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.