[gnus git] branch master updated: n0-12-13-gb1bd45c

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  b1bd45c45d95b14ac041e82fdb8e23d3b0386564 (commit)
       via  c308bbab173f3b6b91faaa922e1bda02d97edd21 (commit)
       via  8f7e746a85328799c0f2075fb542567cd8729a8c (commit)
      from  5a261cd1d6bb7fdf436d81f3aea7eac9bd58787a (commit)


- Log -----------------------------------------------------------------
commit b1bd45c45d95b14ac041e82fdb8e23d3b0386564
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 21 15:44:45 2011 -0800

    Always restart the date timer so that user changes to the frequency is respected.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 01bc86a..0b890be 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,8 @@
 2011-02-21  Lars Ingebrigtsen  <[email protected]>
 
 	* gnus-art.el (gnus-article-update-date-headers): Doc fix.
+	(gnus-article-setup-buffer): Always restart the date timer so that user
+	changes to the frequency is respected.
 
 	* nnimap.el (nnimap-open-connection-1): auth-source expects strings as
 	port numbers, so make sure it gets that if nnimap-server-port is
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index f818228..2a36c43 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -4505,13 +4505,10 @@ commands:
 	(setq gnus-summary-buffer
 	      (gnus-summary-buffer-name gnus-newsgroup-name))
 	(gnus-summary-set-local-parameters gnus-newsgroup-name)
-	(cond
-	 ((and gnus-article-update-date-headers
-	       (not article-lapsed-timer))
+	(when article-lapsed-timer
+	  (gnus-stop-date-timer))
+	(when gnus-article-update-date-headers
 	  (gnus-start-date-timer gnus-article-update-date-headers))
-	 ((and (not gnus-article-update-date-headers)
-	       article-lapsed-timer)
-	  (gnus-stop-date-timer)))
 	(current-buffer)))))
 
 ;; Set article window start at LINE, where LINE is the number of lines

commit c308bbab173f3b6b91faaa922e1bda02d97edd21
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 21 15:41:50 2011 -0800

    * gnus.texi (Article Date): Clarify gnus-article-update-date-headers.

diff --git a/texi/ChangeLog b/texi/ChangeLog
index ec1eb16..fd47032 100644
--- a/texi/ChangeLog
+++ b/texi/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-21  Lars Ingebrigtsen  <[email protected]>
+
+	* gnus.texi (Article Date): Clarify gnus-article-update-date-headers.
+
 2011-02-20  Lars Ingebrigtsen  <[email protected]>
 
 	* gnus.texi (Window Layout): Document layout names.
diff --git a/texi/gnus.texi b/texi/gnus.texi
index 66dd586..856d41d 100644
--- a/texi/gnus.texi
+++ b/texi/gnus.texi
@@ -9502,8 +9502,11 @@ Say how much time has elapsed between the article was posted and now
 Date: 6 weeks, 4 days, 1 hour, 3 minutes, 8 seconds ago
 @end example
 
-This line is updated continually by default.  If you wish to switch
-that off, say:
+This line is updated continually by default.  The frequency (in
+seconds) is controlled by the @code{gnus-article-update-date-headers}
+variable.
+
+If you wish to switch updating off, say:
 
 @vindex gnus-article-update-date-headers
 @lisp

commit 8f7e746a85328799c0f2075fb542567cd8729a8c
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 21 15:39:25 2011 -0800

    * gnus-art.el (gnus-article-update-date-headers): Doc fix.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7981083..01bc86a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
 2011-02-21  Lars Ingebrigtsen  <[email protected]>
 
+	* gnus-art.el (gnus-article-update-date-headers): Doc fix.
+
 	* nnimap.el (nnimap-open-connection-1): auth-source expects strings as
 	port numbers, so make sure it gets that if nnimap-server-port is
 	explicit.
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 19eee78..f818228 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -1040,7 +1040,7 @@ Some of these headers are updated automatically.  See
 	  (item :tag "User-defined" :value 'user-defined)))
 
 (defcustom gnus-article-update-date-headers 1
-  "How often to update the date header.
+  "A number that says how often to update the date header (in seconds).
 If nil, don't update it at all."
   :version "24.1"
   :group 'gnus-article-headers

-----------------------------------------------------------------------
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   |    4 ++++
 lisp/gnus-art.el |   11 ++++-------
 texi/ChangeLog   |    4 ++++
 texi/gnus.texi   |    7 +++++--
 4 files changed, 17 insertions(+), 9 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.