diff options
| author | Gnus developers | 2012-06-11 22:35:02 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2012-06-11 22:35:02 +0000 |
| commit | 71cca84d57cd7b90c2cb9040fc703cdbe78e024c (patch) | |
| tree | 237655075b3ac71985cce9629789d02d4ef1ea53 | |
| parent | 09e06855caeb0ca4fe201c39264a5fc1463da3ab (diff) | |
| download | emacs-71cca84d57cd7b90c2cb9040fc703cdbe78e024c.tar.gz emacs-71cca84d57cd7b90c2cb9040fc703cdbe78e024c.zip | |
Merge bugfixes done in Gnus trunk
Those changes fix only the bugs having appeared in the bug list.
Many other Gnus changes not yet merged to Emacs are in:
ftp://ftp.jpl.org/pub/tmp/MaGnus-to-Emacs.patch
(or http://www.jpl.org/ftp/pub/tmp/MaGnus-to-Emacs.patch)
2012-06-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus.texi (Group Timestamp): Mention where to find documentation for
the `gnus-tmp-' variables (bug#11601).
2012-04-14 Wolfgang Jenkner <wjenkner@inode.at>
* gnus-agent.el (gnus-agent-retrieve-headers): Recalculate the range of
articles when fetch-old is non-nil (bug#11370).
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 5 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-agent.el | 17 |
4 files changed, 24 insertions, 8 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 37ad89dfacb..1026215a46b 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-06-11 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * gnus.texi (Group Timestamp): Mention where to find documentation for | ||
| 4 | the `gnus-tmp-' variables (bug#11601). | ||
| 5 | |||
| 1 | 2012-06-11 Michael Albinus <michael.albinus@gmx.de> | 6 | 2012-06-11 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | Sync with Tramp 2.2.6-pre. | 8 | Sync with Tramp 2.2.6-pre. |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index b0839906df5..71a06d4461a 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -4588,6 +4588,11 @@ trick: | |||
| 4588 | ""))) | 4588 | ""))) |
| 4589 | @end lisp | 4589 | @end lisp |
| 4590 | 4590 | ||
| 4591 | To see what variables are dynamically bound (like | ||
| 4592 | @code{gnus-tmp-group}), you have to look at the source code. The | ||
| 4593 | variable names aren't guaranteed to be stable over Gnus versions, | ||
| 4594 | either. | ||
| 4595 | |||
| 4591 | 4596 | ||
| 4592 | @node File Commands | 4597 | @node File Commands |
| 4593 | @subsection File Commands | 4598 | @subsection File Commands |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index aefb2a61683..b86b4a76e30 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-04-14 Wolfgang Jenkner <wjenkner@inode.at> | ||
| 2 | |||
| 3 | * gnus-agent.el (gnus-agent-retrieve-headers): Recalculate the range of | ||
| 4 | articles when fetch-old is non-nil (bug#11370). | ||
| 5 | |||
| 1 | 2012-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2012-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * gnus-group.el (gnus-group-get-new-news): Respect | 8 | * gnus-group.el (gnus-group-get-new-news): Respect |
diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el index bbd3c95265d..0d469b174bf 100644 --- a/lisp/gnus/gnus-agent.el +++ b/lisp/gnus/gnus-agent.el | |||
| @@ -3742,6 +3742,13 @@ has been fetched." | |||
| 3742 | (gnus-make-directory (nnheader-translate-file-chars | 3742 | (gnus-make-directory (nnheader-translate-file-chars |
| 3743 | (file-name-directory file) t)) | 3743 | (file-name-directory file) t)) |
| 3744 | 3744 | ||
| 3745 | (when fetch-old | ||
| 3746 | (setq articles (gnus-uncompress-range | ||
| 3747 | (cons (if (numberp fetch-old) | ||
| 3748 | (max 1 (- (car articles) fetch-old)) | ||
| 3749 | 1) | ||
| 3750 | (car (last articles)))))) | ||
| 3751 | |||
| 3745 | ;; Populate temp buffer with known headers | 3752 | ;; Populate temp buffer with known headers |
| 3746 | (when (file-exists-p file) | 3753 | (when (file-exists-p file) |
| 3747 | (with-current-buffer gnus-agent-overview-buffer | 3754 | (with-current-buffer gnus-agent-overview-buffer |
| @@ -3778,12 +3785,7 @@ has been fetched." | |||
| 3778 | (set-buffer nntp-server-buffer) | 3785 | (set-buffer nntp-server-buffer) |
| 3779 | (let* ((fetched-articles (list nil)) | 3786 | (let* ((fetched-articles (list nil)) |
| 3780 | (tail-fetched-articles fetched-articles) | 3787 | (tail-fetched-articles fetched-articles) |
| 3781 | (min (cond ((numberp fetch-old) | 3788 | (min (car articles)) |
| 3782 | (max 1 (- (car articles) fetch-old))) | ||
| 3783 | (fetch-old | ||
| 3784 | 1) | ||
| 3785 | (t | ||
| 3786 | (car articles)))) | ||
| 3787 | (max (car (last articles)))) | 3789 | (max (car (last articles)))) |
| 3788 | 3790 | ||
| 3789 | ;; Get the list of articles that were fetched | 3791 | ;; Get the list of articles that were fetched |
| @@ -3858,8 +3860,7 @@ has been fetched." | |||
| 3858 | (not (numberp fetch-old))) | 3860 | (not (numberp fetch-old))) |
| 3859 | t ; Don't remove anything. | 3861 | t ; Don't remove anything. |
| 3860 | (nnheader-nov-delete-outside-range | 3862 | (nnheader-nov-delete-outside-range |
| 3861 | (if fetch-old (max 1 (- (car articles) fetch-old)) | 3863 | (car articles) |
| 3862 | (car articles)) | ||
| 3863 | (car (last articles))) | 3864 | (car (last articles))) |
| 3864 | t) | 3865 | t) |
| 3865 | 3866 | ||